DocumentTypeGetAll
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”) |
|||
Linia 26: | Linia 26: | ||
<Type>DocumentTypeGetAll</Type> | <Type>DocumentTypeGetAll</Type> | ||
<DocumentTypeGetAll> | <DocumentTypeGetAll> | ||
− | <ID>321</ID> | + | <DocumentType> |
− | + | <ID>321</ID> | |
− | + | <Name>Umowa</Name> | |
− | <Description>Umowa Abonencka</Description> | + | <Type>321</Type> <!-- Definiuje czy dokument funkcjonuje w obiegu wewnętrznym firmy lub czy jest to np umowa do klienta, przyklad: umowa = false, rozchód wewnętrzny = true --> |
+ | <Description>Umowa Abonencka</Description> | ||
+ | </DocumentType> | ||
+ | <DocumentType> | ||
+ | <ID>100</ID> | ||
+ | <Name>Aneks</Name> | ||
+ | <Type>321</Type> <!-- Definiuje czy dokument funkcjonuje w obiegu wewnętrznym firmy lub czy jest to np umowa do klienta, przyklad: umowa = false, rozchód wewnętrzny = true --> | ||
+ | <Description>Umowa Abonencka</Description> | ||
+ | </DocumentType> | ||
</DocumentTypeGetAll> | </DocumentTypeGetAll> | ||
</Request> | </Request> |
Wersja z 12:58, 28 cze 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Term >Short</ Term > < Request > < Type >DocumentTypeGetAll</ Type > < DocumentTypeGetAll > < SortType >ASC</ SortType > < SortName >id</ SortName > </ DocumentTypeGetAll > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >DocumentTypeGetAll</ Type > < DocumentTypeGetAll > < DocumentType > < ID >321</ ID > < Name >Umowa</ Name > < Type >321</ Type > <!-- Definiuje czy dokument funkcjonuje w obiegu wewnętrznym firmy lub czy jest to np umowa do klienta, przyklad: umowa = false, rozchód wewnętrzny = true --> < Description >Umowa Abonencka</ Description > </ DocumentType > < DocumentType > < ID >100</ ID > < Name >Aneks</ Name > < Type >321</ Type > <!-- Definiuje czy dokument funkcjonuje w obiegu wewnętrznym firmy lub czy jest to np umowa do klienta, przyklad: umowa = false, rozchód wewnętrzny = true --> < Description >Umowa Abonencka</ Description > </ DocumentType > </ DocumentTypeGetAll > </ 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 >Błędny typ sortowania</ Error > </ Request > </ Net47 > //BEGINEND// |