Logistics APIs
Update tracking number
HTTP method | PUT |
URI | https://api.rambase.net/logistics/tracking-number-series/{trackingNumberSeriesId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {trackingNumberSeriesId} |
Tracking number series identifier
Integer, minimum 100000 |
Successful HTTP status code | 200 |
API resource identifier | 4085, version 10 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
TrackingNumberSeries
This field is optional.
>Type
Tells if this serial of tracking number is to be allocated to each package ("PACKAGE") or for at total shipment ("SHIPMENT")
Applicable domain values can be found here
This field is optional.
>{String}</Type>Description
Tracking number series description
This field is optional.
>{String}</Description>TrackingUri
URL to shipping providers tracking system
This field is optional.
>{String}</TrackingUri>Modulus
The number by which a logarithm to one base is multiplied to give the corresponding logarithm to another base
Applicable domain values can be found here
This field is optional.
>{String}</Modulus>Prefix
Prefix when creating the tracking number
This field is optional.
>{String}</Prefix>Suffix
To be used as suffix when creating the tracking number
This field is optional.
>{String}</Suffix>WarningRole
This field is optional.
>RoleId
Role identifier
Minimum value: 100000
This field is optional.
>{Integer}</RoleId>Range
This field is optional.
>StartTrackingNumber
First tracking number in the series
Minimum value: 0
This field is optional.
>{Long}</StartTrackingNumber>EndTrackingNumber
Last tracking number in the series
Minimum value: 0
This field is optional.
>{Long}</EndTrackingNumber>WarningTrackingNumber
When this tracking number is reached, a warning will be sent to users that belongs to a specific role
Minimum value: 0
This field is optional.
>{Long}</WarningTrackingNumber>NextRange
This field is optional.
>StartTrackingNumber
First tracking number in next range of tracking numbers, which will be activated when the current range of tracking number series is ended
Minimum value: 0
This field is optional.
>{Long}</StartTrackingNumber>EndTrackingNumber
Last tracking number in next range of tracking numbers, which will be activated when the current range of tracking number series is ended
Minimum value: 0
This field is optional.
>{Long}</EndTrackingNumber>WarningTrackingNumber
Warning tracking number in next range of tracking numbers, which will be activated when the current range of tracking number series is ended
Minimum value: 0
This field is optional.
>{Long}</WarningTrackingNumber>TrackingNumberSeries
This field is optional.
": {Type
Tells if this serial of tracking number is to be allocated to each package ("PACKAGE") or for at total shipment ("SHIPMENT")
Applicable domain values can be found here
This field is optional.
": "{String}",Description
Tracking number series description
This field is optional.
": "{String}",TrackingUri
URL to shipping providers tracking system
This field is optional.
": "{String}",Modulus
The number by which a logarithm to one base is multiplied to give the corresponding logarithm to another base
Applicable domain values can be found here
This field is optional.
": "{String}",Prefix
Prefix when creating the tracking number
This field is optional.
": "{String}",Suffix
To be used as suffix when creating the tracking number
This field is optional.
": "{String}",WarningRole
This field is optional.
": {RoleId
Role identifier
Minimum value: 100000
This field is optional.
": "{Integer}"Range
This field is optional.
": {StartTrackingNumber
First tracking number in the series
Minimum value: 0
This field is optional.
": "{Long}",EndTrackingNumber
Last tracking number in the series
Minimum value: 0
This field is optional.
": "{Long}",WarningTrackingNumber
When this tracking number is reached, a warning will be sent to users that belongs to a specific role
Minimum value: 0
This field is optional.
": "{Long}"NextRange
This field is optional.
": {StartTrackingNumber
First tracking number in next range of tracking numbers, which will be activated when the current range of tracking number series is ended
Minimum value: 0
This field is optional.
": "{Long}",EndTrackingNumber
Last tracking number in next range of tracking numbers, which will be activated when the current range of tracking number series is ended
Minimum value: 0
This field is optional.
": "{Long}",WarningTrackingNumber
Warning tracking number in next range of tracking numbers, which will be activated when the current range of tracking number series is ended
Minimum value: 0
This field is optional.
": "{Long}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 100027 HTTP 400 | Missing mandatory parameter {0} |
Error 101358 HTTP 400 | Incremental method is mandatory for tracking number series |
Error 101549 HTTP 400 | Numbers in tracking number series cannot be negative |
Error 101548 HTTP 400 | End number must be higher than start number |
Error 101550 HTTP 400 | Warning tracking number must be a value between start number and end number |
Error 101547 HTTP 400 | The combination of that type is shipment and incremental method is that each package in a shipment will get a separate tracking number, is not valid. |