PUT api/v{version}/AssetSales/UpdateStock/{id}?key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| id | integer |
Required |
|
| version | string |
None. |
Body Parameters
AssetStockDtoIN| Name | Description | Type | Additional information |
|---|---|---|---|
| AddDate | date |
None. |
|
| AssetId | integer |
None. |
|
| ExpectedDate | date |
None. |
|
| InternalRemarks | string |
None. |
|
| IsNewAsset | boolean |
None. |
|
| KindOrderId | integer |
None. |
|
| LocationId | integer |
None. |
|
| MarginAsset | boolean |
None. |
|
| OrderedDate | date |
None. |
|
| PurchasePrice | decimal number |
None. |
|
| ReadyForSaleCostsPrice | decimal number |
None. |
|
| Remarks | string |
None. |
|
| SellingPrice | decimal number |
None. |
|
| ShopId | integer |
None. |
|
| SupplierId | integer |
None. |
|
| TransportCostsPrice | decimal number |
None. |
|
| VatLiabilityPercentage | integer |
None. |
|
| WarrantyMonths | integer |
None. |
|
| BPM | decimal number |
None. |
|
| PurchasePriceVatExcl | decimal number |
None. |
|
| PurchaseVatAmount | decimal number |
None. |
|
| DesiredProfitMargin | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"AddDate": "2025-12-19T17:12:13.2701279+01:00",
"AssetId": 1,
"ExpectedDate": "2025-12-19T17:12:13.2701279+01:00",
"InternalRemarks": "sample string 2",
"IsNewAsset": true,
"KindOrderId": 4,
"LocationId": 5,
"MarginAsset": true,
"OrderedDate": "2025-12-19T17:12:13.2701279+01:00",
"PurchasePrice": 7.0,
"ReadyForSaleCostsPrice": 1.0,
"Remarks": "sample string 8",
"SellingPrice": 9.0,
"ShopId": 10,
"SupplierId": 1,
"TransportCostsPrice": 1.0,
"VatLiabilityPercentage": 1,
"WarrantyMonths": 1,
"BPM": 1.0,
"PurchasePriceVatExcl": 1.0,
"PurchaseVatAmount": 1.0,
"DesiredProfitMargin": 1.0
}
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. |