API

Logistics APIs

PUT logistics/tracking-number-series/{trackingNumberSeriesId}

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.

Format:
1
<TrackingNumberSeries
TrackingNumberSeries

This field is optional.

>
2
     <Type
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>
3
     <Description
Description

Tracking number series description

This field is optional.

>
{String}</Description>
4
     <TrackingUri
TrackingUri

URL to shipping providers tracking system

This field is optional.

>
{String}</TrackingUri>
5
     <Modulus
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>
6
     <Prefix
Prefix

Prefix when creating the tracking number

This field is optional.

>
{String}</Prefix>
7
     <Suffix
Suffix

To be used as suffix when creating the tracking number

This field is optional.

>
{String}</Suffix>
8
     <WarningRole
WarningRole

This field is optional.

>
9
          <RoleId
RoleId

Role identifier

Minimum value: 100000

This field is optional.

>
{Integer}</RoleId>
10
     </WarningRole>
11
     <Range
Range

This field is optional.

>
12
          <StartTrackingNumber
StartTrackingNumber

First tracking number in the series

Minimum value: 0

This field is optional.

>
{Long}</StartTrackingNumber>
13
          <EndTrackingNumber
EndTrackingNumber

Last tracking number in the series

Minimum value: 0

This field is optional.

>
{Long}</EndTrackingNumber>
14
          <WarningTrackingNumber
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>
15
     </Range>
16
     <NextRange
NextRange

This field is optional.

>
17
          <StartTrackingNumber
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>
18
          <EndTrackingNumber
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>
19
          <WarningTrackingNumber
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>
20
     </NextRange>
21
</TrackingNumberSeries>
1
{
2
     "trackingNumberSeries
TrackingNumberSeries

This field is optional.

":
{
3
          "type
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}",
4
          "description
Description

Tracking number series description

This field is optional.

":
"{String}",
5
          "trackingUri
TrackingUri

URL to shipping providers tracking system

This field is optional.

":
"{String}",
6
          "modulus
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}",
7
          "prefix
Prefix

Prefix when creating the tracking number

This field is optional.

":
"{String}",
8
          "suffix
Suffix

To be used as suffix when creating the tracking number

This field is optional.

":
"{String}",
9
          "warningRole
WarningRole

This field is optional.

":
{
10
               "roleId
RoleId

Role identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
11
          },
12
          "range
Range

This field is optional.

":
{
13
               "startTrackingNumber
StartTrackingNumber

First tracking number in the series

Minimum value: 0

This field is optional.

":
"{Long}",
14
               "endTrackingNumber
EndTrackingNumber

Last tracking number in the series

Minimum value: 0

This field is optional.

":
"{Long}",
15
               "warningTrackingNumber
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}"
16
          },
17
          "nextRange
NextRange

This field is optional.

":
{
18
               "startTrackingNumber
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}",
19
               "endTrackingNumber
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}",
20
               "warningTrackingNumber
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}"
21
          }
22
     }
23
}

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.

Format:
1
1

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.