POST api/webhook/sendMsg

Request Information

URI Parameters

None.

Body Parameters

WebhookSendMsgModel
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WebhookSendMsgModel'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "data": {},
  "error": "sample string 3"
}