REST API - Services "Properties"
Trying to get "serviceProperties" to populate when pulled via the REST API.
I add a Properties entry on a Web Service Check: Name - [account_name], Value - [TheoretDevelopment] but the results always come back empty. Tried various options.
Does the REST API actually support this field? Any assistance would be much appreciated.
Thank you!
serviceProperties | The properties associated with the Service | JSON Object | "serviceProperties" : [ {"name" : "billing","value" : "website"}, {"name" : "team","value" : "TechOps"}, {"name" : "production","value" : "true"} ] |
{
"type": "webservice",
"id": 177,
"name": "careers.zzz.org",
"description": "If this site goes down, follow standard critical alert procedures per the client policy",
"serviceFolderId": 247,
"stopMonitoring": false,
"stopMonitoringByFolder": false,
"disableAlerting": false,
"individualSmAlertEnable": false,
"individualAlertLevel": "warn",
"overallAlertLevel": "critical",
"alertStatus": "none",
"alertStatusPriority": 100000,
"sdtStatus": "none-none-none",
"alertDisableStatus": "none-none-none",
"pollingInterval": 1,
"transition": 9,
"testLocation": "{\"all\":false,\"smgIds\":[1,2]}",
"globalSmAlertCond": 0,
"useDefaultLocationSetting": false,
"useDefaultAlertSetting": false,
"userPermission": "write",
"checkpoints": " ",
"serviceProperties": "",
"serviceStatus": "alive",
"isInternal": false,
"collectors": "",
"script": "",
"method": "tabledriven",
"ignoreSSL": true,
"pageLoadAlertTimeInMS": 30000,
"steps": ""
},