StorageItemGetAll
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 4 wersji utworzonych przez 2 użytkowników) | |||
Linia 6: | Linia 6: | ||
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | ||
<Priority>0</Priority> | <Priority>0</Priority> | ||
+ | <Module>Storage</Module> | ||
<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 15: | ||
<Offset>1</Offset> | <Offset>1</Offset> | ||
<StorageID>4</StorageID> | <StorageID>4</StorageID> | ||
− | </ | + | <GroupID>2</GroupID><!-- opcjonalne --> |
+ | <Search>11:22:33:44:55:66</Search><!-- opcjonalne --><!-- MAC lub serial --> | ||
+ | </StorageItemGetAll> | ||
</Request> | </Request> | ||
</Net47> | </Net47> | ||
Linia 26: | Linia 29: | ||
<Net47> | <Net47> | ||
<Request> | <Request> | ||
− | <Type> | + | <Type>StorageItemGetAll</Type> |
− | < | + | <StorageItemGetAll> |
<Item> | <Item> | ||
<ID>2</ID> | <ID>2</ID> | ||
Linia 36: | Linia 39: | ||
<Unit>m</Unit> <!-- godz, kg, litr, m, mkw, opak, szt --> | <Unit>m</Unit> <!-- godz, kg, litr, m, mkw, opak, szt --> | ||
<Quantity>4.5</Quantity> | <Quantity>4.5</Quantity> | ||
− | < | + | <UnitID>6</UnitID> |
<MAC></MAC> | <MAC></MAC> | ||
<Serial></Serial> | <Serial></Serial> | ||
<SupplierID>4</SupplierID> | <SupplierID>4</SupplierID> | ||
<CreateDate>2012-04-07 11:11:11</CreateDate> | <CreateDate>2012-04-07 11:11:11</CreateDate> | ||
+ | <VatID>4</VatID> | ||
+ | <PriceNetto>10.00</PriceNetto> | ||
+ | <PriceBrutto>12.30</PriceBrutto> | ||
+ | <Desc>opis</Desc> | ||
</Item> | </Item> | ||
<Item> | <Item> | ||
− | <ID> | + | <ID>3</ID> |
<StorageID>4</StorageID> | <StorageID>4</StorageID> | ||
<ItemMapID>10</ItemMapID> | <ItemMapID>10</ItemMapID> | ||
Linia 50: | Linia 57: | ||
<Unit>m</Unit> <!-- godz, kg, litr, m, mkw, opak, szt --> | <Unit>m</Unit> <!-- godz, kg, litr, m, mkw, opak, szt --> | ||
<Quantity>4.5</Quantity> | <Quantity>4.5</Quantity> | ||
− | < | + | <UnitID>6</UnitID> |
<MAC></MAC> | <MAC></MAC> | ||
<Serial></Serial> | <Serial></Serial> | ||
<SupplierID>4</SupplierID> | <SupplierID>4</SupplierID> | ||
<CreateDate>2012-04-07 11:11:11</CreateDate> | <CreateDate>2012-04-07 11:11:11</CreateDate> | ||
+ | <VatID>4</VatID> | ||
+ | <PriceNetto>10.00</PriceNetto> | ||
+ | <PriceBrutto>12.30</PriceBrutto> | ||
+ | <Desc>opis</Desc> | ||
</Item> | </Item> | ||
− | </ | + | </StorageItemGetAll> |
</Request> | </Request> | ||
</Net47> | </Net47> |
Aktualna wersja na dzień 08:35, 13 lis 2017
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Storage</Module> <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> <GroupID>2</GroupID><!-- opcjonalne --> <Search>11:22:33:44:55:66</Search><!-- opcjonalne --><!-- MAC lub serial --> </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> <UnitID>6</UnitID> <MAC></MAC> <Serial></Serial> <SupplierID>4</SupplierID> <CreateDate>2012-04-07 11:11:11</CreateDate> <VatID>4</VatID> <PriceNetto>10.00</PriceNetto> <PriceBrutto>12.30</PriceBrutto> <Desc>opis</Desc> </Item> <Item> <ID>3</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> <UnitID>6</UnitID> <MAC></MAC> <Serial></Serial> <SupplierID>4</SupplierID> <CreateDate>2012-04-07 11:11:11</CreateDate> <VatID>4</VatID> <PriceNetto>10.00</PriceNetto> <PriceBrutto>12.30</PriceBrutto> <Desc>opis</Desc> </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//