Creates and update route schedules
Access to this method is authorized by the Manage routing plans operation.
When creating a route, the internal identifier shall not be supplied: the caller shall only specify the mandatory request parameters and the ones for which a value is to be set. When editing an existing route, the internal identifier must be supplied alongside with the parameters whose value shall be changed: all other properties for which no request parameter is specified shall remain unchanged, with the exception of:
For the above properties, if a value has been set then it must be supplied whenever updating the route, else the value will be cleared. If a call is made omitting the internal identifier and specifying characteristics of a route that already exists, a duplicate route will be created. The same applies to the creation of segments within a route.
In addition to the standard error codes described in Response codes, the IPS API returns a 400 error code for specific error cases, with additional error information as listed in the table below.
| Code | Description |
|---|---|
| 1 | Generic error |
| 2 | Mandatory value is missing |
| 3 | The request contains inconsistent data |
| 4 | Provided value has incorrect format |
| 5 | Value does not exists in IPS DB or is marked as invalid |
Success
Bad Request
{- "RouteId": "2DEEE2CF-734B-4E0C-B888-605BDD9FE783",
- "OriginOfficeFCd": "CHZRHB",
- "DestOfficeFCd": "NLAMSA",
- "MailCategories": "AB",
- "MailSubclassFCds": [
- "UA",
- "UL",
- "UM",
- "UN"
], - "OperatingDays": "MTWTFSS",
- "ValidFrom": "2025-07-01",
- "ValidTo": "2025-12-31",
- "InvalidFrom": "2025-09-10",
- "InvalidTo": "2025-09-15",
- "WeightLimit": 2000,
- "AlternateInd": 0,
- "DomesticInd": 0,
- "SuspendedInd": 0,
- "CN70Template": "CN70_R1",
- "PrintCN70": false,
- "ReceptacleTypes": [
- "BG",
- "CN"
], - "TransportSegments": [
- {
- "SequenceNo": 1,
- "SegmentId": "30ef05a5-1da3-46ad-b778-9468f3c31292",
- "TransportTypeCd": "PL",
- "CarrierCd": "LX",
- "SegmentNo": 721,
- "BillingCarrierCd": "string",
- "TransportContractCd": "string",
- "OriginLocationFCd": "CHZRH",
- "OriginLHOT": 120,
- "DestLocationFCd": "NLAMS",
- "DestLHOT": 180,
- "OperatingDays": "M-W-T--",
- "DepartureTime": "11:30",
- "ArrivalTime": "16:30",
- "DaysAfter": 0,
- "ValidFrom": "2025-07-01",
- "ValidTo": "2025-12-31",
- "WeightLimit": 2000,
- "DoNotPrintDelivBill": true,
- "SuspendedInd": 0,
- "CN70Template": "CN70_R1",
- "PrintCN70": false,
- "PostalTransitInd": false,
- "PostalTransitOfficeFCd": "DEFRAA",
- "PreSegmentDelay": "00:02:00"
}
]
}{- "Routes": [
- {
- "RouteId": "2DEEE2CF-734B-4E0C-B888-605BDD9FE783",
- "OriginOfficeFCd": "CHZRHB",
- "DestOfficeFCd": "NLAMSA",
- "MailCategories": "AB",
- "MailSubclassFCds": [
- "UA"
], - "OperatingDays": "M-W-T--",
- "ValidFrom": "2025-07-01",
- "ValidTo": "2025-12-31",
- "InvalidFrom": "2025-09-10",
- "InvalidTo": "2025-09-15",
- "WeightLimit": 2000,
- "AlternateInd": 0,
- "DomesticInd": 0,
- "SuspendedInd": 0,
- "CN70Template": "CN70_R1",
- "PrintCN70": false,
- "ReceptacleTypes": [
- "BG"
], - "TransportSegments": [
- {
- "SequenceNo": 1,
- "SegmentId": "30ef05a5-1da3-46ad-b778-9468f3c31292",
- "TransportTypeCd": "PL",
- "CarrierCd": "LX",
- "SegmentNo": 721,
- "BillingCarrierCd": "string",
- "TransportContractCd": "string",
- "OriginLocationFCd": "CHZRH",
- "OriginLHOT": 120,
- "DestLocationFCd": "NLAMS",
- "DestLHOT": 180,
- "OperatingDays": "M-W-T--",
- "DepartureTime": "11:30",
- "ArrivalTime": "16:30",
- "DaysAfter": 0,
- "ValidFrom": "2025-07-01",
- "ValidTo": "2025-12-31",
- "WeightLimit": 2000,
- "DoNotPrintDelivBill": true,
- "SuspendedInd": 0,
- "CN70Template": "CN70_R1",
- "PrintCN70": false,
- "PostalTransitInd": false,
- "PostalTransitOfficeFCd": "DEFRAA",
- "PreSegmentDelay": "00:02:00"
}
]
}
]
}Retrieves route schedules.
Access to this method is authorized by the Get routing plans operation.
Success
Bad Request
{- "Routes": [
- {
- "RouteId": "2DEEE2CF-734B-4E0C-B888-605BDD9FE783",
- "OriginOfficeFCd": "CHZRHB",
- "DestOfficeFCd": "NLAMSA",
- "MailCategories": "AB",
- "MailSubclassFCds": [
- "UA"
], - "OperatingDays": "M-W-T--",
- "ValidFrom": "2025-07-01",
- "ValidTo": "2025-12-31",
- "InvalidFrom": "2025-09-10",
- "InvalidTo": "2025-09-15",
- "WeightLimit": 2000,
- "AlternateInd": 0,
- "DomesticInd": 0,
- "SuspendedInd": 0,
- "CN70Template": "CN70_R1",
- "PrintCN70": false,
- "ReceptacleTypes": [
- "BG"
], - "TransportSegments": [
- {
- "SequenceNo": 1,
- "SegmentId": "30ef05a5-1da3-46ad-b778-9468f3c31292",
- "TransportTypeCd": "PL",
- "CarrierCd": "LX",
- "SegmentNo": 721,
- "BillingCarrierCd": "string",
- "TransportContractCd": "string",
- "OriginLocationFCd": "CHZRH",
- "OriginLHOT": 120,
- "DestLocationFCd": "NLAMS",
- "DestLHOT": 180,
- "OperatingDays": "M-W-T--",
- "DepartureTime": "11:30",
- "ArrivalTime": "16:30",
- "DaysAfter": 0,
- "ValidFrom": "2025-07-01",
- "ValidTo": "2025-12-31",
- "WeightLimit": 2000,
- "DoNotPrintDelivBill": true,
- "SuspendedInd": 0,
- "CN70Template": "CN70_R1",
- "PrintCN70": false,
- "PostalTransitInd": false,
- "PostalTransitOfficeFCd": "DEFRAA",
- "PreSegmentDelay": "00:02:00"
}
]
}
]
}Delete route schedule
Access to this method is authorized by the Manage routing plans operation.
In addition to the standard error codes described in Response codes, the IPS API returns a 400 error code for specific error cases, with additional error information as listed in the table below.
| Code | Description |
|---|---|
| 1 | Generic error |
| 2 | Invalid route identifier |
| 3 | Route not found |
| 4 | Failed to delete route |
Success
Bad request
Route schedule not found
Failed to delete
{- "Errors": [
- {
- "Code": 1,
- "Message": "string"
}
]
}