GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype
This method returns all customer request types from a service desk. There are two parameters for filtering the returned list:
groupId which filters the results to items in the customer request type group.
searchQuery which is matched against request types' name or description. For example, the strings "Install", "Inst", "Equi", or "Equipment" will match a request type with the name "Equipment Installation Request".
Create request type
POST /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype
This method enables a customer request type to be added to a service desk based on an issue type. Note that not all customer request type fields can be specified in the request and these fields are given the following default values:
Request type icon is given the headset icon.
Request type groups is left empty, which means this customer request type will not be visible on the customer portal
Request type status mapping is left empty, so the request type has no custom status mapping but inherits the status map from the issue type upon which it is based.
Request type field mapping is set to show the required fields as specified by the issue type used to create the customer request type.
Get request type by id
GET /rest/servicedeskapi/servicedesk/{serviceDesk}/requesttype/{requestType}
This method returns a customer request type from a service desk.