POST api/webhook/sendMsg
Request Information
URI Parameters
None.
Body Parameters
WebhookSendMsgModel| Name | Description | Type | Additional information |
|---|---|---|---|
| customerName | string |
None. |
|
| webhookUrl | string |
None. |
|
| customerECPlatformNumber | integer |
None. |
|
| msgtype | string |
None. |
|
| content | Object |
None. |
|
| clueId | integer |
None. |
|
| employeeNumber | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerName": "sample string 1",
"webhookUrl": "sample string 2",
"customerECPlatformNumber": 1,
"msgtype": "sample string 3",
"content": {},
"clueId": 1,
"employeeNumber": 1
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | Object |
None. |
|
| error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {},
"error": "sample string 3"
}