PUT api/StockVehicleHeader/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UserStockVehicleHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| StockDate | date |
None. |
|
| SalesmanId | integer |
None. |
|
| VehicalId | integer |
None. |
|
| TotalQuantity | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"StockDate": "2025-12-15T21:35:28.3862007+05:30",
"SalesmanId": 3,
"VehicalId": 4,
"TotalQuantity": 5.0
}
application/xml, text/xml
Sample:
<UserStockVehicleHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model"> <Id>1</Id> <SalesmanId>3</SalesmanId> <StockDate>2025-12-15T21:35:28.3862007+05:30</StockDate> <TotalQuantity>5</TotalQuantity> <VehicalId>4</VehicalId> </UserStockVehicleHeader>
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. |