21.7.1.2 Response JSON Parameters

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

Table 21-21 POST JSON Response

Name Type Description
errorMessage STRING

Details of the error occured.

For example: Migration code not received in input request.

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

Status of the migration

  • Success
  • Failed

Table 21-22 Possible Status Codes

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

Response JSON Sample

Success:200

{

    "migrationCode": "PublicExport005"

    "errorMessage": "",

    "statusCode": "IMPORT_OUTLINE_SAVED",

    "status": "SUCCESS"

}

Error: 400

{
    "migrationCode": "PublicExport099"

    "errorMessage": "Migration code not received in input request",

    "statusCode": "INVALID_INPUT",

    "status": "FAILED",

}