21.8.1.1 Response JSON Parameters

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

Table 21-24 POST JSON Response

Name Type Description
errorMessage STRING

Details of the import process.

For example:Invalid migration code or code doesnt exists.

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

Status of the migration

  • Success
  • Failed
  • In Process
  • Saved

Table 21-25 Possible Status Codes

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

Response JSON Sample

 Success:200

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

Error: 400

{
    "errorMessage": "Invalid migration code or code doesnt exists",
    "statusCode": "INVALID_INPUT",
    "status": "FAILED"
}