DPDCloudService_v1
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
getOrderStatus
Test
Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.SOAP 1.1
Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /services/v1/DPDCloudService.asmx HTTP/1.1 Host: cloud.dpd.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://cloud.dpd.com/getOrderStatus" <?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> <getOrderStatus xmlns="https://cloud.dpd.com/"> <getOrderStatusRequest> <Version>int</Version> <Language>string</Language> <PartnerCredentials> <Name>string</Name> <Token>string</Token> </PartnerCredentials> <UserCredentials> <cloudUserID>int</cloudUserID> <Token>string</Token> </UserCredentials> <ParcelNo>string</ParcelNo> <DeliveryZipCode>string</DeliveryZipCode> </getOrderStatusRequest> </getOrderStatus> </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> <getOrderStatusResponse xmlns="https://cloud.dpd.com/"> <getOrderStatusResult> <Version>int</Version> <Language>string</Language> <Ack>boolean</Ack> <TimeStamp>dateTime</TimeStamp> <OrderStatus> <ParcelNo>string</ParcelNo> <OrderInformation> <ParcelNo>string</ParcelNo> <MPSID>string</MPSID> <ServiceCode>int</ServiceCode> <ProductName>string</ProductName> <Reference>string</Reference> <Weight>string</Weight> <CODAmount>string</CODAmount> <Collis>int</Collis> <ParcelNoList>string</ParcelNoList> <CompleteDelivery>boolean</CompleteDelivery> <ReceiverName>string</ReceiverName> <SenderName>string</SenderName> <EstimatedDeliveryTime>string</EstimatedDeliveryTime> </OrderInformation> <ShipAddress> <Company>string</Company> <Salutation>string</Salutation> <Name>string</Name> <FirstName>string</FirstName> <LastName>string</LastName> <Street>string</Street> <HouseNo>string</HouseNo> <Country>string</Country> <ZipCode>string</ZipCode> <City>string</City> <State>string</State> <Phone>string</Phone> <Mail>string</Mail> <Gender>string</Gender> </ShipAddress> <LastStatusInfo> <StatusReached>boolean</StatusReached> <StatusID>string</StatusID> <Headline>string</Headline> <Description>string</Description> <StatusText_Mobile>string</StatusText_Mobile> <StatusText_Desktop>string</StatusText_Desktop> <StatusDate>string</StatusDate> <DepotData xsi:nil="true" /> </LastStatusInfo> <StatusInfoContainer> <Start xsi:nil="true" /> <OnTheRoad xsi:nil="true" /> <DeliveryDepot xsi:nil="true" /> <CarLoad xsi:nil="true" /> <Delivered xsi:nil="true" /> </StatusInfoContainer> </OrderStatus> <SystemInformation>string</SystemInformation> <ErrorDataList> <ErrorData> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorData> <ErrorData> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorData> </ErrorDataList> </getOrderStatusResult> </getOrderStatusResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /services/v1/DPDCloudService.asmx HTTP/1.1 Host: cloud.dpd.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> <getOrderStatus xmlns="https://cloud.dpd.com/"> <getOrderStatusRequest> <Version>int</Version> <Language>string</Language> <PartnerCredentials> <Name>string</Name> <Token>string</Token> </PartnerCredentials> <UserCredentials> <cloudUserID>int</cloudUserID> <Token>string</Token> </UserCredentials> <ParcelNo>string</ParcelNo> <DeliveryZipCode>string</DeliveryZipCode> </getOrderStatusRequest> </getOrderStatus> </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> <getOrderStatusResponse xmlns="https://cloud.dpd.com/"> <getOrderStatusResult> <Version>int</Version> <Language>string</Language> <Ack>boolean</Ack> <TimeStamp>dateTime</TimeStamp> <OrderStatus> <ParcelNo>string</ParcelNo> <OrderInformation> <ParcelNo>string</ParcelNo> <MPSID>string</MPSID> <ServiceCode>int</ServiceCode> <ProductName>string</ProductName> <Reference>string</Reference> <Weight>string</Weight> <CODAmount>string</CODAmount> <Collis>int</Collis> <ParcelNoList>string</ParcelNoList> <CompleteDelivery>boolean</CompleteDelivery> <ReceiverName>string</ReceiverName> <SenderName>string</SenderName> <EstimatedDeliveryTime>string</EstimatedDeliveryTime> </OrderInformation> <ShipAddress> <Company>string</Company> <Salutation>string</Salutation> <Name>string</Name> <FirstName>string</FirstName> <LastName>string</LastName> <Street>string</Street> <HouseNo>string</HouseNo> <Country>string</Country> <ZipCode>string</ZipCode> <City>string</City> <State>string</State> <Phone>string</Phone> <Mail>string</Mail> <Gender>string</Gender> </ShipAddress> <LastStatusInfo> <StatusReached>boolean</StatusReached> <StatusID>string</StatusID> <Headline>string</Headline> <Description>string</Description> <StatusText_Mobile>string</StatusText_Mobile> <StatusText_Desktop>string</StatusText_Desktop> <StatusDate>string</StatusDate> <DepotData xsi:nil="true" /> </LastStatusInfo> <StatusInfoContainer> <Start xsi:nil="true" /> <OnTheRoad xsi:nil="true" /> <DeliveryDepot xsi:nil="true" /> <CarLoad xsi:nil="true" /> <Delivered xsi:nil="true" /> </StatusInfoContainer> </OrderStatus> <SystemInformation>string</SystemInformation> <ErrorDataList> <ErrorData> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorData> <ErrorData> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorData> </ErrorDataList> </getOrderStatusResult> </getOrderStatusResponse> </soap12:Body> </soap12:Envelope>