POST api/Store/AddOrganizationStockDetails
Request Information
URI Parameters
None.
Body Parameters
AddOrganizationStockDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessID | integer |
None. |
|
| Customerid | integer |
None. |
|
| Location | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| Mode | string |
None. |
|
| StockMode | string |
None. |
|
| AgentID | integer |
None. |
|
| StockType | integer |
None. |
|
| MeetingID | string |
None. |
|
| Offlinecustomerid | string |
None. |
|
| stockTakings | Collection of StockTaking |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessID": 1,
"Customerid": 2,
"Location": "sample string 3",
"Latitude": "sample string 4",
"Longitude": "sample string 5",
"Mode": "sample string 6",
"StockMode": "sample string 7",
"AgentID": 8,
"StockType": 9,
"MeetingID": "sample string 10",
"Offlinecustomerid": "sample string 11",
"stockTakings": [
{
"ItemID": 1,
"CurrentStock": 2,
"BrandID": 3,
"STT": 4,
"StockType": 5,
"UOM": "sample string 6"
},
{
"ItemID": 1,
"CurrentStock": 2,
"BrandID": 3,
"STT": 4,
"StockType": 5,
"UOM": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<AddOrganizationStockDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
<AgentID>8</AgentID>
<BusinessID>1</BusinessID>
<Customerid>2</Customerid>
<Latitude>sample string 4</Latitude>
<Location>sample string 3</Location>
<Longitude>sample string 5</Longitude>
<MeetingID>sample string 10</MeetingID>
<Mode>sample string 6</Mode>
<Offlinecustomerid>sample string 11</Offlinecustomerid>
<StockMode>sample string 7</StockMode>
<StockType>9</StockType>
<stockTakings>
<StockTaking>
<BrandID>3</BrandID>
<CurrentStock>2</CurrentStock>
<ItemID>1</ItemID>
<STT>4</STT>
<StockType>5</StockType>
<UOM>sample string 6</UOM>
</StockTaking>
<StockTaking>
<BrandID>3</BrandID>
<CurrentStock>2</CurrentStock>
<ItemID>1</ItemID>
<STT>4</STT>
<StockType>5</StockType>
<UOM>sample string 6</UOM>
</StockTaking>
</stockTakings>
</AddOrganizationStockDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.