POST API/V40/System/Properties/{propertyCode}/Assets
Add a new asset
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
propertyCode |
The property's code which the asset belongs to |
string |
Required |
Body Parameters
The request model
AddAssetRequestName | Description | Type | Additional information |
---|---|---|---|
AssetManagementPin |
This pin is used to pair a new asset. |
string |
Required |
Asset |
The new asset to be paired. |
AssetRequest |
Required |
SessionToken |
The token associated with this session of API interactions. This token should always be included in API calls, because it contains important session state information. |
string |
Required |
Request Formats
application/json, text/json
{ "assetManagementPin": "sample string 1", "asset": { "assetId": "sample string 1", "roomNumber": "sample string 2" }, "sessionToken": "sample string 2" }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ResponseContainerModelName | Description | Type | Additional information |
---|---|---|---|
SessionToken |
The token associated with this session of API interactions. Generally this is the same token passed with the API request parameters, but under certain circumstances this can be changed before being sent back to the caller. |
string | |
ResponsesIncluded |
A list of response messages names contained in this composite message, for easy pre-parsing. |
string | |
Responses |
A list of response messages contained in this composite message. |
Collection of Object | |
Status |
The success status the composite message. |
CompositeStatus |
Response Formats
application/json, text/json
Sample not available.