EventCalendarZgloszenieUslugiAdd
Z Net47 2.0
(Różnice między wersjami)
Linia 11: | Linia 11: | ||
<CalendarID>4</CalendarID> | <CalendarID>4</CalendarID> | ||
<CustomerID>4</CustomerID> | <CustomerID>4</CustomerID> | ||
− | |||
<Pozycja><!-- może wystąpic wielokrotnie --> | <Pozycja><!-- może wystąpic wielokrotnie --> | ||
<PriceID>55</PriceID><!-- opcjonalne --> | <PriceID>55</PriceID><!-- opcjonalne --> | ||
<Ilosc>2</Ilosc><!-- opcjonalne --> | <Ilosc>2</Ilosc><!-- opcjonalne --> | ||
− | < | + | <Nazwa>Jakas usługa</Nazwa><!-- opcjonalne --><!-- jeśli nie podamy PriceID to Nazwa jest wymagana --> |
− | + | ||
</Pozycja> | </Pozycja> | ||
</EventCalendarZgloszenieUslugiAdd> | </EventCalendarZgloszenieUslugiAdd> |
Aktualna wersja na dzień 12:50, 13 gru 2017
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >EventCalendarZgloszenieUslugiAdd</ Type > < EventCalendarZgloszenieUslugiAdd > < CalendarID >4</ CalendarID > < CustomerID >4</ CustomerID > < Pozycja > <!-- może wystąpic wielokrotnie --> < PriceID >55</ PriceID > <!-- opcjonalne --> < Ilosc >2</ Ilosc > <!-- opcjonalne --> < Nazwa >Jakas usługa</ Nazwa > <!-- opcjonalne --> <!-- jeśli nie podamy PriceID to Nazwa jest wymagana --> </ Pozycja > </ EventCalendarZgloszenieUslugiAdd > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >EventCalendarZgloszenieUslugiAdd</ Type > < EventCalendarZgloszenieUslugiAdd > < ZgloszenieID >14</ ZgloszenieID > < DocumentID >4454</ DocumentID > </ EventCalendarZgloszenieUslugiAdd > </ 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łowy ID</ Error > </ Request > </ Net47 > //BEGINEND// |