ASCO.WebService.F2000
Kliknij tutaj, aby uzyskać pełną listę operacji.
ReadDocumentItems
Read document items
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/ReadDocumentItems"
<?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>
<ReadDocumentItems xmlns="http://asco.com.pl/f2000/service/">
<user>string</user>
<password>string</password>
<branch>string</branch>
<docId>string</docId>
</ReadDocumentItems>
</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>
<ReadDocumentItemsResponse xmlns="http://asco.com.pl/f2000/service/">
<ReadDocumentItemsResult>
<DocumentItem>
<ArticleId>string</ArticleId>
<ArticleName>string</ArticleName>
<Amount>decimal</Amount>
<PriceNet>decimal</PriceNet>
<PriceGross>decimal</PriceGross>
<CurrencyId>string</CurrencyId>
</DocumentItem>
<DocumentItem>
<ArticleId>string</ArticleId>
<ArticleName>string</ArticleName>
<Amount>decimal</Amount>
<PriceNet>decimal</PriceNet>
<PriceGross>decimal</PriceGross>
<CurrencyId>string</CurrencyId>
</DocumentItem>
</ReadDocumentItemsResult>
</ReadDocumentItemsResponse>
</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>
<ReadDocumentItems xmlns="http://asco.com.pl/f2000/service/">
<user>string</user>
<password>string</password>
<branch>string</branch>
<docId>string</docId>
</ReadDocumentItems>
</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>
<ReadDocumentItemsResponse xmlns="http://asco.com.pl/f2000/service/">
<ReadDocumentItemsResult>
<DocumentItem>
<ArticleId>string</ArticleId>
<ArticleName>string</ArticleName>
<Amount>decimal</Amount>
<PriceNet>decimal</PriceNet>
<PriceGross>decimal</PriceGross>
<CurrencyId>string</CurrencyId>
</DocumentItem>
<DocumentItem>
<ArticleId>string</ArticleId>
<ArticleName>string</ArticleName>
<Amount>decimal</Amount>
<PriceNet>decimal</PriceNet>
<PriceGross>decimal</PriceGross>
<CurrencyId>string</CurrencyId>
</DocumentItem>
</ReadDocumentItemsResult>
</ReadDocumentItemsResponse>
</soap12:Body>
</soap12:Envelope>