Read Details of a Property Set Type
With this method, you can read the details of the specified property set type.
Request
URI: /ThingConfiguration/v1/PropertySetTypes('<property set type name>')
Operation Type: CRUD
HTTP Method: GET
Permissions: <thingconf>.r
Request Headers
| Header | Required | Values |
|---|---|---|
| Accept-Language | No | Language of the property set type description. The default language is en. |
Request Parameters
| Parameter | Required | Data Type | Description |
|---|---|---|---|
| property set type name | Yes | String | Name of the property set type |
Request Example
/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')Response
Response Headers
| Header | Description |
|---|---|
| Etag | Entity tag of the newly created property set type instance. The system generates a new value and replaces the old value every time a property set type is updated. |
Response Status and Error Codes
| Code | Description |
|---|---|
| 200 | Details of the specified property set type retrieved successfully |
Payload
Format: JSON
Media types supported are JSON and XML. The JSON for this method has the structure as depicted in the following examples:
Example 1
(/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine'))
Retrieves details of the property set type core.automobiles:Engine.
{
"d": {
"__metadata": {
"id": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')",
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')",
"type": "com.sap.appiot.PropertySetType"
},
"Name": "core.automobiles:Engine",
"PackageName": "core.automobiles",
"DataCategory": "TimeSeriesData",
"Description": "Sensory Parameters for Engine",
"ReferredPropertySetType": null,
"CopySource": null,
"NumberOfProperties": null,
"IsMultiLingual": null,
"Properties": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')/Properties"
}
},
"Descriptions": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')/Descriptions"
}
},
"Annotations": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')/Annotations"
}
}
}
}
Example 2
/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')?$format=json?$expand=Descriptions
Retrieves details of the property set type core.automobiles:Engine along with descriptions in all specified languages.
{
"d": {
"__metadata": {
"id": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')",
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')",
"type": "com.sap.appiot.PropertySetType"
},
"Name": "core.automobiles:Engine",
"PackageName": "core.automobiles",
"DataCategory": "TimeSeriesData",
"Description": null,
"ReferredPropertySetType": null,
"CopySource": null,
"NumberOfProperties": null,
"IsMultiLingual": null,
"Properties": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')/Properties"
}
},
"Descriptions": {
"results": [{
"LanguageCode": "en",
"Description": "Sensory parameters for Engine"
}]
},
"Annotations": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')/Annotations"
}
}
}
}
Example 3
/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')?$format=json?$expand=Properties
Retrieves details of the property set type core.automobiles:Engine along with its properties.
{
"d": {
"__metadata": {
"id": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')",
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')",
"type": "com.sap.appiot.PropertySetType"
},
"Name": "core.automobiles:Engine",
"PackageName": "core.automobiles",
"DataCategory": "TimeSeriesData",
"Description": "Sensory parameters for Engine",
"ReferredPropertySetType": null,
"CopySource": null,
"NumberOfProperties": null,
"IsMultiLingual": null,
"Properties": {
"results": [{
"Name": "variable_1",
"PropertySetType": "core.automobiles:Engine",
"Description": "Temperature of the Engine",
"Type": "Numeric",
"PropertyType": "",
"PropertyLength": "",
"QualityCode": "1",
"UnitOfMeasure": null,
"ReferenceProperty": null,
"AttributeType": "",
"Operation": "",
"IsMultiLingual": null
},
{
"Name": "variable_2",
"PropertySetType": "core.automobiles:Engine",
"Description": "Pressure of the Engine",
"Type": "Numeric",
"PropertyType": "",
"PropertyLength": "",
"QualityCode": "1",
"UnitOfMeasure": null,
"ReferenceProperty": null,
"AttributeType": "",
"Operation": "",
"IsMultiLingual": null
}
]
},
"Descriptions": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')/Descriptions"
}
},
"Annotations": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')/Annotations"
}
}
}
}
Example 4
/ThingConfiguration/v1/PropertySetTypes('core.automobiles:Engine')?$format=json?$expand=Properties/Annotations
Retrieves details of the property set type core.automobiles:Engine along with its properties and annotations defined for the properties.
{
"d": {
"__metadata": {
"id": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')",
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')",
"type": "com.sap.appiot.PropertySetType"
},
"Name": "core.automobiles%3AEngine",
"PackageName": "core.automobiles",
"DataCategory": "TimeSeriesData",
"Description": "Sensory parameters for Engine",
"ReferredPropertySetType": null,
"CopySource": null,
"NumberOfProperties": null,
"IsMultiLingual": null,
"Properties": {
"results": [{
"__metadata": {
"id": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='variable_1',PropertySetType='core.automobiles%3AEngine')",
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='variable_1',PropertySetType='core.automobiles%3AEngine')",
"type": "com.sap.appiot.Property"
},
"Name": "Temperature",
"PropertySetType": "core.automobiles:Engine",
"Description": "Temperature of the Engine",
"Type": "String",
"PropertyLength": "",
"QualityCode": "1",
"UnitOfMeasure": null,
"ReferenceProperty": "",
"AttributeType": "",
"Operation": "",
"PropertyType": "",
"IsMultiLingual": null,
"Descriptions": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='variable_1',PropertySetType='core.automobiles%3AEngine')/Descriptions"
}
},
"Annotations": {
"results": [{
"Name": "core.automobiles:Pressure108",
"PackageName": "core.automobiles",
"Description": null
}]
},
"ReferenceProperties": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='variable_1',PropertySetType='core.automobiles%3AEngine')/ReferenceProperties"
}
}
},
{
"__metadata": {
"id": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='Pressure',PropertySetType='core.automobiles%3AEngine')",
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='Pressure',PropertySetType='core.automobiles%3AEngine')",
"type": "com.sap.appiot.Property"
},
"Name": "Pressure",
"PropertySetType": "'core.automobiles%3AEngine",
"Description": "",
"Type": "Numeric",
"PropertyLength": "",
"QualityCode": "1",
"UnitOfMeasure": "",
"ReferenceProperty": "",
"AttributeType": "",
"Operation": "",
"PropertyType": "",
"IsMultiLingual": null,
"Descriptions": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='Pressure',PropertySetType='core.automobiles%3AEngine')/Descriptions"
}
},
"Annotations": {
"results": [{
"Name": " com.sap.appiot.analytics:dimension",
"PackageName": "core.automobiles",
"Description": null
}]
},
"ReferenceProperties": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/Properties(Name='Pressure',PropertySetType='core.automobiles%3AEngine')/ReferenceProperties"
}
}
}
]
},
"Descriptions": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')/Descriptions"
}
},
"Annotations": {
"__deferred": {
"uri": "https://config-thing-sap-ci.cfapps.sap.hana.ondemand.com:443/ThingConfiguration/v1/PropertySetTypes('core.automobiles%3AEngine')/Annotations"
}
}
}
}