Api >

Service Portal REST API

GET list of PortalLog Objects as Customer
Given I am authenticated as K0002
When I send /api/tenants/K0002/audit/type
Then I should receive HTTP/1.1 200 OK
with following body
{
  "href": "/api/tenants/K0002/audit/type",
  "items": [{
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "CallthroughNumberMap"
    }]
  }, {
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "PhoneBookEntry"
    }]
  }],
  "links": null
}
GET list of PortalLog Objects as System Integrator
Given I am authenticated as System Integrator S0002
When I send /api/tenants/K0002/audit/type
Then I should receive HTTP/1.1 200 OK
with following body
{
  "href": "/api/tenants/K0002/audit/type",
  "items": [{
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "CallthroughNumberMap"
    }]
  }, {
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "PhoneBookEntry"
    }]
  }],
  "links": null
}
GET list of PortalLog Objects as Operator
Given I am authenticated as Operator C0002
When I send /api/tenants/K0002/audit/type
Then I should receive HTTP/1.1 200 OK
with following body
{
  "href": "/api/tenants/K0002/audit/type",
  "items": [{
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "CallthroughNumberMap"
    }]
  }, {
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "PhoneBookEntry"
    }]
  }],
  "links": null
}
GET list of PortalLog Objects as Admin
Given I am authenticated as Admin
When I send /api/tenants/K0002/audit/type
Then I should receive HTTP/1.1 200 OK
with following body
{
  "href": "/api/tenants/K0002/audit/type",
  "items": [{
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "CallthroughNumberMap"
    }]
  }, {
    "href": null,
    "links": [],
    "data": [{
      "name": "objectType",
      "value": "PhoneBookEntry"
    }]
  }],
  "links": null
}