CustomerGroupGetAll
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>3</Priority> <Term>Short</Term> <Request> <Type>CustomerGroupGetAll</Type> <CustomerGroupGetAll> <SortName>id</SortName> <SortType>ASC</SortType> <Status>1</Status><!-- opcjonalne, domyślnie: -1 --><!-- -1 (wszystkie), 0 (wyłączone), 1(włączone) </CustomerGroupGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>CustomerGroupGetAll</Type> <CustomerGroupGetAll> <CustomerGroup> <ID>1</ID> <Name>Testowa</Name> <Description>grupa testowa</Description> <Status>1</Status> </CustomerGroup> <CustomerGroup> <ID>1</ID> <Name>Testowa</Name> <Description>grupa testowa</Description> <Status>1</Status> </CustomerGroup> <CustomerGroup> <ID>1</ID> <Name>Testowa</Name> <Description>grupa testowa</Description> <Status>1</Status> </CustomerGroup> </CustomerGroupGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nie ma takiego pola</Error> </Request> </Net47> //BEGINEND//