EventCalendarGetOne
(Różnice między wersjami)
Linia 43: | Linia 43: | ||
<CreateDate>2012-04-01 22:10:00</CreateDate> | <CreateDate>2012-04-01 22:10:00</CreateDate> | ||
<CloseDate>2012-06-01 10:00:12</CloseDate> <!-- czas zamkniecia notki, jesli brak - notka otwarta --> | <CloseDate>2012-06-01 10:00:12</CloseDate> <!-- czas zamkniecia notki, jesli brak - notka otwarta --> | ||
− | <HelpdeskZgloszenieID>12</HelpdeskZgloszenieID> <!-- id | + | <HelpdeskZgloszenieID>12</HelpdeskZgloszenieID> <!-- id zgloszenia w Helpdesku --> |
<UsersAssigned> <!-- uzytkownicy przypisani do notki --> | <UsersAssigned> <!-- uzytkownicy przypisani do notki --> | ||
<User> | <User> |
Wersja z 17:59, 27 lut 2013
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >EventCalendarGetOne</ Type > < EventCalendarGetOne > < CalendarID >4</ CalendarID > </ EventCalendarGetOne > </ 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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >EventCalendarGetOne</ Type > < EventCalendarGetOne > < CalendarID >4</ CalendarID > < CustomerName >Firma nowaFirma</ CustomerName > < City >Racibórz</ City > < Street >ul. Kościuszki</ Street > < Number >4/1</ Number > < CustomerID >84</ CustomerID > < ActionTypeName >Pomoc telefoniczna</ ActionTypeName > <!-- EventCalendarActionTypeGetAll --> < ActionTypeID >4</ ActionTypeID > <!-- EventCalendarActionTypeGetAll --> < Priority >2</ Priority > <!-- 1 = niski, 2 = normalny, 3 = wysoki --> < Print >true</ Print > <!-- czy wystepuje przy wydruku --> < Private >false</ Private > < Periodical >false</ Periodical > <!-- czy notka jest cykliczna --> < CloseUserID >1</ CloseUserID > <!-- jeżeli brak - notka jest otwarta, definiuje id uzytkownika ktory zamknal notke --> < ActionCloseDescription >klient specjalnej troski</ ActionCloseDescription > <!-- unikalny wpis tworzony podczas zamykania notki --> < DocumentID >8</ DocumentID > <!-- id faktury --> < DocumentCash >48.90</ DocumentCash > <!-- kwota wystawionej faktury --> < Counter >18</ Counter > <!-- licznik przeniesienia notki --> < CreateDate >2012-04-01 22:10:00</ CreateDate > < CloseDate >2012-06-01 10:00:12</ CloseDate > <!-- czas zamkniecia notki, jesli brak - notka otwarta --> < HelpdeskZgloszenieID >12</ HelpdeskZgloszenieID > <!-- id zgloszenia w Helpdesku --> < UsersAssigned > <!-- uzytkownicy przypisani do notki --> < User > < ID >4</ ID > <!-- id uzytkownika przypisanego do tej notki --> </ User > < User > < ID >23</ ID > </ User > </ UsersAssigned > < History > <!-- akcje jakie wystapily z ta notka, jej czasy przeniesienia --> < Action > < StartDate >2012-04-02 00:01:00</ StartDate > < StopDate >2012-04-04 15:01:00</ StopDate > < UserID >4</ UserID > <!-- id uzytkownika dokonującego zmiane --> < CreateDate >2012-04-01 12:34:11</ CreateDate > </ Action > < Action > < StartDate >2012-04-03 00:01:00</ StartDate > < StopDate >2012-04-05 15:01:00</ StopDate > < UserID >4</ UserID > < CreateDate >2012-04-03 12:34:11</ CreateDate > </ Action > </ History > < Notes > <!-- EventCalendarNoteGetAll --> < CalendarNote > < ID >4</ ID > < Note >zadzwonic do niego</ Note > < UserID >4</ UserID > < CreateDate >2012-01-01 00:01:00</ CreateDate > </ CalendarNote > < CalendarNote > < ID >4</ ID > < Note >zadzwonic do niego</ Note > < UserID >4</ UserID > < CreateDate >2012-01-01 00:01:00</ CreateDate > </ CalendarNote > < CalendarNote > < ID >4</ ID > < Note >zadzwonic do niego</ Note > < UserID >4</ UserID > < CreateDate >2012-01-01 00:01:00</ CreateDate > </ CalendarNote > </ Notes > < CloseDescription > <!-- EventCalendarActionCloseGetAll --> < ActionClose > < ID >4</ ID > < Name >Instalacja</ Name > < ClientFailure >true</ ClientFailure > <!-- definiuje czy usterka nastapila z winy klienta --> < CreateDate >2012-07-05 00:00:00</ Name > </ ActionClose > < ActionClose > < ID >5</ ID > < Name >Instalacja</ Name > < ClientFailure >true</ ClientFailure > < CreateDate >2012-07-05 00:00:00</ Name > </ ActionClose > < ActionClose > < ID >6</ ID > < Name >Instalacja</ Name > < ClientFailure >true</ ClientFailure > < CreateDate >2012-07-05 00:00:00</ Name > </ ActionClose > </ CloseDescription > </ EventCalendarGetOne > </ 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 notki</ Error > </ Request > </ Net47 > //BEGINEND// |