GET api/QueryAPi/GetStockRequestsByBranch?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StockRequestName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FromStore_Id | integer |
None. |
|
FromStore_Name | string |
None. |
|
ToStore_Id | integer |
None. |
|
ToStore_Name | string |
None. |
|
Date | date |
None. |
|
ItemName | string |
None. |
|
Qty | string |
None. |
|
ItemId | integer |
None. |
|
SentUser | string |
None. |
|
ActionUser | string |
None. |
|
Accepted | boolean |
None. |
|
Rejected | boolean |
None. |
|
Note | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "FromStore_Id": 2, "FromStore_Name": "sample string 3", "ToStore_Id": 4, "ToStore_Name": "sample string 5", "Date": "2025-04-03T21:58:22.3185402-07:00", "ItemName": "sample string 7", "Qty": "sample string 8", "ItemId": 9, "SentUser": "sample string 10", "ActionUser": "sample string 11", "Accepted": true, "Rejected": true, "Note": "sample string 14" }, { "Id": 1, "FromStore_Id": 2, "FromStore_Name": "sample string 3", "ToStore_Id": 4, "ToStore_Name": "sample string 5", "Date": "2025-04-03T21:58:22.3185402-07:00", "ItemName": "sample string 7", "Qty": "sample string 8", "ItemId": 9, "SentUser": "sample string 10", "ActionUser": "sample string 11", "Accepted": true, "Rejected": true, "Note": "sample string 14" } ]
application/xml, text/xml
Sample:
<ArrayOfStockRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models"> <StockRequest> <Accepted>true</Accepted> <ActionUser>sample string 11</ActionUser> <Date>2025-04-03T21:58:22.3185402-07:00</Date> <FromStore_Id>2</FromStore_Id> <FromStore_Name>sample string 3</FromStore_Name> <Id>1</Id> <ItemId>9</ItemId> <ItemName>sample string 7</ItemName> <Note>sample string 14</Note> <Qty>sample string 8</Qty> <Rejected>true</Rejected> <SentUser>sample string 10</SentUser> <ToStore_Id>4</ToStore_Id> <ToStore_Name>sample string 5</ToStore_Name> </StockRequest> <StockRequest> <Accepted>true</Accepted> <ActionUser>sample string 11</ActionUser> <Date>2025-04-03T21:58:22.3185402-07:00</Date> <FromStore_Id>2</FromStore_Id> <FromStore_Name>sample string 3</FromStore_Name> <Id>1</Id> <ItemId>9</ItemId> <ItemName>sample string 7</ItemName> <Note>sample string 14</Note> <Qty>sample string 8</Qty> <Rejected>true</Rejected> <SentUser>sample string 10</SentUser> <ToStore_Id>4</ToStore_Id> <ToStore_Name>sample string 5</ToStore_Name> </StockRequest> </ArrayOfStockRequest>