| Requires any of the roles: | Client, Admin, Partner |
| POST | /channel_messages |
|---|
"use strict";
export class ChannelMessagesAddResponse {
/** @param {{ChannelId?:number,QueriesId?:number,PrimarykeyFieldName?:string,PrimarykeyIdValue?:string,TenantsId?:number,ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ChannelId;
/** @type {number} */
QueriesId;
/** @type {string} */
PrimarykeyFieldName;
/** @type {string} */
PrimarykeyIdValue;
/** @type {number} */
TenantsId;
/** @type {ResponseStatus} */
ResponseStatus;
}
export class ChannelMessagesAdd {
/** @param {{ChannelId?:number,QueriesId?:number,PrimarykeyFieldName?:string,PrimarykeyIdValue?:string,TenantsId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ChannelId;
/** @type {number} */
QueriesId;
/** @type {string} */
PrimarykeyFieldName;
/** @type {string} */
PrimarykeyIdValue;
/** @type {number} */
TenantsId;
}
JavaScript ChannelMessagesAdd DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /channel_messages HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ChannelId":0,"QueriesId":0,"PrimarykeyFieldName":"String","PrimarykeyIdValue":"String","TenantsId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"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"}}}