Endpoint
/api/v2/tenants/{tenantId}/serviceRequests/categories/{uniqueId}
Path Parameters
tenantId
string

uniqueId
string

name
string

(Optional) Category name.

parentCategory
object

Parent category details. This field is required while assigning a child category to a parent category.

parentCategory.name
parentCategory.uniqueId
{
  "name": "Version Updates",
  "parentCategory": {
    "name": "Software",
    "uniqueId": "SCAT-2b53c303-9374-4df1-848a-664d0d65235d"
  }
}

Responses

OK

createdBy
object

createdBy.email
createdBy.firstName
createdBy.id
createdBy.lastName
createdBy.loginName
createdBy.phoneNumber
createdDate
string

name
string

parentCategory
object

parentCategory.name
parentCategory.uniqueId
uniqueId
string

updatedBy
object

updatedBy.email
updatedBy.firstName
updatedBy.id
updatedBy.lastName
updatedBy.loginName
updatedBy.phoneNumber
updatedDate
string

{
  "createdBy": {
    "email": "john.smith@myorganization.com",
    "firstName": "John",
    "id": "USR0000000047",
    "lastName": "Smith",
    "loginName": "John_Smith",
    "phoneNumber": ""
  },
  "createdDate": "2018-02-09T07:03:34+0000",
  "name": "Version Updates",
  "parentCategory": {
    "name": "Sample Category",
    "uniqueId": "SCAT-2b53c303-9374-4df1-848a-664d0d65235d"
  },
  "uniqueId": "SCAT-35543b8a-b710-4cef-b5bd-9b167fd2d0a5",
  "updatedBy": {
    "email": "john.smith@myorganization.com",
    "firstName": "John",
    "id": "USR0000000047",
    "lastName": "Smith",
    "loginName": "John_Smith"
  },
  "updatedDate": "2018-02-12T10:18:54+0000"
}