Endpoint
/api/v2/tenants/{tenantId}/serviceRequests/categories/{uniqueId}
Path Parameters
tenantIdstring
uniqueIdstring
namestring
(Optional) Category name.
parentCategoryobject
Parent category details. This field is required while assigning a child category to a parent category.
Child Parameters
- parentCategory.name
- parentCategory.uniqueId
{
"name": "Version Updates",
"parentCategory": {
"name": "Software",
"uniqueId": "SCAT-2b53c303-9374-4df1-848a-664d0d65235d"
}
}
Responses
OK
createdByobject
Child Parameters
- createdBy.email
- createdBy.firstName
- createdBy.id
- createdBy.lastName
- createdBy.loginName
- createdBy.phoneNumber
createdDatestring
namestring
uniqueIdstring
updatedByobject
Child Parameters
- updatedBy.email
- updatedBy.firstName
- updatedBy.id
- updatedBy.lastName
- updatedBy.loginName
- updatedBy.phoneNumber
updatedDatestring
{
"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"
}