POST api/businessService/sendWebhookByType

Request Information

URI Parameters

None.

Body Parameters

WebhookTypeModel
NameDescriptionTypeAdditional information
customerName

string

None.

msgtype

string

None.

content

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerName": "sample string 1",
  "msgtype": "sample string 2",
  "content": "sample string 3"
}

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 'WebhookTypeModel'.

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"
}