DPDCloudService_v1
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
getParcelLifeCycle
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/getParcelLifeCycle" <?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> <getParcelLifeCycle xmlns="https://cloud.dpd.com/"> <getParcelLifeCycleRequest> <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> </getParcelLifeCycleRequest> </getParcelLifeCycle> </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> <getParcelLifeCycleResponse xmlns="https://cloud.dpd.com/"> <getParcelLifeCycleResult> <Version>int</Version> <Language>string</Language> <Ack>boolean</Ack> <TimeStamp>dateTime</TimeStamp> <ParcelLifeCycleData> <shipmentInfo xmlns=""> <receiver xsi:nil="true" /> <predictInformation xsi:nil="true" /> <serviceDescription xsi:nil="true" /> <additionalServiceElements xsi:nil="true" /> <trackingProperty xsi:nil="true" /> <trackingProperty xsi:nil="true" /> </shipmentInfo> <statusInfo xmlns=""> <status>bytes</status> <label xsi:nil="true" /> <description xsi:nil="true" /> <statusHasBeenReached>boolean</statusHasBeenReached> <isCurrentStatus>boolean</isCurrentStatus> <showContactInfo>boolean</showContactInfo> <location xsi:nil="true" /> <date xsi:nil="true" /> <normalItems xsi:nil="true" /> <normalItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <errorItems xsi:nil="true" /> <errorItems xsi:nil="true" /> </statusInfo> <statusInfo xmlns=""> <status>bytes</status> <label xsi:nil="true" /> <description xsi:nil="true" /> <statusHasBeenReached>boolean</statusHasBeenReached> <isCurrentStatus>boolean</isCurrentStatus> <showContactInfo>boolean</showContactInfo> <location xsi:nil="true" /> <date xsi:nil="true" /> <normalItems xsi:nil="true" /> <normalItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <errorItems xsi:nil="true" /> <errorItems xsi:nil="true" /> </statusInfo> <contactInfo xmlns=""> <label xsi:nil="true" /> <content xsi:nil="true" /> <content xsi:nil="true" /> <linkTarget>string</linkTarget> </contactInfo> <contactInfo xmlns=""> <label xsi:nil="true" /> <content xsi:nil="true" /> <content xsi:nil="true" /> <linkTarget>string</linkTarget> </contactInfo> </ParcelLifeCycleData> <SystemInformation>string</SystemInformation> <ErrorDataList> <ErrorDataType> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorDataType> <ErrorDataType> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorDataType> </ErrorDataList> </getParcelLifeCycleResult> </getParcelLifeCycleResponse> </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> <getParcelLifeCycle xmlns="https://cloud.dpd.com/"> <getParcelLifeCycleRequest> <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> </getParcelLifeCycleRequest> </getParcelLifeCycle> </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> <getParcelLifeCycleResponse xmlns="https://cloud.dpd.com/"> <getParcelLifeCycleResult> <Version>int</Version> <Language>string</Language> <Ack>boolean</Ack> <TimeStamp>dateTime</TimeStamp> <ParcelLifeCycleData> <shipmentInfo xmlns=""> <receiver xsi:nil="true" /> <predictInformation xsi:nil="true" /> <serviceDescription xsi:nil="true" /> <additionalServiceElements xsi:nil="true" /> <trackingProperty xsi:nil="true" /> <trackingProperty xsi:nil="true" /> </shipmentInfo> <statusInfo xmlns=""> <status>bytes</status> <label xsi:nil="true" /> <description xsi:nil="true" /> <statusHasBeenReached>boolean</statusHasBeenReached> <isCurrentStatus>boolean</isCurrentStatus> <showContactInfo>boolean</showContactInfo> <location xsi:nil="true" /> <date xsi:nil="true" /> <normalItems xsi:nil="true" /> <normalItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <errorItems xsi:nil="true" /> <errorItems xsi:nil="true" /> </statusInfo> <statusInfo xmlns=""> <status>bytes</status> <label xsi:nil="true" /> <description xsi:nil="true" /> <statusHasBeenReached>boolean</statusHasBeenReached> <isCurrentStatus>boolean</isCurrentStatus> <showContactInfo>boolean</showContactInfo> <location xsi:nil="true" /> <date xsi:nil="true" /> <normalItems xsi:nil="true" /> <normalItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <importantItems xsi:nil="true" /> <errorItems xsi:nil="true" /> <errorItems xsi:nil="true" /> </statusInfo> <contactInfo xmlns=""> <label xsi:nil="true" /> <content xsi:nil="true" /> <content xsi:nil="true" /> <linkTarget>string</linkTarget> </contactInfo> <contactInfo xmlns=""> <label xsi:nil="true" /> <content xsi:nil="true" /> <content xsi:nil="true" /> <linkTarget>string</linkTarget> </contactInfo> </ParcelLifeCycleData> <SystemInformation>string</SystemInformation> <ErrorDataList> <ErrorDataType> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorDataType> <ErrorDataType> <ErrorID>int</ErrorID> <ErrorCode>string</ErrorCode> <ErrorMsgShort>string</ErrorMsgShort> <ErrorMsgLong>string</ErrorMsgLong> </ErrorDataType> </ErrorDataList> </getParcelLifeCycleResult> </getParcelLifeCycleResponse> </soap12:Body> </soap12:Envelope>