Returns the fields for a request type, for a given request type Id and service project Id. These are the fields that are required to create a customer request of that particular request type.
In addition, the following information about the current user's permissions for the request type is returned:
canRaiseOnBehalfOf
field - Returns true, if the user has permission to raise requests on behalf of customers. Otherwise, returns false.canAddRequestParticipants
field - Returns true, if the user can add request participants. Otherwise, returns false.string
Requiredstring
RequiredReturns the requested request type fields and related fields, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/{requestTypeId}/field' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"requestTypeFields": [
{
"fieldId": "<string>",
"name": "<string>",
"description": "<string>",
"required": true,
"validValues": [
{
"value": "<string>",
"label": "<string>"
}
],
"jiraSchema": {}
}
],
"canRaiseOnBehalfOf": true,
"canAddRequestParticipants": true
}
Returns all request type groups from a service project, for a given service project Id. The groups will be in the same order as the order in which they appear on the customer portal
string
Requirednumber
number
Returns the requested request type groups, at the specified page of the results.