StorageItemGetAll
(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>0</Pr...”) |
|||
Linia 28: | Linia 28: | ||
<Type>StorageGetAll</Type> | <Type>StorageGetAll</Type> | ||
<StorageGetAll> | <StorageGetAll> | ||
− | < | + | <Item> |
<ID>2</ID> | <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> | <CreateDate>2012-04-07 11:11:11</CreateDate> | ||
− | </ | + | </Item> |
− | < | + | <Item> |
− | <ID> | + | <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> | <CreateDate>2012-04-07 11:11:11</CreateDate> | ||
− | </ | + | </Item> |
</StorageGetAll> | </StorageGetAll> | ||
</Request> | </Request> |
Wersja z 12:03, 8 sie 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Request > < Type >StorageGetAll</ Type > < StorageGetAll > < SortName >nazwa</ SortName > <!-- nazwa, grupa, id, towar_id, ilosc, miara, mac, serial --> < SortType >ASC</ SortType > < Limit >50</ Limit > < Offset >1</ Offset > < StorageID >4</ StorageID > </ 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 29 30 31 32 33 34 35 36 37 38 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >StorageGetAll</ Type > < StorageGetAll > < 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 > </ 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ń</ Error > </ Request > </ Net47 > //BEGINEND// |