DocumentGetPDF
Z Net47 2.0
(Różnice między wersjami)
Linia 10: | Linia 10: | ||
<Type>DocumentGetPDF</Type> | <Type>DocumentGetPDF</Type> | ||
<DocumentGetPDF> | <DocumentGetPDF> | ||
+ | <Regenerate>true</Regenerate><!--opcjonalne --> <!-- generuje na nowo dokument --> | ||
<WydrukDwustronny>true</WydrukDwustronny> <!-- opcjonalne --> <!-- oddziela poszczególne dokumenty pustą stroną, jeżeli liczba stron dokumentu nie jest parzysta --> | <WydrukDwustronny>true</WydrukDwustronny> <!-- opcjonalne --> <!-- oddziela poszczególne dokumenty pustą stroną, jeżeli liczba stron dokumentu nie jest parzysta --> | ||
<CustomerID>23</CustomerID> <!-- opcjonalne --> | <CustomerID>23</CustomerID> <!-- opcjonalne --> |
Aktualna wersja na dzień 12:43, 4 kwi 2017
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Term >Short</ Term > < Request > < Type >DocumentGetPDF</ Type > < DocumentGetPDF > < Regenerate >true</ Regenerate > <!--opcjonalne --> <!-- generuje na nowo dokument --> < WydrukDwustronny >true</ WydrukDwustronny > <!-- opcjonalne --> <!-- oddziela poszczególne dokumenty pustą stroną, jeżeli liczba stron dokumentu nie jest parzysta --> < CustomerID >23</ CustomerID > <!-- opcjonalne --> < Document > <!-- może występować wielokrotnie --> < ID >4</ ID > </ Document > < Document > < ID >5</ ID > </ Document > < Document > < ID >6</ ID > </ Document > < Document > < ID >7</ ID > </ Document > < DocumentType > <!-- 1 - oryginał, 2 - kopia, 3 - duplikat, 4 - podgląd --> <!-- może występować wielokrotnie --> < Type >1</ Type > <!-- typ zadajemy tylko raz, nie ma potrzeby ponawiania tego samego typu wielokrotnie --> </ DocumentType > < DocumentType > < Type >2</ Type > </ DocumentType > </ DocumentGetPDF > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >DocumentGetPDF</ Type > < DocumentGetPDF > < Document >BASE64</ Document > </ DocumentGetPDF > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Nieprawidłowe dane wejściowe</ Error > </ Request > </ Net47 > //BEGINEND// |