This document describes the web service interface for Logtrade ControlTower
Genererated 2017-01-16.
StatusResponse GetStatus( Authorization authorization, string ConsignmentId, string ShipmentNumber )
Gets status for a shipment
Name | Datatype | Description |
---|---|---|
authorization | Authorization | |
ConsignmentId | string | |
ShipmentNumber | string |
ExportedInvoicesResult GetExportedInvoices( Authorization authorization )
Get a list of url's for exported invoices
Name | Datatype | Description |
---|---|---|
authorization | Authorization |
PriceQuoteResponse GetPriceQuote( Authorization authorization, string ConsignmentIds, string ShipmentNumbers, string SenderReferences )
Gets price quotes for shipments
Name | Datatype | Description |
---|---|---|
authorization | Authorization | |
ConsignmentIds | string | |
ShipmentNumbers | string | |
SenderReferences | string |
Property | Datatype | Validations | Description |
---|---|---|---|
UserId | string | Mandatory Maximum length = 70 |
Svenska: "Användaridentitet"
English: "User identification"
|
Password | string | Mandatory Maximum length = 35 |
Svenska: "Lösenord"
English: "Password"
|
LicenseNumber | string | Length = 10 |
Svenska: "Licensnummer"
English: "License number"
|
ApplicationId | string | Mandatory | Please contact LogTrade Technology AB for this value
Svenska: "Affärssystemidentitet för webservice-gränssnitt"
English: "ERP application vendor identification"
|
Locale | LocaleEnum | (none) |
Property | Datatype | Validations | Description |
---|---|---|---|
Result | ResultEnum | (none) | |
ShipmentNumber | string | (none) |
Svenska: "Sändningsnummer"
English: "Shipment number"
|
ForwarderName | string | (none) |
Svenska: "Transportör"
English: "Carrier"
|
LatestStatus | string | (none) | |
IsDelivered | bool | (none) | Depending on the event code used by the forwarder, this flag is not guaranteed to be correct.
Svenska: "Levererad"
English: "Is delivered"
|
Message | string | (none) | Used when Result is AuthorizationError, ArgumentError or InternalError
Svenska: "Message"
English: "Message"
|
Array | Datatype | Description |
---|---|---|
Addresses | AddressDetail | |
GoodsItems | GoodsItemDetail | |
StatusEvents | StatusEvent |
Property | Datatype | Validations | Description |
---|---|---|---|
Result | ResultEnum | (none) | |
Message | string | (none) | Used when Result is AuthorizationError, ArgumentError or InternalError
Svenska: "Message"
English: "Message"
|
Array | Datatype | Description |
---|---|---|
Invoices | ExportedInvoiceDetail |
Property | Datatype | Validations | Description |
---|---|---|---|
InvoiceNumber | string | (none) |
Svenska: "Fakturanummer"
English: "Invoice number"
|
InvoiceDate | Date | (none) |
Svenska: "Fakturadatum"
English: "Invoice date"
|
ForwarderCode | string | (none) |
Svenska: "Transportör"
English: "Carrier"
|
Url | string | (none) |
Property | Datatype | Validations | Description |
---|---|---|---|
Result | ResultEnum | (none) | |
Message | string | (none) | Used when Result is AuthorizationError, ArgumentError or InternalError
Svenska: "Message"
English: "Message"
|
Array | Datatype | Description |
---|---|---|
PriceQuotes | PriceQuote |
Property | Datatype | Validations | Description |
---|---|---|---|
ShipmentNumber | string | (none) |
Svenska: "Sändningsnummer"
English: "Shipment number"
|
ProductCode | string | (none) |
Svenska: "Produktkod"
English: "Product code"
|
ConsignmentId | string | (none) |
Svenska: "Uppdragsnummer"
English: "Consignment id"
|
SenderReference | string | (none) |
Svenska: "Avsändarens referens"
English: "Sender reference"
|
PriceQuoteAmount | decimal | (none) | |
PriceQuoteCurrency | string | (none) |
Property | Datatype | Validations | Description |
---|---|---|---|
AddressType | AddressTypeEnum | (none) |
Svenska: "Adresstyp"
English: "Address type"
|
Name | string | (none) |
Svenska: "Namn"
English: "Name"
|
Array | Datatype | Description |
---|---|---|
AddressLines | string |
Property | Datatype | Validations | Description |
---|---|---|---|
NumberOfPackages | int | (none) |
Svenska: "Antal kolli"
English: "Number of packages"
|
TypeOfPackages | string | (none) |
Svenska: "Kollislag"
English: "Type of package"
|
GrossWeight | decimal | (none) |
Svenska: "Bruttovikt"
English: "Gross weight"
|
Volume | decimal | (none) |
Svenska: "Volym"
English: "Volume"
|
Array | Datatype | Description |
---|---|---|
PackageDetails | PackageItemDetail |
Property | Datatype | Validations | Description |
---|---|---|---|
PackageNumber | string | (none) |
Svenska: "Kollinummer"
English: "Package number"
|
GrossWeight | decimal | (none) |
Svenska: "Bruttovikt"
English: "Gross weight"
|
Volume | decimal | (none) |
Svenska: "Volym"
English: "Volume"
|
TypeOfPackages | string | (none) |
Svenska: "Kollislag"
English: "Type of package"
|
Property | Datatype | Validations | Description |
---|---|---|---|
TimeStamp | DateTime | (none) |
Svenska: "Time stamp (Logtrade.Common.EdiWarning)"
English: "Time stamp"
|
Description | string | (none) |
Svenska: "Beskrivning"
English: "Description"
|
Location | string | (none) | |
EventCode | string | (none) | Code value depends on forwarder code list
Svenska: "Händelsekod"
English: "Event code"
|
ReasonCode | string | (none) | Code value depends on forwarder code list
Svenska: "Orsakskod"
English: "Reason code"
|
Date
Date is a normal DateTime instance where only the Date part is used
Value | Description |
---|---|
Success | |
NotFound | |
AuthorizationError | |
ArgumentError | |
InternalError |
Value | Description |
---|---|
sv | |
en | |
da |
Value | Description |
---|---|
Sender | |
Recipient | |
Pickup | |
Delivery | |
Agent |