POST api/Stock
Request Information
URI Parameters
None.
Body Parameters
Stock| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| StoreId | integer |
None. |
|
| Store | string |
None. |
|
| EntryDate | date |
None. |
|
| AuditId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| LastModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"StoreId": 2,
"Store": "sample string 3",
"EntryDate": "2026-06-10T20:27:33.6020117+05:30",
"AuditId": 5,
"CreatedBy": 6,
"LastModifiedBy": 1
}
application/xml, text/xml
Sample:
<Stock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain"> <CreatedBy>6</CreatedBy> <LastModifiedBy>1</LastModifiedBy> <AuditId>5</AuditId> <EntryDate>2026-06-10T20:27:33.6020117+05:30</EntryDate> <Id>1</Id> <Store>sample string 3</Store> <StoreId>2</StoreId> </Stock>
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. |