POST SaveAssetsparesAPI?databaseKey={databaseKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| databaseKey | string |
Required |
Body Parameters
Assetspares_BO| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetId | integer |
None. |
|
| ItemId | string |
None. |
|
| PartNo | string |
None. |
|
| PartDesc | string |
None. |
|
| Req_Qty | string |
None. |
|
| Frequency | string |
None. |
|
| Apro_Cost | decimal number |
None. |
|
| StoresQty | decimal number |
None. |
|
| Category | string |
None. |
|
| Description | string |
None. |
|
| MaterialType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssetId": 1,
"ItemId": "sample string 2",
"PartNo": "sample string 3",
"PartDesc": "sample string 4",
"Req_Qty": "sample string 5",
"Frequency": "sample string 6",
"Apro_Cost": 7.0,
"StoresQty": 8.0,
"Category": "sample string 9",
"Description": "sample string 10",
"MaterialType": "sample string 11"
}
application/xml, text/xml
Sample:
<Assetspares_BO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rx2025_Api.Controllers"> <Apro_Cost>7</Apro_Cost> <AssetId>1</AssetId> <Category>sample string 9</Category> <Description>sample string 10</Description> <Frequency>sample string 6</Frequency> <ItemId>sample string 2</ItemId> <MaterialType>sample string 11</MaterialType> <PartDesc>sample string 4</PartDesc> <PartNo>sample string 3</PartNo> <Req_Qty>sample string 5</Req_Qty> <StoresQty>8</StoresQty> </Assetspares_BO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.