PUT api/assets/update
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.Assets.AssetDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| AssetTypeId | globally unique identifier |
None. |
|
| Location | string |
None. |
|
| LocationId | string |
None. |
|
| ExternalReference | string |
None. |
|
| SerialNumber | string |
None. |
|
| AssetNumber | string |
None. |
|
| Notes | string |
None. |
|
| SiteId | globally unique identifier |
None. |
|
| Owner | string |
None. |
|
| Image | string |
None. |
|
| FlexFieldValues | Collection of API.Infrastructure.Dto.Assets.AssetDto+FlexFieldValue |
None. |
|
| HierarchicalLocationId | globally unique identifier |
None. |
|
| Barcode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "84a71c0c-475a-4316-8c58-e2ae57efc83e",
"name": "sample string 1",
"description": "sample string 2",
"assetTypeId": "72ffec7d-78a4-4eaa-bd42-a571178ff2f4",
"location": "sample string 4",
"locationId": "sample string 5",
"externalReference": "sample string 6",
"serialNumber": "sample string 7",
"assetNumber": "sample string 8",
"notes": "sample string 9",
"siteId": "8fcf7dd7-e662-4d35-80ae-791b4966448e",
"owner": "sample string 10",
"image": "sample string 11",
"flexFieldValues": [
{
"flexField": "sample string 1",
"value": "sample string 2"
},
{
"flexField": "sample string 1",
"value": "sample string 2"
}
],
"hierarchicalLocationId": "ebcf2f6e-8d61-4d08-9179-dc8cdb08ab98",
"barcode": "sample string 12"
}
text/html
Sample:
{"id":"84a71c0c-475a-4316-8c58-e2ae57efc83e","name":"sample string 1","description":"sample string 2","assetTypeId":"72ffec7d-78a4-4eaa-bd42-a571178ff2f4","location":"sample string 4","locationId":"sample string 5","externalReference":"sample string 6","serialNumber":"sample string 7","assetNumber":"sample string 8","notes":"sample string 9","siteId":"8fcf7dd7-e662-4d35-80ae-791b4966448e","owner":"sample string 10","image":"sample string 11","flexFieldValues":[{"flexField":"sample string 1","value":"sample string 2"},{"flexField":"sample string 1","value":"sample string 2"}],"hierarchicalLocationId":"ebcf2f6e-8d61-4d08-9179-dc8cdb08ab98","barcode":"sample string 12"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.