Data - Retrieve SLA Data

Retrieves SLA data for the provided SLA request

POST http://<Servername>/OperationsManager/data/sla

Request Body

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Required Type Description
duration True

string

duration

id True

string

id

managementGroupId True

string

Management group ID

value True

integer

value

Responses

Name Type Description
200 OK

SLAResponse

OK.Successfully retrieved SLA data.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Examples

RetrieveSLAData

Sample Request

POST http://<Servername>/OperationsManager/data/sla

{
  "value": 0,
  "duration": "10",
  "id": "e9163d5b-cb1f-7b06-ea4b-a984d0420f8d",
  "managementGroupId": "47bc8393-fecb-9791-4b3d-fdca7cc8bc79"
}

Sample Response

{
  "name": "Application Service SLA",
  "id": "e9163d5b-cb1f-7b06-ea4b-a984d0420f8d",
  "slaManagedEntityRowId": 141,
  "slos": [
    {
      "id": "c67b6541-9a21-3745-bef3-b6542dd380a7",
      "name": "Application Service SLO1",
      "targetClassName": "Service"
    }
  ]
}

Definitions

Name Description
SLARequest
SLAResponse
SLOResponse

SLARequest

Name Type Description
duration

string

duration

id

string

id

managementGroupId

string

Management group ID

value

integer

value

SLAResponse

Name Type Description
id

string

SLA ID

name

string

SLA Name

slaManagedEntityRowId

integer

SLA Managed Entity Row ID

slos

SLOResponse[]

SLO data

SLOResponse

Name Type Description
id

string

SLO ID

name

string

SLO Name

targetClassName

string

SLO Target Class Name