POST api/stock/entry
Request Information
URI Parameters
None.
Body Parameters
StockEntryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| OfferingId | integer |
None. |
|
| OfferingName | string |
None. |
|
| StockFrom | string |
None. |
|
| StockFromId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| StockType | string |
None. |
|
| CompanyId | integer |
None. |
|
| UserId | integer |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OfferingId": 1,
"OfferingName": "sample string 2",
"StockFrom": "sample string 3",
"StockFromId": 4,
"Quantity": 5.0,
"StockType": "sample string 6",
"CompanyId": 7,
"UserId": 8,
"Remarks": "sample string 9"
}
application/xml, text/xml
Sample:
<StockEntryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <CompanyId>7</CompanyId> <OfferingId>1</OfferingId> <OfferingName>sample string 2</OfferingName> <Quantity>5</Quantity> <Remarks>sample string 9</Remarks> <StockFrom>sample string 3</StockFrom> <StockFromId>4</StockFromId> <StockType>sample string 6</StockType> <UserId>8</UserId> </StockEntryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Data": {},
"Message": "sample string 3",
"Type": 4
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <Data /> <Message>sample string 3</Message> <Status>sample string 1</Status> <Type>4</Type> </APIResponse>