When a Status Code returns, such as in the example below, it is used to indicate the state of order insert.
{
"OrderId":1546,
"Error":0,
"StatusCode":3,
"OrderStatusCode":3
}
The Error value of “0” indicates that no error occurred when making the request, i.e., a successful request call. Then the StatusCode is needed to understand if the order update was correct. In the example a code of “3” indicates that a new estimate was inserted into the MoversSuite database.
The following table provides a list of possible Status Codes returned in the response of an order request.
StatusCode |
Description |
0 |
Existing order updated |
1 |
New order inserted |
2 |
Existing estimate updated |
3 |
New estimate inserted |
4 |
Order Information ignored |
5 |
An error occurred updating the database. Check the Third Party Application Error Management log for details. |