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": "ae77d8e0-dc14-4d51-9db0-807869df1e26",
"name": "sample string 1",
"description": "sample string 2",
"assetTypeId": "34a34ede-84de-4cf8-b985-e536217a5722",
"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": "57e097f9-c12b-4a68-898d-106312bad305",
"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": "c9e1f31a-3580-48ba-a458-eeedac43213c",
"barcode": "sample string 12"
}
text/html
Sample:
{"id":"ae77d8e0-dc14-4d51-9db0-807869df1e26","name":"sample string 1","description":"sample string 2","assetTypeId":"34a34ede-84de-4cf8-b985-e536217a5722","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":"57e097f9-c12b-4a68-898d-106312bad305","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":"c9e1f31a-3580-48ba-a458-eeedac43213c","barcode":"sample string 12"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.