34.7.1.1 Response JSON Parameters

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

Table 34-21 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 34-22 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" } Error :500 { "errorMessage": "Internal Server Error", "statusCode": "INTERNAL_ERROR", "status": "FAILED" }