DELETE v2/Assets/{assetId}/CustomFields/{assetCustomFieldDefinitionId}

Deletes the value for a specific custom field on a given asset.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assetId

Asset to delete custom field value for.

integer

Required

assetCustomFieldDefinitionId

ID of the specific custom field value to delete.

integer

Required

Body Parameters

Lhp.EquipmentIntelligence.WebApi.Client.Models.AssetCustomFieldValue
NameDescriptionTypeAdditional information
AssetCustomFieldDefinitionId

Identifier of the definition of the custom field.

integer

None.

AssetId

Identifier of the asset the value is being assigned to.

integer

None.

Value

The value of the custom field for the assigned asset.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetCustomFieldDefinitionId": 1,
  "AssetId": 2,
  "Value": "sample string 3"
}

application/xml, text/xml

Sample:
<AssetCustomFieldValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AssetCustomFieldDefinitionId>1</AssetCustomFieldDefinitionId>
  <AssetId>2</AssetId>
  <Value>sample string 3</Value>
</AssetCustomFieldValue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OK

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.