CustomerNoteGetAll
(Różnice między wersjami)
Linia 10: | Linia 10: | ||
<CustomerNoteGetAll> | <CustomerNoteGetAll> | ||
<CustomerID>3</CustomerID> | <CustomerID>3</CustomerID> | ||
− | <Limit>10</Limit> | + | <Limit>10</Limit> <!-- limit = 0 oznacza brak limitu --> |
+ | <Offset>1</Offset> <!-- w przypadku limit = 0, pole to nie moze istnieć --> <!-- opcjonalne --> | ||
<SortName>createdate</SortName> | <SortName>createdate</SortName> | ||
<SortType>ASC</SortType> | <SortType>ASC</SortType> |
Wersja z 10:23, 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</ Error > </ Request > </ Net47 > //BEGINEND// |