Returns all organizations within a service project for a given service project id.
string
Requirednumber
number
Returns the requested organizations
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"_expands": [
"<string>"
],
"size": 1,
"start": 0,
"limit": 50,
"isLastPage": true,
"_links": {
"base": "<string>",
"context": "<string>",
"next": "<string>",
"prev": "<string>",
"self": "<string>"
},
"values": [
{
"id": "<string>",
"name": "<string>",
"_links": {
"self": "<string>"
}
}
]
}
Adds an organization to a service project for a given service project id and organization id.
string
RequiredThe DTO of the organization to add.
integer
Add organization was successful.
1
2
3
4
5
6
curl --request POST \
--url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/organization' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": 2154
}'
Removes an organization from a service project for a given service project id and organization id.