edpCashLightServices
Fare clic qui per ottenere l'elenco completo delle operazioni.
DeliverectOrderCreate
Test
Il form di test è disponibile solo per le richieste dal computer locale.SOAP 1.1
Di seguito è riportato un esempio di richiesta e risposta SOAP 1.1. I segnaposto devono essere sostituiti con i valori appropriati.
POST /edpCashLightServices.asmx HTTP/1.1
Host: 2.238.144.142
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://edpcashlight.it/DeliverectOrderCreate"
<?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>
<DeliverectOrderCreate xmlns="http://edpcashlight.it/">
<order>
<edpCashLightHashKey>string</edpCashLightHashKey>
<_id>string</_id>
<_created>dateTime</_created>
<_updated>dateTime</_updated>
<channelOrderId>string</channelOrderId>
<channelOrderDisplayId>string</channelOrderDisplayId>
<posLocationId>string</posLocationId>
<location>string</location>
<channelLink>string</channelLink>
<status>int</status>
<statusHistory>
<StatusHistory>
<_created>dateTime</_created>
<response>string</response>
<timeStamp>dateTime</timeStamp>
<status>int</status>
</StatusHistory>
<StatusHistory>
<_created>dateTime</_created>
<response>string</response>
<timeStamp>dateTime</timeStamp>
<status>int</status>
</StatusHistory>
</statusHistory>
<by>string</by>
<orderType>int</orderType>
<orderTypeDescription>string</orderTypeDescription>
<channel>int</channel>
<table>string</table>
<pickupTime>dateTime</pickupTime>
<deliveryTime>dateTime</deliveryTime>
<deliveryIsAsap>boolean</deliveryIsAsap>
<courier>
<firstName>string</firstName>
<lastName>string</lastName>
<phoneNumber>string</phoneNumber>
<deliveryBy>string</deliveryBy>
</courier>
<customer>
<name>string</name>
<companyName>string</companyName>
<phoneNumber>string</phoneNumber>
<phoneAccessCode>string</phoneAccessCode>
<email>string</email>
<note>string</note>
<tin>string</tin>
</customer>
<deliveryAddress>
<street>string</street>
<streetNumber>string</streetNumber>
<postalCode>string</postalCode>
<city>string</city>
<extraAddressInfo>string</extraAddressInfo>
<coordinates>
<coordinates xsi:nil="true" />
</coordinates>
</deliveryAddress>
<orderIsAlreadyPaid>boolean</orderIsAlreadyPaid>
<orderIsAlreadyPaidDescription>string</orderIsAlreadyPaidDescription>
<payment>
<amount>string</amount>
<type>int</type>
<description>string</description>
</payment>
<note>string</note>
<items>
<DeliverectItem>
<plu>string</plu>
<name>string</name>
<price>string</price>
<quantity>int</quantity>
<productType>int</productType>
<remark>string</remark>
<subItems xsi:nil="true" />
</DeliverectItem>
<DeliverectItem>
<plu>string</plu>
<name>string</name>
<price>string</price>
<quantity>int</quantity>
<productType>int</productType>
<remark>string</remark>
<subItems xsi:nil="true" />
</DeliverectItem>
</items>
<decimalDigits>int</decimalDigits>
<numberOfCustomers>int</numberOfCustomers>
<deliveryCost>decimal</deliveryCost>
<serviceCharge>decimal</serviceCharge>
<bagFee>decimal</bagFee>
<tip>decimal</tip>
<driverTip>decimal</driverTip>
<discountTotal>decimal</discountTotal>
<posCustomerId>string</posCustomerId>
<account>string</account>
<posReceiptId>string</posReceiptId>
<tags>
<string>string</string>
<string>string</string>
</tags>
</order>
<apiKey>string</apiKey>
</DeliverectOrderCreate>
</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>
<DeliverectOrderCreateResponse xmlns="http://edpcashlight.it/">
<DeliverectOrderCreateResult>
<Code>int</Code>
<Description>string</Description>
<Error>boolean</Error>
<Content />
</DeliverectOrderCreateResult>
</DeliverectOrderCreateResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Di seguito è riportato un esempio di richiesta e risposta SOAP 1.2. I segnaposto devono essere sostituiti con i valori appropriati.
POST /edpCashLightServices.asmx HTTP/1.1
Host: 2.238.144.142
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>
<DeliverectOrderCreate xmlns="http://edpcashlight.it/">
<order>
<edpCashLightHashKey>string</edpCashLightHashKey>
<_id>string</_id>
<_created>dateTime</_created>
<_updated>dateTime</_updated>
<channelOrderId>string</channelOrderId>
<channelOrderDisplayId>string</channelOrderDisplayId>
<posLocationId>string</posLocationId>
<location>string</location>
<channelLink>string</channelLink>
<status>int</status>
<statusHistory>
<StatusHistory>
<_created>dateTime</_created>
<response>string</response>
<timeStamp>dateTime</timeStamp>
<status>int</status>
</StatusHistory>
<StatusHistory>
<_created>dateTime</_created>
<response>string</response>
<timeStamp>dateTime</timeStamp>
<status>int</status>
</StatusHistory>
</statusHistory>
<by>string</by>
<orderType>int</orderType>
<orderTypeDescription>string</orderTypeDescription>
<channel>int</channel>
<table>string</table>
<pickupTime>dateTime</pickupTime>
<deliveryTime>dateTime</deliveryTime>
<deliveryIsAsap>boolean</deliveryIsAsap>
<courier>
<firstName>string</firstName>
<lastName>string</lastName>
<phoneNumber>string</phoneNumber>
<deliveryBy>string</deliveryBy>
</courier>
<customer>
<name>string</name>
<companyName>string</companyName>
<phoneNumber>string</phoneNumber>
<phoneAccessCode>string</phoneAccessCode>
<email>string</email>
<note>string</note>
<tin>string</tin>
</customer>
<deliveryAddress>
<street>string</street>
<streetNumber>string</streetNumber>
<postalCode>string</postalCode>
<city>string</city>
<extraAddressInfo>string</extraAddressInfo>
<coordinates>
<coordinates xsi:nil="true" />
</coordinates>
</deliveryAddress>
<orderIsAlreadyPaid>boolean</orderIsAlreadyPaid>
<orderIsAlreadyPaidDescription>string</orderIsAlreadyPaidDescription>
<payment>
<amount>string</amount>
<type>int</type>
<description>string</description>
</payment>
<note>string</note>
<items>
<DeliverectItem>
<plu>string</plu>
<name>string</name>
<price>string</price>
<quantity>int</quantity>
<productType>int</productType>
<remark>string</remark>
<subItems xsi:nil="true" />
</DeliverectItem>
<DeliverectItem>
<plu>string</plu>
<name>string</name>
<price>string</price>
<quantity>int</quantity>
<productType>int</productType>
<remark>string</remark>
<subItems xsi:nil="true" />
</DeliverectItem>
</items>
<decimalDigits>int</decimalDigits>
<numberOfCustomers>int</numberOfCustomers>
<deliveryCost>decimal</deliveryCost>
<serviceCharge>decimal</serviceCharge>
<bagFee>decimal</bagFee>
<tip>decimal</tip>
<driverTip>decimal</driverTip>
<discountTotal>decimal</discountTotal>
<posCustomerId>string</posCustomerId>
<account>string</account>
<posReceiptId>string</posReceiptId>
<tags>
<string>string</string>
<string>string</string>
</tags>
</order>
<apiKey>string</apiKey>
</DeliverectOrderCreate>
</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>
<DeliverectOrderCreateResponse xmlns="http://edpcashlight.it/">
<DeliverectOrderCreateResult>
<Code>int</Code>
<Description>string</Description>
<Error>boolean</Error>
<Content />
</DeliverectOrderCreateResult>
</DeliverectOrderCreateResponse>
</soap12:Body>
</soap12:Envelope>