In cases where the API method has come across an error in the process, an error message will appear with the key "success" set to false.
Unlike empty results which will still return "success" true, but with an empty array.
{
"aerocrs": {
"success": false,
"details": {
"detail": [
"Wrong credentials"
]
}
}
}
<aerocrs>
<success>False</success>
<details>
<detail>Wrong credentials</detail>
</details>
</aerocrs>
{
"aerocrs": {
"success": false,
"details": {
"detail": [
"Wrong destinations input"
]
}
}
}
<aerocrs>
<success>False</success>
<details>
<detail>Wrong destination input</detail>
</details>
</aerocrs>