surveyTemplate¶
Supported, no replacement yet
This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.
Reference¶
/rest/assetmgmt/survey/surveyTemplates/{survey-id-list}
GET
Gets the configuration details of a list of Survey templates.available response representations:
- 200 - application/json
{
"surveyTemplates":[
{ "id":"484848", //survey id "name":"Gas Survey", "tabletNumColumns":"3",
"assetTypes":[ {
"id":"85858", //surveyassettype id "name":"Boiler", //assettype "attributeGroups":[ { "id":"332", //assetTypeAttributeGroup "name":"group7", //assettypeattgroup "sequence":"1", //assettypeattgroup "attributes":[ { "id":"424", //assettypeattribute "name":"Valve Type", //attribute "mandatory":"Y", //assettypeattribute "sequence":"1", //assettypeattribute "defaultValue":"7", //assettypeattribute "type":"1", //attribute "dataType":"1", //attribute "minValue":"", //attribute "maxValue":"", //attribute "lookupValues":[ //from attributelookup table, only populated if type is Lookup { "id":"343", //attlook "sequence":"1", //attlook, dictates order value occurs in lookup "value":"1" //attlook } ] } ] } ]
"libraryAssets":[ { "id":"7474", //libraryAssetID "model":"Heater-3000", "manufacturerID":"78", "autocode":"MAX-DOA9132884" } ] } ],
result:'success', result_msg:''}See the Asset Management API matrix for the full list of endpoints in this category.