POST v2/Assets/Beacons

Provisions a beacon to a customer and assigns a new asset to it.

Request Information

URI Parameters

None.

Body Parameters

Lhp.EquipmentIntelligence.WebApi.Client.Models.BeaconAsset
NameDescriptionTypeAdditional information
BeaconName

UUID of the beacon.

string

None.

AssetName

Name of the asset the beacon is being attached to.

string

None.

ReportingTimeZone

Time zone the asset is in.

string

None.

CustomerAssetTypeId

Type of the asset, if any.

integer

None.

CustomerAssetTypeName

Name of the type of the asset, especially if creating a new type.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BeaconName": "sample string 1",
  "AssetName": "sample string 2",
  "ReportingTimeZone": "sample string 3",
  "CustomerAssetTypeId": 1,
  "CustomerAssetTypeName": "sample string 4"
}

application/xml, text/xml

Sample:
<BeaconAsset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BeaconName>sample string 1</BeaconName>
  <AssetName>sample string 2</AssetName>
  <ReportingTimeZone>sample string 3</ReportingTimeZone>
  <CustomerAssetTypeId>1</CustomerAssetTypeId>
  <CustomerAssetTypeName>sample string 4</CustomerAssetTypeName>
</BeaconAsset>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.