CustomerNoteGetAll
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 2 wersji utworzonych przez jednego użytkownika) | |||
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> | ||
Linia 29: | Linia 30: | ||
<Note> | <Note> | ||
<ID>6</ID> | <ID>6</ID> | ||
+ | <UserID>8</UserID> | ||
<Text>Klient jest niezdecydowany</Text> | <Text>Klient jest niezdecydowany</Text> | ||
+ | <CreateDate>2012-04-02 10:00:21</CreateDate> | ||
</Note> | </Note> | ||
<Note> | <Note> | ||
<ID>3</ID> | <ID>3</ID> | ||
+ | <UserID>8</UserID> | ||
<Text>jakis text</Text> | <Text>jakis text</Text> | ||
+ | <CreateDate>2012-04-02 10:00:21</CreateDate> | ||
</Note> | </Note> | ||
</CustomerNoteGetAll> | </CustomerNoteGetAll> | ||
Linia 48: | Linia 53: | ||
<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> |
Aktualna wersja na dzień 12:38, 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 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// |