Get an SLM Service by ID
get
/api/SLM/Services/{id}
Gets the SLM service that matches the specified ID.
Request
Path Parameters
-
id(required): string
The SLM service ID.Example:
2dc9dcc2-635b-4b63-9a0e-35dcb05458c0
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Match All
Show Source
-
object
SuccessfulGetOperation
The response body for a successful get operation.
-
object
type
Nested Schema : SuccessfulGetOperation
Type:
object
The response body for a successful get operation.
Show Source
-
message: string
The response message.Example:
Loaded 1 entries
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object
-
data: array
data
The properties of the specified SLM service.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : SLMServicesReadByID
Type:
Show Source
object
-
_id: string
Service IDExample:
0253c68c-6e9c-4d86-be91-ac86c2756648
-
_parent_id: string
ServiceID of ParentExample:
root
-
_type: string
Service type. Allowed Values: - Service - ServiceMetric - ServiceEventExample:
Service
-
DeviceID: integer
Device IDExample:
1
-
EventCriticalThresholdOperator: string
Threshold Operator (Events only) Allowed Values: - '==' => Equals - '>' => Greater Than - '>=' => Greater Than or Equal - '<' => Less Than - '<=' => Less Than or Equal - '!=' => Not Equals='>'>Example:
<=
-
EventCriticalThresholdValue: integer
Threshold Value (Events Only)Example:
90
-
EventMetaEventID: integer
Meta Event ID to send when threshold triggers (Events Only)Example:
1
-
FullFormRec: boolean
Full Form RecExample:
true
-
HasEventProps: integer
Has event propsExample:
1
-
HasMetricProps: integer
Has metric propsExample:
1
-
iconClass: string
CSS class describing the serviceExample:
fa fa-tachometer x-tree-icon-glyph
-
InstanceID: integer
Used internally on update to determine if a metric needs to be re-created or looked up for a serviceExample:
1
-
Measurement: string
MeasurementExample:
metrictype_Service_Availability
-
MetricCriticalThresholdOperator: string
Critical Threshold Operator (Metrics Only) Allowed Values: - '==' => Equals - '>' => Greater Than - '>=' => Greater Than or Equal - '<' => Less Than - '<=' => Less Than or Equal - '!=' => Not Equals='>'>Example:
-
MetricCriticalThresholdValue: integer
Critical Threshold Value (Metrics Only)Example:
75
-
MetricGaugeViewID: integer
Gauge View Type ID (Metrics Only) Allowed Values: - 1 => Linear - 2 => LogarithmicExample:
1
-
MetricID: integer
Metric IDExample:
1361
-
MetricPollTime: integer
PollTime for a metricExample:
300
-
MetricThresholdID: integer
Critical Threshold ID for MetricExample:
0
-
MetricWarningThresholdOperator: string
Warning Threshold Operator (Metrics Only) Allowed Values: - '==' => Equals - '>' => Greater Than - '>=' => Greater Than or Equal - '<' => Less Than - '<=' => Less Than or Equal - '!=' => Not Equals='>'>Example:
-
MetricWarningThresholdValue: integer
Warning Threshold Value (Metrics Only) is the value used to check for metric violationExample:
15
-
Name: string
Name of the SLM ServiceExample:
test
-
OwnerUserGroupID: integer
Group that owns the serviceExample:
0
-
OwnerUserID: integer
The ID of the user that owns the service. This can never be an externally-authenticated transient user. 0 means it is public to all users in the owning group.Example:
0
-
ParentServiceID: string
ServiceID of ParentExample:
root
-
path: string
Tree path from the root down to this service.Example:
/Root/test
-
ServiceID: string
Service ID specified for individual CRUD operationsExample:
0253c68c-6e9c-4d86-be91-ac86c2756648
-
ServiceName: string
Service NameExample:
Service1
-
ServiceType: string
Service TypeExample:
Service
-
Status: string
Status of the Service (Enabled or Disabled)Example:
Enabled
-
StatusIcon: string
Status IconExample:
OrbGreen.png
-
StatusID: integer
The service status ID. Either 0 (disabled) or 1 (enabled).Example:
1
-
TimestampModified: integer
Timestamp ModifiedExample:
1698395096000
-
treedata: array
treedata
Tree path from the root down to this service broken out into array elements.
-
Weight: integer
SLM WeightExample:
1
Nested Schema : treedata
Type:
array
Tree path from the root down to this service broken out into array elements.
Show Source
Example:
0253c68c-6e9c-4d86-be91-ac86c2756648
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
object
An error.