CustomerNoteGetAll
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >CustomerNoteGetAll</ Type > < CustomerNoteGetAll > < CustomerID >3</ CustomerID > < Limit >10</ Limit > <!-- limit = 0 oznacza brak limitu --> < Offset >1</ Offset > <!-- w przypadku limit = 0, pole to nie moze istnieć --> <!-- opcjonalne --> < SortName >createdate</ SortName > < SortType >ASC</ SortType > </ CustomerNoteGetAll > </ 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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >CustomerNoteGetAll</ Type > < CustomerNoteGetAll > < Note > < ID >6</ ID > < UserID >8</ UserID > < Text >Klient jest niezdecydowany</ Text > < CreateDate >2012-04-02 10:00:21</ CreateDate > </ Note > < Note > < ID >3</ ID > < UserID >8</ UserID > < Text >jakis text</ Text > < CreateDate >2012-04-02 10:00:21</ CreateDate > </ Note > </ CustomerNoteGetAll > </ 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 takiego użytkownika lub brak uprawnień</ Error > </ Request > </ Net47 > //BEGINEND// |