EventCalendarZgloszenieUslugiAdd
Z Net47 2.0
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// |