ASCO.WebService.F2000
Kliknij tutaj, aby uzyskać pełną listę operacji.
OrderArticle
Order articles for authenticated users
Test
Formularz testowy jest dostępny tylko dla żądań z komputera lokalnego.SOAP 1.1
Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.1. Zamiast symboli zastępczych należy podać rzeczywiste wartości.
POST /F2000Service.asmx HTTP/1.1
Host: webservice.auto-gh.pl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://asco.com.pl/f2000/service/OrderArticle"
<?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>
<OrderArticle xmlns="http://asco.com.pl/f2000/service/">
<orderParam>
<OrderParam>
<ArticleID>string</ArticleID>
<Quantity>decimal</Quantity>
<DocumentCode>string</DocumentCode>
<TransportCode>string</TransportCode>
<Comments>string</Comments>
<BranchCode>string</BranchCode>
</OrderParam>
<OrderParam>
<ArticleID>string</ArticleID>
<Quantity>decimal</Quantity>
<DocumentCode>string</DocumentCode>
<TransportCode>string</TransportCode>
<Comments>string</Comments>
<BranchCode>string</BranchCode>
</OrderParam>
</orderParam>
</OrderArticle>
</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>
<OrderArticleResponse xmlns="http://asco.com.pl/f2000/service/">
<OrderArticleResult>
<OrderResult>
<ArticleID>string</ArticleID>
<QuanityOrdered>decimal</QuanityOrdered>
<QuantityReserved>decimal</QuantityReserved>
<ShoppingCartSumOrdered>decimal</ShoppingCartSumOrdered>
<ShoppingCartSumReserved>decimal</ShoppingCartSumReserved>
<DocumentId>string</DocumentId>
<ClientNetPrice>decimal</ClientNetPrice>
<ClientGrossPrice>decimal</ClientGrossPrice>
<ErrorMessage>string</ErrorMessage>
<IsError>boolean</IsError>
<Branch>
<Branch xsi:nil="true" />
<Branch xsi:nil="true" />
</Branch>
</OrderResult>
<OrderResult>
<ArticleID>string</ArticleID>
<QuanityOrdered>decimal</QuanityOrdered>
<QuantityReserved>decimal</QuantityReserved>
<ShoppingCartSumOrdered>decimal</ShoppingCartSumOrdered>
<ShoppingCartSumReserved>decimal</ShoppingCartSumReserved>
<DocumentId>string</DocumentId>
<ClientNetPrice>decimal</ClientNetPrice>
<ClientGrossPrice>decimal</ClientGrossPrice>
<ErrorMessage>string</ErrorMessage>
<IsError>boolean</IsError>
<Branch>
<Branch xsi:nil="true" />
<Branch xsi:nil="true" />
</Branch>
</OrderResult>
</OrderArticleResult>
</OrderArticleResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.2. Zamiast symboli zastępczych należy podać rzeczywiste wartości.
POST /F2000Service.asmx HTTP/1.1
Host: webservice.auto-gh.pl
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>
<OrderArticle xmlns="http://asco.com.pl/f2000/service/">
<orderParam>
<OrderParam>
<ArticleID>string</ArticleID>
<Quantity>decimal</Quantity>
<DocumentCode>string</DocumentCode>
<TransportCode>string</TransportCode>
<Comments>string</Comments>
<BranchCode>string</BranchCode>
</OrderParam>
<OrderParam>
<ArticleID>string</ArticleID>
<Quantity>decimal</Quantity>
<DocumentCode>string</DocumentCode>
<TransportCode>string</TransportCode>
<Comments>string</Comments>
<BranchCode>string</BranchCode>
</OrderParam>
</orderParam>
</OrderArticle>
</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>
<OrderArticleResponse xmlns="http://asco.com.pl/f2000/service/">
<OrderArticleResult>
<OrderResult>
<ArticleID>string</ArticleID>
<QuanityOrdered>decimal</QuanityOrdered>
<QuantityReserved>decimal</QuantityReserved>
<ShoppingCartSumOrdered>decimal</ShoppingCartSumOrdered>
<ShoppingCartSumReserved>decimal</ShoppingCartSumReserved>
<DocumentId>string</DocumentId>
<ClientNetPrice>decimal</ClientNetPrice>
<ClientGrossPrice>decimal</ClientGrossPrice>
<ErrorMessage>string</ErrorMessage>
<IsError>boolean</IsError>
<Branch>
<Branch xsi:nil="true" />
<Branch xsi:nil="true" />
</Branch>
</OrderResult>
<OrderResult>
<ArticleID>string</ArticleID>
<QuanityOrdered>decimal</QuanityOrdered>
<QuantityReserved>decimal</QuantityReserved>
<ShoppingCartSumOrdered>decimal</ShoppingCartSumOrdered>
<ShoppingCartSumReserved>decimal</ShoppingCartSumReserved>
<DocumentId>string</DocumentId>
<ClientNetPrice>decimal</ClientNetPrice>
<ClientGrossPrice>decimal</ClientGrossPrice>
<ErrorMessage>string</ErrorMessage>
<IsError>boolean</IsError>
<Branch>
<Branch xsi:nil="true" />
<Branch xsi:nil="true" />
</Branch>
</OrderResult>
</OrderArticleResult>
</OrderArticleResponse>
</soap12:Body>
</soap12:Envelope>