Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

Organizations - Service Level Agreements API

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

List all service level agreements which coverage field is set to organizations and which cover an organization with a specific ID.

GET /organizations/:id/slas
Status: 200 OK
[
{
"name": "BlackBerry Standard Smart Phone for Widget Data Center, External IT",
"created_at": "2016-03-14T03:10:46-06:00",
"sourceID": null,
"updated_at": "2016-03-14T03:10:46-06:00",
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 145,
"service_offering": {
"name": "BlackBerry Standard Smart Phone",
"service": {
"name": "Smart Phone",
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 45,
"provider": {
"name": "Widget North America, Information Technology",
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 45
}
},
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 62
},
"status": "active"
},
{
"name": "BlackBerry Standard Smart Phone for Widget Data Center, Internal IT",
"created_at": "2016-03-14T03:10:46-06:00",
"sourceID": null,
"updated_at": "2016-03-14T03:10:46-06:00",
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 146,
"service_offering": {
"name": "BlackBerry Standard Smart Phone",
"service": {
"name": "Smart Phone",
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 45,
"provider": {
"name": "Widget North America, Information Technology",
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 45
}
},
"account": {
"name": "Widget North America",
"id": "wna"
},
"id": 62
},
"status": "active"
},
"..."
]

The response contains these fields by default.

The following predefined filters are available:

  • /organizations/:id/slas/active : List all active service level agreements of an organization with a specific ID
  • /organizations/:id/slas/inactive : List all inactive service level agreements of an organization with a specific ID