B2B Gateway
- B2B Gateway
- All Products
/public/core/v3/fetchState
Field
| Type
| Required
| Description
|
---|---|---|---|
name
| String
| Name of the fetchState job. If blank, default is job-<currentTimeInMilliseconds>
| |
objects
| Collection <complex type>
| Yes
| Object IDs for the states to include in the object state package.
Informatica recommends that you include no more than 1000 objects in a package.
|
id
| String
| Yes
| Included in the objects object.
Global unique identifier for the object for which the state is requested. This can be a project, folder, or asset ID.
|
includeDependencies
| Boolean
| Included in the objects object.
Determines whether to include the dependent objects' states.
Default is True.
|
POST <baseApiUrl>/public/core/v3/fetchstate Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "name" : "fetchStateJob1", "objects" : [ { "id": "l7bgB85m5oGiXObDxwnvK9", "includeDependencies" : true }, { "id": "1MW0GDAE1sFgnvWkvom7mK", "includeDependencies" : false }, { "id": "iIVBNZSpUKFg4N6g2PKUox" } ] }
Field
| Type
| Description
|
---|---|---|
id
| String
| ID of the fetchState job.
|
createTime
| String
| Time object state package was created.
|
updateTime
| String
| Time object state package was last updated.
|
name
| String
| Name of the fetchState job.
|
startTime
| String
| Time the fetchState job was started.
|
endTime
| String
| Time the fetchState job ended.
|
status
| Complex type
| Status of the job.
|
state
| String
| Returned in the status object.
Status of the fetchState job, such as In Progress, Success, or Failed.
|
message
| String
| Returned in the status object.
Job status message.
|
objects
| Collection
| Collection of objects and object level status. Returns null if blank.
|
{ "id": "7evG9CokA1whk8ehF3opKM", "createTime": "2018-10-26T08:15:48.502Z", "updateTime": "2018-10-26T08:15:48.502Z", "name": "fetchStateJob1", "startTime": "2018-10-26T08:15:48.501Z", "endTime": null, "status": { "state": "IN_PROGRESS", "message": "In Progress" }, "objects": null }
{ "error": { "code": "MigrationSvc_034", "message": "User does not have required permissions.", "requestId": "2ataXVlgw3ydI1Yb2MA4sq" } }