CargoService
Click here for a complete list of operations.
GetChangedCargos
Returns list wiht cargoes changed after StartDate
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /CargoService.asmx HTTP/1.1 Host: dev.cargogeo.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://dev.cargogeo.com/GetChangedCargos" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetChangedCargos xmlns="http://dev.cargogeo.com/"> <StartDate>dateTime</StartDate> </GetChangedCargos> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetChangedCargosResponse xmlns="http://dev.cargogeo.com/"> <GetChangedCargosResult> <MetaCargo> <Id>int</Id> <DateFrom>dateTime</DateFrom> <DateTo>dateTime</DateTo> <CargoName>string</CargoName> <TruckTypes> <short>short</short> <short>short</short> </TruckTypes> <Package>string</Package> <Quantity>decimal</Quantity> <Volume>decimal</Volume> <TIR>boolean</TIR> <ADR>unsignedByte</ADR> <T1>boolean</T1> <IsRoundTrip>boolean</IsRoundTrip> <AddLoading>boolean</AddLoading> <AllowBackLoad>boolean</AllowBackLoad> <AllowSideLoad>boolean</AllowSideLoad> <AllowUpperLoad>boolean</AllowUpperLoad> <AllowBackUnload>boolean</AllowBackUnload> <AllowSideUnload>boolean</AllowSideUnload> <AllowUpperUnload>boolean</AllowUpperUnload> <FromPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </FromPoint> <ToPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </ToPoint> <AddPoints> <string>string</string> <string>string</string> </AddPoints> <Price>decimal</Price> <PriceCurrency>string</PriceCurrency> <IsPriceWithVAT>boolean</IsPriceWithVAT> <IsCash>boolean</IsCash> <ContextPrice>decimal</ContextPrice> <TrucksCount>int</TrucksCount> <PassingTrucksCount>int</PassingTrucksCount> <CreateDate>dateTime</CreateDate> <ChangeDate>dateTime</ChangeDate> </MetaCargo> <MetaCargo> <Id>int</Id> <DateFrom>dateTime</DateFrom> <DateTo>dateTime</DateTo> <CargoName>string</CargoName> <TruckTypes> <short>short</short> <short>short</short> </TruckTypes> <Package>string</Package> <Quantity>decimal</Quantity> <Volume>decimal</Volume> <TIR>boolean</TIR> <ADR>unsignedByte</ADR> <T1>boolean</T1> <IsRoundTrip>boolean</IsRoundTrip> <AddLoading>boolean</AddLoading> <AllowBackLoad>boolean</AllowBackLoad> <AllowSideLoad>boolean</AllowSideLoad> <AllowUpperLoad>boolean</AllowUpperLoad> <AllowBackUnload>boolean</AllowBackUnload> <AllowSideUnload>boolean</AllowSideUnload> <AllowUpperUnload>boolean</AllowUpperUnload> <FromPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </FromPoint> <ToPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </ToPoint> <AddPoints> <string>string</string> <string>string</string> </AddPoints> <Price>decimal</Price> <PriceCurrency>string</PriceCurrency> <IsPriceWithVAT>boolean</IsPriceWithVAT> <IsCash>boolean</IsCash> <ContextPrice>decimal</ContextPrice> <TrucksCount>int</TrucksCount> <PassingTrucksCount>int</PassingTrucksCount> <CreateDate>dateTime</CreateDate> <ChangeDate>dateTime</ChangeDate> </MetaCargo> </GetChangedCargosResult> </GetChangedCargosResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /CargoService.asmx HTTP/1.1 Host: dev.cargogeo.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetChangedCargos xmlns="http://dev.cargogeo.com/"> <StartDate>dateTime</StartDate> </GetChangedCargos> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetChangedCargosResponse xmlns="http://dev.cargogeo.com/"> <GetChangedCargosResult> <MetaCargo> <Id>int</Id> <DateFrom>dateTime</DateFrom> <DateTo>dateTime</DateTo> <CargoName>string</CargoName> <TruckTypes> <short>short</short> <short>short</short> </TruckTypes> <Package>string</Package> <Quantity>decimal</Quantity> <Volume>decimal</Volume> <TIR>boolean</TIR> <ADR>unsignedByte</ADR> <T1>boolean</T1> <IsRoundTrip>boolean</IsRoundTrip> <AddLoading>boolean</AddLoading> <AllowBackLoad>boolean</AllowBackLoad> <AllowSideLoad>boolean</AllowSideLoad> <AllowUpperLoad>boolean</AllowUpperLoad> <AllowBackUnload>boolean</AllowBackUnload> <AllowSideUnload>boolean</AllowSideUnload> <AllowUpperUnload>boolean</AllowUpperUnload> <FromPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </FromPoint> <ToPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </ToPoint> <AddPoints> <string>string</string> <string>string</string> </AddPoints> <Price>decimal</Price> <PriceCurrency>string</PriceCurrency> <IsPriceWithVAT>boolean</IsPriceWithVAT> <IsCash>boolean</IsCash> <ContextPrice>decimal</ContextPrice> <TrucksCount>int</TrucksCount> <PassingTrucksCount>int</PassingTrucksCount> <CreateDate>dateTime</CreateDate> <ChangeDate>dateTime</ChangeDate> </MetaCargo> <MetaCargo> <Id>int</Id> <DateFrom>dateTime</DateFrom> <DateTo>dateTime</DateTo> <CargoName>string</CargoName> <TruckTypes> <short>short</short> <short>short</short> </TruckTypes> <Package>string</Package> <Quantity>decimal</Quantity> <Volume>decimal</Volume> <TIR>boolean</TIR> <ADR>unsignedByte</ADR> <T1>boolean</T1> <IsRoundTrip>boolean</IsRoundTrip> <AddLoading>boolean</AddLoading> <AllowBackLoad>boolean</AllowBackLoad> <AllowSideLoad>boolean</AllowSideLoad> <AllowUpperLoad>boolean</AllowUpperLoad> <AllowBackUnload>boolean</AllowBackUnload> <AllowSideUnload>boolean</AllowSideUnload> <AllowUpperUnload>boolean</AllowUpperUnload> <FromPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </FromPoint> <ToPoint> <IdCity>int</IdCity> <Lat>float</Lat> <Lon>float</Lon> <Address>string</Address> <Region>string</Region> <CityName>string</CityName> <Country>string</Country> </ToPoint> <AddPoints> <string>string</string> <string>string</string> </AddPoints> <Price>decimal</Price> <PriceCurrency>string</PriceCurrency> <IsPriceWithVAT>boolean</IsPriceWithVAT> <IsCash>boolean</IsCash> <ContextPrice>decimal</ContextPrice> <TrucksCount>int</TrucksCount> <PassingTrucksCount>int</PassingTrucksCount> <CreateDate>dateTime</CreateDate> <ChangeDate>dateTime</ChangeDate> </MetaCargo> </GetChangedCargosResult> </GetChangedCargosResponse> </soap12:Body> </soap12:Envelope>