Create a new help request
POST /internal/admin/comms/v1/help/request
Operation id: post__internal_admin_comms_v1_help_request
Description
This API allows a user to create a new help request against specified target.
Below is the map of notification type and what they represent:
- 0 - Voice
- 1 - UI
Tags: Assistant
Security
- BearerAuth (http / bearer)
- Enter the token
Responses
200 — Request created successfully
Content type: application/json
400 — Bad request
Content type: application/json
404 — Not Found
Content type: application/json
500 — Internal Server Error
Content type: application/json
Request body
Required: Yes
application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
initiatorLogin | string | Yes | User Login of the request originator |
destination | string | No | Destination for the responders to reach |
quota | integer (int16) | No | The number of responders required |
tenant_id | string | Yes | Tenant ID of the request originator |
notification_type | integer (int16) | No | notification type - Voice - 0, UI - 1 |
target | object | No |
{
"type": "object",
"required": [
"initiatorLogin",
"tenant_id",
"targetList"
],
"properties": {
"initiatorLogin": {
"type": "string",
"description": "User Login of the request originator"
},
"destination": {
"type": "string",
"description": "Destination for the responders to reach"
},
"quota": {
"type": "integer",
"format": "int16",
"description": "The number of responders required"
},
"tenant_id": {
"type": "string",
"description": "Tenant ID of the request originator"
},
"notification_type": {
"type": "integer",
"format": "int16",
"description": "notification type - Voice - 0, UI - 1"
},
"target": {
"type": "object",
"properties": {
"roleName": {
"type": "string",
"nullable": true
},
"deptId": {
"type": "string",
"nullable": true
}
}
}
}
}
Response models
200 — Request created successfully
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | No | |
initiatorLogin | string | No | |
quota | integer (int16) | No | |
destination | string | No | |
created_at | string (date-time) | No | |
targetList | object | No | |
notificationType | string | No | Voice - 0, UI - 1 |
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"initiatorLogin": {
"type": "string"
},
"quota": {
"type": "integer",
"format": "int16"
},
"destination": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"targetList": {
"type": "object"
},
"notificationType": {
"type": "string",
"description": "Voice - 0, UI - 1"
}
}
}
400 — Bad request
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer | No | |
errors | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
404 — Not Found
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer | No | |
errors | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
500 — Internal Server Error
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer | No | |
errors | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}