콘텐츠로 이동

상담 대기 상담방 개수

Endpoint

[GET] API URL 정보

https://patch-biz-api.happytalk.io/v1/api/rooms/waiting_count
https://biz-api.happytalk.io/v1/api/rooms/waiting_count

Request (Json)

Field Name Type Required Description
HT-Client-Id String Y 고객센터에서 발급 받은 key
HT-Client-Secret String Y 고객센터에서 발급 받은 token

Body

Field Name Type (Length) Required Description Default
date String (10) N 검색 일자 (ex:2023-03-23) 오늘 일자

Example

REST API Sample
curl --location --request POST 'https://patch-biz-api.happytalk.io/v1/api/rooms/waiting_count' \
--header 'HT-Client-Id: 고객센터에서 발급 받은 key' \
--header 'HT-Client-Secret: 고객센터에서 발급 받은 token' \
--header 'Content-Type: application/json'
curl --location --request POST 'https://biz-api.happytalk.io/v1/api/rooms/waiting_count' \
--header 'HT-Client-Id: 고객센터에서 발급 받은 key' \
--header 'HT-Client-Secret: 고객센터에서 발급 받은 token' \
--header 'Content-Type: application/json' \

Response (Json)

Parameter

Field Name Type Description
code Int 성공, 실패 여부
site_id bigInt 호출된 고객사 사이트 아이디
count int 상담대기 상담방 개수
response_time datetime 응답시간
message String 에러메시지

Example

Success
{
    "code": 0,
    "site_id": "1000235642",
    "count": 0,
    "response_time": "2023-03-23 15:39:09"
}
Failure

Fail Code 정보

Data Dictionary

Data Dictionary

None

None