34.3.1.1 Response JSON Parameters

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

Table 34-9 POST JSON Response

Name Type Description
errorMessage STRING

Details of the export process.

For example: Migration code does not exist

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 34-10 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": "Migration code does not exist", "statusCode": "INVALID_INPUT", "status": "FAILED" } Error :500 { "errorMessage": "Internal Server Error", "statusCode": "INTERNAL_SERVER_ERROR", "status": "FAILED" }