- 08 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Internal Service 3.01
- Updated on 08 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
WSDL:
https://webservices.vin65.com/V301/InternalService.cfc?wsdl
Australian URL:
https://webservices.aus.vin65.com/V301/InternalService.cfc?wsdl
Methods:
ChangeDeliveryAcceptance()
After Vin65 calls ChangeDelivery() on WineDirect Fulfillment Services use this method to to either accept or reject the change delivery request.
ChangeDeliveryAcception()
Part Of: Internal Webservice 3.1
WSDL:
https://webservices.vin65.com/V301/InternalService.cfc?wsdl
Australian URL:
https://webservices.aus.vin65.com/V301/InternalService.cfc?wsdl
Description:
Use the ChangeDeliveryExceptio() function after Vin65 calls ChangeDelivery() on WineDirect Fulfillment Services to either accept or rject the change delivery request. Required fields are indicated by a '*'
Parameters:
| Attribute | Data Type | Default | Description |
|---|---|---|---|
| OrderNumber* | Integer | ||
| TrackingNumber* | String | ||
| IsChangeDeliveryApproved* | Boolean | ||
| Errors | Array | ||
| Error[]:ServiceMessage | String | Error Message | |
| Warnings | Array | ||
| Warning:ServiceMessage | String | Warning Message | |
| DeliverTo* | |||
| DeliverTo:CompanyName | String | ||
| DeliverTo:Line1* | String | ||
| DeliverTo:Line2 | String | ||
| DeliverTo:Line3 | String | ||
| DeliverTo:City* | String | ||
| DeliverTo:StateOrProvince* | String | ||
| DeliverTo:PostalCode* | String | ||
| DeliverTo:CountryCode | String | ||
| DeliveryDate* | Date |
Sample Request:
<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema"> <soap:Body> <ChangeDeliveryAcceptance> <Request> <Security> <Username>//Your Username//</Username> <Password>//Your Password//</Password> </Security> <OrderNumber>781536</OrderNumber> <TrackingNumber>1ZA54R48A804251123</TrackingNumber> <IsChangeDeliveryApproved>1</IsChangeDeliveryApproved> <DeliveryTo> <CompanyName></CompanyName> <Line1>1190 Airport Blvd</Line1> <Line2>Unit 110</Line2> <Line3></Line3> <City>Napa</City> <StateOrProvince>CA</StateOrProvince> <PostalCode>94558</PostalCode> </DeliveryTo> </Request> </ChangeDeliveryAcceptance> </soap:Body> </soap:Envelope>
Sample Response:
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ChangeDeliveryAcceptanceResponse> <ChangeDeliveryAcceptanceReturn> <Errors></Errors> <IsSuccessful>true</IsSuccessful> <RecordCount>1</RecordCount> </ChangeDeliveryAcceptanceReturn> </ChangeDeliveryAcceptanceResponse> </soapenv:Body> </soapenv:Envelope>
