DPDCloudService_v1
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
getZipCodeRules
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/getZipCodeRules" <?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> <getZipCodeRules xmlns="https://cloud.dpd.com/"> <getZipCodeRulesRequest> <Version>int</Version> <Language>string</Language> <PartnerCredentials> <Name>string</Name> <Token>string</Token> </PartnerCredentials> <UserCredentials> <cloudUserID>int</cloudUserID> <Token>string</Token> </UserCredentials> </getZipCodeRulesRequest> </getZipCodeRules> </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> <getZipCodeRulesResponse xmlns="https://cloud.dpd.com/"> <getZipCodeRulesResult> <Version>int</Version> <Language>string</Language> <Ack>boolean</Ack> <TimeStamp>dateTime</TimeStamp> <ZipCodeRules> <Country>string</Country> <ZipCode>string</ZipCode> <NoPickupDays>string</NoPickupDays> <ExpressCutOff>string</ExpressCutOff> <ClassicCutOff>string</ClassicCutOff> <PickupDepot>string</PickupDepot> <State>string</State> </ZipCodeRules> <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> </getZipCodeRulesResult> </getZipCodeRulesResponse> </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> <getZipCodeRules xmlns="https://cloud.dpd.com/"> <getZipCodeRulesRequest> <Version>int</Version> <Language>string</Language> <PartnerCredentials> <Name>string</Name> <Token>string</Token> </PartnerCredentials> <UserCredentials> <cloudUserID>int</cloudUserID> <Token>string</Token> </UserCredentials> </getZipCodeRulesRequest> </getZipCodeRules> </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> <getZipCodeRulesResponse xmlns="https://cloud.dpd.com/"> <getZipCodeRulesResult> <Version>int</Version> <Language>string</Language> <Ack>boolean</Ack> <TimeStamp>dateTime</TimeStamp> <ZipCodeRules> <Country>string</Country> <ZipCode>string</ZipCode> <NoPickupDays>string</NoPickupDays> <ExpressCutOff>string</ExpressCutOff> <ClassicCutOff>string</ClassicCutOff> <PickupDepot>string</PickupDepot> <State>string</State> </ZipCodeRules> <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> </getZipCodeRulesResult> </getZipCodeRulesResponse> </soap12:Body> </soap12:Envelope>