| Requires any of the roles: | Client, Admin, Partner |
| PUT | /channel_messages/{Id} |
|---|
"use strict";
export class ChannelMessagesEditResponse {
/** @param {{Id?:number,ChannelId?:number,QueriesId?:number,PrimarykeyFieldName?:string,PrimarykeyIdValue?:string,TenantsId?:number,ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {number} */
ChannelId;
/** @type {number} */
QueriesId;
/** @type {string} */
PrimarykeyFieldName;
/** @type {string} */
PrimarykeyIdValue;
/** @type {number} */
TenantsId;
/** @type {ResponseStatus} */
ResponseStatus;
}
export class ChannelMessagesEdit {
/** @param {{Id?:number,ChannelId?:number,QueriesId?:number,PrimarykeyFieldName?:string,PrimarykeyIdValue?:string,TenantsId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {number} */
ChannelId;
/** @type {number} */
QueriesId;
/** @type {string} */
PrimarykeyFieldName;
/** @type {string} */
PrimarykeyIdValue;
/** @type {number} */
TenantsId;
}
JavaScript ChannelMessagesEdit DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: duengageapi.uat.scadsoftware.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":0,"ChannelId":0,"QueriesId":0,"PrimarykeyFieldName":"String","PrimarykeyIdValue":"String","TenantsId":0}
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}