| Requires any of the roles: | Client, Admin, Partner |
| PUT | /channel_messages/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | long | Yes | |
| ChannelId | body | int | Yes | |
| QueriesId | body | long | Yes | |
| PrimarykeyFieldName | body | string | Yes | |
| PrimarykeyIdValue | body | string | Yes | |
| TenantsId | body | int | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| ChannelId | form | int | No | |
| QueriesId | form | long | No | |
| PrimarykeyFieldName | form | string | No | |
| PrimarykeyIdValue | form | string | No | |
| TenantsId | form | int | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /channel_messages/{Id} HTTP/1.1
Host: api.du-engage.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
ChannelId: 0,
QueriesId: 0,
PrimarykeyFieldName: String,
PrimarykeyIdValue: String,
TenantsId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
ChannelId: 0,
QueriesId: 0,
PrimarykeyFieldName: String,
PrimarykeyIdValue: String,
TenantsId: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}