POST api/CensimentoAsset
Documentation for 'UpgradeAsset'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| asset | Documentation for 'asset'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"AssetId": 1.0,
"category": "sample string 2",
"model": "sample string 3",
"locationId": 4.0,
"ins_timestamp": "2025-12-12T01:53:27.6607772+01:00",
"serial": "sample string 6",
"label": "sample string 7",
"machine_name": "sample string 8",
"brand": "sample string 9",
"assignedTo": 1.0,
"upd_timestamp": "2025-12-12T01:53:27.6607772+01:00",
"utilization": "sample string 11",
"check_assignment": "sample string 12",
"comments": "sample string 13",
"lParentId": 1.0,
"nature": "sample string 14",
"SID": "sample string 15",
"webUpdated": true,
"ticket": "sample string 17",
"floor": "sample string 18",
"room": "sample string 19",
"orderCol": "sample string 20",
"location": "sample string 21"
}
text/xml
Sample:
<AssetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WindAnagraficaRest.Models"> <AssetId>1</AssetId> <SID>sample string 15</SID> <assignedTo>1</assignedTo> <brand>sample string 9</brand> <category>sample string 2</category> <check_assignment>sample string 12</check_assignment> <comments>sample string 13</comments> <floor>sample string 18</floor> <ins_timestamp>2025-12-12T01:53:27.6607772+01:00</ins_timestamp> <lParentId>1</lParentId> <label>sample string 7</label> <location>sample string 21</location> <locationId>4</locationId> <machine_name>sample string 8</machine_name> <model>sample string 3</model> <nature>sample string 14</nature> <orderCol>sample string 20</orderCol> <room>sample string 19</room> <serial>sample string 6</serial> <ticket>sample string 17</ticket> <upd_timestamp>2025-12-12T01:53:27.6607772+01:00</upd_timestamp> <utilization>sample string 11</utilization> <webUpdated>true</webUpdated> </AssetModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
"sample string 1"
text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>