Response JSON Parameters - Re-Export API

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

Sample Response
Success:200
{
"errorMessage":"", 
"statusCode": "EXPORT_OUTLINE_SAVED",
"status": "SUCCESS"
"migrationCode":"migrationCode"//migrationcode passed
}
Error: 400
{
"errorMessage": "See below list",
"statusCode": "INVALID_INPUT",
"status": "FAILED"
"migrationCode":"migrationCode"//migrationcode passed
}
{
"errorMessage":"Code does not exist",   
"statusCode": "INVALID_INPUT",
"status": "FAILED"
}
{
"errorMessage":"Export in progress",
"statusCode": "EXPORT_INPROGRESS",  
"status": "INPROGRESS"
}
Error :500
{
"errorMessage": "Outline Save Failed for migrationCode",
"statusCode": "OUTLINE_SAVE_FAILED",
"status": "FAILED"
migrationCode":"migrationCode" //migrationcode passed
}
List of error messages for Invalid_input status code:
  • Source Migration code not received in input request.
  • Source Migration Code doesn't exist.
  • New Migration code not received in input request.
  • 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.
  • Input Validation Failed.
  • The existing migration code is in SAVED/FAILED status, can't copy.