CustomerGroupAssignmentGetAll
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>3</Pr...”) |
|||
Linia 13: | Linia 13: | ||
<!-- LUB --> <!-- jesli obie opcje nie zostana podane, zostana wyswietlone wszystkie relacje --> | <!-- LUB --> <!-- jesli obie opcje nie zostana podane, zostana wyswietlone wszystkie relacje --> | ||
<GroupID>3</GroupID> <!-- opcjonalne --> | <GroupID>3</GroupID> <!-- opcjonalne --> | ||
− | <SortName>id</SortName> <!-- id, customers_id, group_id, name | + | <SortName>id</SortName> <!-- id, customers_id, group_id, name, opis --> |
<SortType>ASC</SortType> | <SortType>ASC</SortType> | ||
<Limit>50</Limit> <!-- limit = 0 oznacza brak limitu --> | <Limit>50</Limit> <!-- limit = 0 oznacza brak limitu --> |
Wersja z 11:12, 12 lip 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >3</ Priority > < Term >Short</ Term > < Request > < Type >CustomerGroupAssignmentGetAll</ Type > < CustomerGroupAssignmentGetAll > < CustomerID >3</ CustomerID > <!-- opcjonalne --> <!-- LUB --> <!-- jesli obie opcje nie zostana podane, zostana wyswietlone wszystkie relacje --> < GroupID >3</ GroupID > <!-- opcjonalne --> < SortName >id</ SortName > <!-- id, customers_id, group_id, name, opis --> < SortType >ASC</ SortType > < Limit >50</ Limit > <!-- limit = 0 oznacza brak limitu --> < Offset >1</ Offset > <!-- w przypadku limit = 0, pole to nie moze istnieć --> <!-- opcjonalne --> < CustomerStatus >1</ CustomerStatus > <!-- 1 = aktywny, 2 = zainteresowany, 3 = usunięty, 0 = wszyscy --> <!-- opcjonalne --> </ CustomerGroupAssignmentGetAll > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >CustomerGroupAssignmentGetAll</ Type > < CustomerGroupAssignmentGetAll > < Status >OK</ Status > </ CustomerGroupAssignmentGetAll > </ 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 >Grupa nie istnieje lub brak uprawnień</ Error > </ Request > </ Net47 > //BEGINEND// |