Waybill settings
The waybill number stored by the last download, ready for the next document in the sequence.
This operation returns the waybill number stored when a waybill was last downloaded. A number consisting only of digits is incremented before being stored, so what comes back is the number the next waybill should carry.
An account that has never downloaded a waybill has no stored number, and the call returns error 201 rather than a default.
API actions
API base path: /track/waybill/settings.
Return the waybill number stored by the last track/waybill/download call, already incremented if it was all digits.
Returns error 201 when the account has never downloaded a waybill.
Callable with an empty body. Also accepts GET.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
The stored waybill number
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
POST /v2/track/waybill/settings/read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"success": true,
"value": {
"number": "text"
}
}Errors
These errors come in addition to the general error codes:
201 - Not found in the database, when the user has never downloaded a waybill.
Last updated
Was this helpful?