34.9.1.1 Response JSON Parameters
This section provides the list of parameters in the JSON response.
Table 34-27 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
|
Table 34-28 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" } Error :500 { "errorMessage": "Internal Server Error", "statusCode": "INTERNAL_SERVER_ERROR", "status": "FAILED" }