EventCalendarAdd
Z Net47 2.0
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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >EventCalendarAdd</ Type > < EventCalendarAdd > < NodeID >567</ NodeID > <!-- opcjonalne --> < CustomerID >4</ CustomerID > <!-- opcjonalne --> < HelpDeskID >4</ HelpDeskID > <!-- opcjonalne --> < ActionTypeID >89</ ActionTypeID > <!-- EventCalendarActionTypeGetAll --> < Priority >2</ Priority > <!-- 1 = niski, 2 = normalny, 3 = wysoki --> < Private >true</ Private > <!-- definiuje czy wiadomość jest prywatna (widoczna tylko dla odbiorcy notki) --> < Print >true</ Print > <!-- definiuje czy notka ma pojawić się na wydruku --> < StartDate >2012-01-01 12:12:00</ StartDate > < StopDate >2012-01-02 09:00:01</ StopDate > < Locked >true</ Locked > <!-- true - zdarzenie zablokowane bez możliwości przesunięcia --> < DiffrentAddressSym >767</ DiffrentAddressSym > <!-- opcjonalne --> < DiffrentAddressUlic >7567</ DiffrentAddressUlic > <!-- opcjonalne --> < DiffrentAddressNumer >gfhgf78</ DiffrentAddressNumer > <!-- opcjonalne --> < DiffrentAddressMiasto >Racibórz</ DiffrentAddressMiasto > <!-- opcjonalne --> < DiffrentAddressUlica >Opolska</ DiffrentAddressUlica > <!-- opcjonalne --> < PrzeniesAutomat >false</ PrzeniesAutomat > <!-- opcjonalne --> </ EventCalendarAdd > </ 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 >EventCalendarAdd</ Type > < EventCalendarAdd > < ID >4</ ID > </ EventCalendarAdd > </ 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 >Brak uprawnień do klienta</ Error > </ Request > </ Net47 > //BEGINEND// |