Get department group a department is part of with respect to a feature
If there is no department group for the department with respect to the feature returns departmentGroup as null
ApiScope: manage.departmentgroup.read
API Scope Level: DepartmentScope
Path Parameters
ServiceSubscriberDepartment string required
feature_key string required
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
departmentGroup object
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"departmentGroup": {
"name": "string",
"uuid": "string",
"dealer": {
"id": 0,
"name": "string",
"uuid": "string",
"isValid": true
},
"departments": [
{
"id": 0,
"name": "string",
"uuid": "string"
}
]
}
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
departmentGroup object
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"departmentGroup": {
"name": "string",
"uuid": "string",
"dealer": {
"id": 0,
"name": "string",
"uuid": "string",
"isValid": true
},
"departments": [
{
"id": 0,
"name": "string",
"uuid": "string"
}
]
}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
GET /v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
python / requests
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
go / native
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET '/manage/v2/department/:ServiceSubscriberDepartment/departmentGroup/feature_key/:feature_key' \
-H 'Accept: application/json'