21.6.1.1 Response JSON Parameters

This section provides the list of parameters in the JSON Response.

Table 21-18 POST JSON Response

Name Type Description
errorMessage STRING

Details of the import process.

For example: Object Migration Triggered.

statusCode STRING It indicates the status code of the service. For example: TRIGGERED_SUCCESS
status STRING

Status of the migration:

  • Success
  • Failed
  • In Process

Table 21-19 Possible Status Codes

Status Code Description
Success:200 Success
Error:400 Invalid inputs
Error:500 Internal server error

Response JSON Sample

Success:200

{
    "errorMessage": "Object Migration Triggered",
    "statusCode": "TRIGGERED_SUCCESS",
    "status": "SUCCESS"
}

Error: 400

{
    "errorMessage": "Import already completed",
    "statusCode": "IMPORT_ALREADY_COMPLETE",
    "status": "FAILED"
}