POST api/Price
Headerinformation Authorization Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (Key will be provided by Log:nett) Client URL http://example.com (A URL that sort of identifies where you’re using the APIs.)
Request Information
URI Parameters
None.
Body Parameters
PriceRequestName | Description | Type | Additional information |
---|---|---|---|
PriceRequestType |
Type of price request 0 = Egen prisliste 1 = Transportørens prisliste |
integer |
Required |
LocationId |
Type of price request |
string |
None. |
Suppliers |
Log:net supplier Id for getting prices from Bring, Postnord, Scheker etc. |
Collection of SupplierData |
None. |
FromZipCode |
From postal code |
string |
None. |
ToZipCode |
To postal code |
string |
Required |
CountryCode |
For International shipments Country Codes are ISO-3166-1-alpha-2 |
string |
None. |
ETDDate |
Estimated time of departure |
date |
None. |
ETADate |
Estimated time of arrival |
date |
None. |
Currency |
Currency |
string |
None. |
Pallets |
Number of pallets in shipment |
integer |
None. |
LoadingMeter |
Shipment loadingmeter |
decimal number |
None. |
FBWeight |
Shipment freight calculation weight |
decimal number |
None. |
Km |
Distance in kilometers |
decimal number |
None. |
ADRWeight |
Weight of Dangerous goods |
decimal number |
None. |
FreightZone |
Freightzone |
string |
None. |
PriceAdjustments |
Price adjustments. Adjusts the price (w/o VAT) returned. |
string |
None. |
PriceAgreementCode |
Log:nett Price group |
string |
None. |
TypeOfGoods |
Schenker specific Goodstype must be G=Regular goods(default) F=Dangerous goods T=Heat controlled goods V = Volume goods E = Return of packaging |
string |
None. |
PaymentCode |
Schenker specific Paymentcode must be 0=Payed by consignee 3=Payed by shipper(default) 4=Giro service 5=Payed by other |
string |
None. |
TodConditionCode |
Schenker specific Either EXW or DDP |
string |
None. |
AdditionalInformation | AdditionalInformation |
None. |
|
Details |
Shipment details |
Collection of DetailsInformation |
Required |
Request Formats
application/json, text/json
{ "PriceRequestType": 1, "LocationId": "sample string 2", "Suppliers": [ { "Supplier": 1, "Product": "sample string 2", "CustomerNumber": "sample string 3", "AdditionalProducts": [ "sample string 1", "sample string 2" ] }, { "Supplier": 1, "Product": "sample string 2", "CustomerNumber": "sample string 3", "AdditionalProducts": [ "sample string 1", "sample string 2" ] } ], "FromZipCode": "sample string 3", "ToZipCode": "sample string 4", "CountryCode": "sample string 5", "ETDDate": "2025-04-29T17:26:24.1950776+02:00", "ETADate": "2025-04-29T17:26:24.1950776+02:00", "Currency": "sample string 8", "Pallets": 9, "LoadingMeter": 10.1, "FBWeight": 11.1, "Km": 12.1, "ADRWeight": 13.1, "FreightZone": "sample string 14", "PriceAdjustments": "sample string 15", "PriceAgreementCode": "sample string 16", "TypeOfGoods": "sample string 17", "PaymentCode": "sample string 18", "TodConditionCode": "sample string 19", "AdditionalInformation": { "Crane": true, "Hatch": true, "Insurance": true, "Dangerous": true, "Hot": true }, "Details": [ { "NumberOfPackages": 1, "PackageWeight": 2.1, "PackageVolume": 3.1, "PackageHeight": 4, "PackageWidth": 5, "PackageLength": 6, "LoadingMeter": 7.1 }, { "NumberOfPackages": 1, "PackageWeight": 2.1, "PackageVolume": 3.1, "PackageHeight": 4, "PackageWidth": 5, "PackageLength": 6, "LoadingMeter": 7.1 } ] }
application/xml, text/xml
<PriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TN.Services.Api.Price.Models"> <ADRWeight>13.1</ADRWeight> <AdditionalInformation> <Crane>true</Crane> <Dangerous>true</Dangerous> <Hatch>true</Hatch> <Hot>true</Hot> <Insurance>true</Insurance> </AdditionalInformation> <CountryCode>sample string 5</CountryCode> <Currency>sample string 8</Currency> <Details> <DetailsInformation> <LoadingMeter>7.1</LoadingMeter> <NumberOfPackages>1</NumberOfPackages> <PackageHeight>4</PackageHeight> <PackageLength>6</PackageLength> <PackageVolume>3.1</PackageVolume> <PackageWeight>2.1</PackageWeight> <PackageWidth>5</PackageWidth> </DetailsInformation> <DetailsInformation> <LoadingMeter>7.1</LoadingMeter> <NumberOfPackages>1</NumberOfPackages> <PackageHeight>4</PackageHeight> <PackageLength>6</PackageLength> <PackageVolume>3.1</PackageVolume> <PackageWeight>2.1</PackageWeight> <PackageWidth>5</PackageWidth> </DetailsInformation> </Details> <ETADate>2025-04-29T17:26:24.1950776+02:00</ETADate> <ETDDate>2025-04-29T17:26:24.1950776+02:00</ETDDate> <FBWeight>11.1</FBWeight> <FreightZone>sample string 14</FreightZone> <FromZipCode>sample string 3</FromZipCode> <Km>12.1</Km> <LoadingMeter>10.1</LoadingMeter> <LocationId>sample string 2</LocationId> <Pallets>9</Pallets> <PaymentCode>sample string 18</PaymentCode> <PriceAdjustments>sample string 15</PriceAdjustments> <PriceAgreementCode>sample string 16</PriceAgreementCode> <PriceRequestType>1</PriceRequestType> <Suppliers> <SupplierData> <AdditionalProducts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AdditionalProducts> <CustomerNumber>sample string 3</CustomerNumber> <Product>sample string 2</Product> <Supplier>1</Supplier> </SupplierData> <SupplierData> <AdditionalProducts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </AdditionalProducts> <CustomerNumber>sample string 3</CustomerNumber> <Product>sample string 2</Product> <Supplier>1</Supplier> </SupplierData> </Suppliers> <ToZipCode>sample string 4</ToZipCode> <TodConditionCode>sample string 19</TodConditionCode> <TypeOfGoods>sample string 17</TypeOfGoods> </PriceRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |