SupportDraftMessage object
Fields
Field | Type | Description | Editable |
message_content | string | ||
kind | string | ||
settings | object | ||
status | string | ||
resolved_time_unix | integer | ||
comment | string | ||
create_user_resolved_read_time_unix | integer | ||
created_at_unix | integer | ||
updated_at_unix | integer |
Filters
Field | Description |
id | ID |
resolved_user_id | |
created_user_id | |
approved | 1: |
rejected | 1: |
resolved | 1: |
in_review | 1: |
read | 1: |
content_or_room_name_like |
|
from_created_at | 指定時刻の日付以降に作成されたデータ。IntegerのUNIX時間を設定 |
to_created_at | 指定時刻の日付以前に作成されたデータ。IntegerのUNIX時間を設定 |
find support draft message
GET
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/{:id}
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
search support draft messages
GET
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
create support draft message
POST
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/vnd.api+json |
Content-Type | string | application/vnd.api+json |
X-Access-Token | string | set your access token |
Request Body
Name | Type | Description |
---|---|---|
data | object |
update support draft messages
PUT
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/{:id}
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
Request Body
Name | Type | Description |
---|---|---|
data | object |
delete support draft message
DELETE
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/{:id}
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
mark read all resolved
PUT
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/mark_read_all_resolved
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
approve
PUT
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/{:id}/approve
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
reject
PUT
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/{:id}/reject
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
mark read
PUT
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/support_draft_messages/{:id}/mark_read
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
最終更新