StorageGetAll
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika) | |||
Linia 6: | Linia 6: | ||
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | ||
<Priority>0</Priority> | <Priority>0</Priority> | ||
+ | <Module>Storage</Module> | ||
<Request> | <Request> | ||
<Type>StorageGetAll</Type> | <Type>StorageGetAll</Type> | ||
Linia 59: | Linia 60: | ||
<Request> | <Request> | ||
<Type>Error</Type> | <Type>Error</Type> | ||
− | <Error>Brak uprawnień</Error> | + | <Error>Brak uprawnień, niepoprawne dane lub brak dostepnych magazynow</Error> |
</Request> | </Request> | ||
</Net47> | </Net47> |
Aktualna wersja na dzień 09:33, 13 lis 2017
Zapytanie:
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 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Storage</ Module > < Request > < Type >StorageGetAll</ Type > < StorageGetAll > < SortName >id</ SortName > < SortType >ASC</ SortType > < All >true</ All > <!-- w przypadku true, wyswietla wszystkie magazyny, zas false = tylko magazyny wlasne --> < Limit >10</ Limit > < Offset >1</ Offset > </ StorageGetAll > </ 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 23 24 25 26 27 28 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >StorageGetAll</ Type > < StorageGetAll > < Storage > < ID >2</ ID > < Name >Główny</ Name > < Description >magazyn główny</ Description > < CreateDate >2012-04-07 11:11:11</ CreateDate > </ Status > < Storage > < ID >3</ ID > < Name >Główny</ Name > < Description >magazyn główny</ Description > < CreateDate >2012-04-07 11:11:11</ CreateDate > </ Status > < Storage > < ID >4</ ID > < Name >Główny</ Name > < Description >magazyn główny</ Description > < CreateDate >2012-04-07 11:11:11</ CreateDate > </ Status > </ StorageGetAll > </ 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 >Brak uprawnień, niepoprawne dane lub brak dostepnych magazynow</ Error > </ Request > </ Net47 > //BEGINEND// |