View property template
- Print
- PDF
View property template
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Summary
Searches for a property template.
Request
Request URL
GET {CLOUD_IOT_CORE_API_URL}/propertytemplates/{propertyTemplateName}
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
Category | Requirement status | Type | Description |
---|---|---|---|
propertyTemplateName | Yes | string | Property template name |
Response
Response body
{
"status": "string",
"body": {
"name": "string",
"key": ["string"],
"modifyTime": "localDateTime",
"registerTime": "localDateTime"
}
}
Category | Type | Description |
---|---|---|
status | string | Indicates whether response was successful |
body.name | string | Property template name |
body.key | list[string] | Property template key list |
body.modifyTime | localDateTime | Property template modified date |
body.registerTime | localDateTime | Property template recent creation date |
Example
{
"status": "SUCCESS",
"body": {
"name": "bulb_template",
"key": ["lux", "ampere"],
"modifyTime": "2020-09-25 14:15:25",
"registerTime": "2020-09-25 14:15:25"
}
}
Was this article helpful?