Response JSON Parameters - Re-Import API
This section provides the list of parameters in the JSON Response.
Sample
Response
Success:200
{
"errorMessage": "",
"statusCode": "IMPORT_OUTLINE_SAVED",
"status": "SUCCESS"
"migrationCode":"migrationCode"//migrationcode passed
}
Error: 400
{
"errorMessage": "See below list",
"statusCode": "INVALID_INPUT",
"status": "FAILED"
migrationCode":"migrationcode" //migrationcode passed,"" in case not
passed
}
Error :500
{
"errorMessage": "Internal Server Error",
"statusCode": "INTERNAL_ERROR",
"status": "FAILED"
}
List of error messages for Invalid_input status
code:
- Existing Migration code not received in input request.
- Source Migration Code doesn't exist.
- New Migration code already exists.
- New Migration code length should be between 3 and 30. Alphanumeric with hyphen and underscore only are allowed. No special characters.
- Invalid/Missing OverWriteOptions
- Input Validation Failed.
- The existing migration code is in SAVED/FAILED status, can't copy.