StorageItemGetAll
(Różnice między wersjami)
Linia 7: | Linia 7: | ||
<Priority>0</Priority> | <Priority>0</Priority> | ||
<Request> | <Request> | ||
− | <Type> | + | <Type>StorageItemGetAll</Type> |
− | < | + | <StorageItemGetAll> |
<SortName>nazwa</SortName> <!-- nazwa, grupa, id, towar_id, ilosc, miara, mac, serial --> | <SortName>nazwa</SortName> <!-- nazwa, grupa, id, towar_id, ilosc, miara, mac, serial --> | ||
<SortType>ASC</SortType> | <SortType>ASC</SortType> | ||
Linia 14: | Linia 14: | ||
<Offset>1</Offset> | <Offset>1</Offset> | ||
<StorageID>4</StorageID> | <StorageID>4</StorageID> | ||
− | </ | + | </StorageItemGetAll> |
</Request> | </Request> | ||
</Net47> | </Net47> | ||
Linia 26: | Linia 26: | ||
<Net47> | <Net47> | ||
<Request> | <Request> | ||
− | <Type> | + | <Type>StorageItemGetAll</Type> |
− | < | + | <StorageItemGetAll> |
<Item> | <Item> | ||
<ID>2</ID> | <ID>2</ID> | ||
Linia 56: | Linia 56: | ||
<CreateDate>2012-04-07 11:11:11</CreateDate> | <CreateDate>2012-04-07 11:11:11</CreateDate> | ||
</Item> | </Item> | ||
− | </ | + | </StorageItemGetAll> |
</Request> | </Request> | ||
</Net47> | </Net47> |
Wersja z 11:25, 8 sie 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>StorageItemGetAll</Type> <StorageItemGetAll> <SortName>nazwa</SortName> <!-- nazwa, grupa, id, towar_id, ilosc, miara, mac, serial --> <SortType>ASC</SortType> <Limit>50</Limit> <Offset>1</Offset> <StorageID>4</StorageID> </StorageItemGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>StorageItemGetAll</Type> <StorageItemGetAll> <Item> <ID>2</ID> <StorageID>4</StorageID> <ItemMapID>10</ItemMapID> <GroupName>Przewody</GroupName> <ItemMapName>h155</ItemMapName> <Unit>m</Unit> <!-- godz, kg, litr, m, mkw, opak, szt --> <Quantity>4.5</Quantity> <DocumentID>41</DocumentID> <MAC></MAC> <Serial></Serial> <SupplierID>4</SupplierID> <CreateDate>2012-04-07 11:11:11</CreateDate> </Item> <Item> <ID>2</ID> <StorageID>4</StorageID> <ItemMapID>10</ItemMapID> <GroupName>Przewody</GroupName> <ItemMapName>h155</ItemMapName> <Unit>m</Unit> <!-- godz, kg, litr, m, mkw, opak, szt --> <Quantity>4.5</Quantity> <DocumentID>41</DocumentID> <MAC></MAC> <Serial></Serial> <SupplierID>4</SupplierID> <CreateDate>2012-04-07 11:11:11</CreateDate> </Item> </StorageItemGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Brak uprawnień</Error> </Request> </Net47> //BEGINEND//