...
Name | Type | Example | Mandatory | Max Length | Description |
shopId | whole number | 95123 | n/a | The shop this booking is made for. | |
transportSolutionId | whole number | 1 | n/a | A transport solution is a construct that contains multiple freight products. Its purpose is to group what freight products a customer has access to. | |
countryCode | string | NO | 3 | Country code, according to ISO 3166-1. | |
postalName | string | OSLO | 35 | Also known as postalName. | |
zipCode | string | 0155 | 9 | Also known as postal code. | |
addressstreetAddress | string | Storgaten 11A H0202 | 105 | Combined address information with the following format:
| |
coAddress | String | Hansen | 255 | Care of address |
Eksempel request
Code Block |
---|
curl -X POST \ https://staging-ws.di.no/ws/json/freightcoverage/v-1/servicepoints \ H 'Authorization: Bearer Token' \ H 'Content-Type: application/json' \ d '{ "shopId" : 1, "transportSolutionId":1, "streetAddress":"Nedre skøyen vei 18a", "zipCode":"0276", "postalName":"oslo", “countryCode”:”NO” }' |
...