21.2.1.1 Response JSON Parameters

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

Table 21-6 POST JSON Response

Name Type Description
errorMessage STRING

Details of the export process.

For example: Export already completed.

statusCode STRING

It indicates the status code of the service.

For example: EXPORT_ALREADY_COMPLETE
status STRING

Status of the migration:

  • Success
  • Failed
  • In Process

Table 21-7 Possible Status Codes

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

Response JSON Samples

 Success:200

{
    "errorMessage": "",
    "statusCode": "TRIGGERED_SUCCESS",
    "status": "SUCCESS"
}

Error: 400

{
    "errorMessage": "Export already completed",
    "statusCode": "EXPORT_ALREADY_COMPLETE",
    "status": "FAILED"
}