DocumentTemplateEdit
(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 12: | Linia 12: | ||
<ID>4</ID> | <ID>4</ID> | ||
<Active>true</Active> <!-- czy szablon pozostaje dostępny dla generowania nowych dokumentów --> | <Active>true</Active> <!-- czy szablon pozostaje dostępny dla generowania nowych dokumentów --> | ||
+ | <NumberPlanID>2</NumberPlanID> <!-- opcjonalne --> <!-- jezeli nie wystepuje - zostanie przypisany domyslny plan numeracyjny --> | ||
</DocumentTemplateEdit> | </DocumentTemplateEdit> | ||
</Request> | </Request> |
Wersja z 16:00, 11 paź 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Term >Short</ Term > < Request > < Type >DocumentTemplateEdit</ Type > < DocumentTemplateEdit > < ID >4</ ID > < Active >true</ Active > <!-- czy szablon pozostaje dostępny dla generowania nowych dokumentów --> < NumberPlanID >2</ NumberPlanID > <!-- opcjonalne --> <!-- jezeli nie wystepuje - zostanie przypisany domyslny plan numeracyjny --> </ DocumentTemplateEdit > </ 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 >DocumentTemplateEdit</ Type > < DocumentTemplateEdit > < Status >OK</ Status > </ DocumentTemplateEdit > </ 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 >Nie ma szablonu o zadanym ID</ Error > </ Request > </ Net47 > //BEGINEND// |