POST api/Store/AddOrganizationStockDetails
Request Information
URI Parameters
None.
Body Parameters
AddOrganizationStockDetailsName | 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BusinessID>1</BusinessID> <Customerid>2</Customerid> <Location>sample string 3</Location> <Latitude>sample string 4</Latitude> <Longitude>sample string 5</Longitude> <Mode>sample string 6</Mode> <StockMode>sample string 7</StockMode> <AgentID>8</AgentID> <StockType>9</StockType> <MeetingID>sample string 10</MeetingID> <Offlinecustomerid>sample string 11</Offlinecustomerid> <stockTakings> <StockTaking> <ItemID>1</ItemID> <CurrentStock>2</CurrentStock> <BrandID>3</BrandID> <STT>4</STT> <StockType>5</StockType> <UOM>sample string 6</UOM> </StockTaking> <StockTaking> <ItemID>1</ItemID> <CurrentStock>2</CurrentStock> <BrandID>3</BrandID> <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
Sample:
Sample not available.