Error messages

Cached API error response body example:

1
{
2
"status": "error",
3
"dataAvailable": false,
4
"requestId": "10ec7a52-8c59-11e6-a503-532190b26d0f",
5
"executionTimeInMs": 94,
6
"originalRequest": {
7
"searchPhrase": "20161012IEVWAW20161015WAWIEV",
8
"pointOfSale": ""
9
},
10
"errorMessage": "No point of sale provided"
11
}
Copied!

Flex API error response body example (application/json):

1
{
2
"status": "error",
3
"dataAvailable": false,
4
"requestId": "d4617c75-8c8b-11e6-a868-5d5f7099ab60",
5
"executionTimeInMs": 257,
6
"originalRequest": {
7
"searchPhrase": "20181201IEVWAW20181205WAWIEV",
8
"pointOfSale": ""
9
},
10
"errorMessage": "No point of sale provided"
11
}
Copied!

Flex API data is not available example:

1
{
2
"status": "success",
3
"dataAvailable": false,
4
"requestId": "c613adda-8c8b-11e6-9b1c-6fc042573b18",
5
"executionTimeInMs": 264,
6
"originalRequest": {
7
"searchPhrase": "20181201IEVWAW20181205WAWIEV",
8
"pointOfSale": "UA"
9
},
10
"errorMessage": "No cache records found in warehouse"
11
}
Copied!
Last modified 3yr ago