Data Integration
- Data Integration
- All Products
/public/core/v3/checkout
Field
| Type
| Required
| Description
|
---|---|---|---|
objects
| List<Object>
| Yes
| Contains a list of all the objects to be checked out.
|
id
| String
| Yes, if path and type are not included
| Include in the objects object.
ID of the object.
|
path
| List<String>
| Yes, if ID is not included
| Include in the objects object.
Full path of the object to be checked out.
|
type
| String
| Yes, if ID is not included
| Include in the objects object.
Type of asset to be checked out.
Can be one of the following types:
|
includeContainerAssets
| Boolean
| -
| Include in the objects object.
Whether all objects in a project or folder are included in the check-in. Use one of the following values:
Default is false.
|
Field
| Type
| Description
|
---|---|---|
Id
| String
| ID for the checkout operation.
|
status
| Object
| Status of the checkout operation.
|
state
| String
| Returned in the status object.
Initial state of the checkout operation. For a successful request, value will always be NOT_STARTED.
To see the status after the operation begins, use the
Getting the status of a source control operation resource.
|
message
| String
| Returned in the status object
Descriptive status message for the checkout operation.
|
POST <baseApiUrl>/public/core/v3/checkout Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "id": "ejZY66c19YUccBdbGwKG4P", "includeContainerAssets": true } ] }
POST <baseApiUrl>/public/core/v3/checkout Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "id": "iIVBNZSpUKFg4N6g2PKUox", "includeContainerAssets": false }, { "id": "l7bgB85m5oGiXObDxwnvK9" }, { "id": "1MW0GDAE1sFgnvWkvom7mK" } ] }
POST <baseApiUrl>/public/core/v3/checkout Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "path": [ "Default", "Test_Mapping" ], "type": "DTEMPLATE" } ] }
POST <baseApiUrl>/public/core/v3/checkout Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "objects": [ { "id": "3iWWHkLbM2giVppBmJmZgV" } ] }
{ "id": "awRrziMMWXol7i42aTm1ih", "status": { "state": "NOT_STARTED", "message": "Initialized" } }