CustomerNoteGetAll
(Różnice między wersjami)
Linia 49: | Linia 49: | ||
<Request> | <Request> | ||
<Type>Error</Type> | <Type>Error</Type> | ||
− | <Error>Nie ma takiego użytkownika</Error> | + | <Error>Nie ma takiego użytkownika lub brak uprawnień</Error> |
</Request> | </Request> | ||
</Net47> | </Net47> |
Wersja z 10:27, 12 lip 2012
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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >CustomerNoteGetAll</ Type > < CustomerNoteGetAll > < Note > < ID >6</ ID > < Text >Klient jest niezdecydowany</ Text > </ Note > < Note > < ID >3</ ID > < Text >jakis text</ Text > </ 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// |