POST api/StockItem
Request Information
URI Parameters
None.
Body Parameters
StockItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| StockId | integer |
None. |
|
| ItemId | integer |
None. |
|
| Stock | string |
None. |
|
| Item | string |
None. |
|
| QuantityWithUnit | string |
None. |
|
| Quantity | integer |
None. |
|
| AuditId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| LastModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"StockId": 2,
"ItemId": 3,
"Stock": "sample string 4",
"Item": "sample string 5",
"QuantityWithUnit": "sample string 6",
"Quantity": 7,
"AuditId": 8,
"CreatedBy": 9,
"LastModifiedBy": 1
}
application/xml, text/xml
Sample:
<StockItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain"> <CreatedBy>9</CreatedBy> <LastModifiedBy>1</LastModifiedBy> <AuditId>8</AuditId> <Id>1</Id> <Item>sample string 5</Item> <ItemId>3</ItemId> <Quantity>7</Quantity> <QuantityWithUnit>sample string 6</QuantityWithUnit> <Stock>sample string 4</Stock> <StockId>2</StockId> </StockItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |