CPU.Notifications

<back to all web services

TwilioSMSEvent

The following routes are available for this service:
POST/smsStatus
"use strict";
export class TwilioSMSEvent {
    /** @param {{accountSid?:string,apiVersion?:string,errorCode?:number,from?:string,messageSid?:string,messageStatus?:string,messagingServiceSid?:string,smsSid?:string,smsStatus?:string,to?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?string} */
    accountSid;
    /** @type {?string} */
    apiVersion;
    /** @type {?number} */
    errorCode;
    /** @type {?string} */
    from;
    /** @type {?string} */
    messageSid;
    /** @type {?string} */
    messageStatus;
    /** @type {?string} */
    messagingServiceSid;
    /** @type {?string} */
    smsSid;
    /** @type {?string} */
    smsStatus;
    /** @type {?string} */
    to;
}

JavaScript TwilioSMSEvent DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /smsStatus HTTP/1.1 
Host: cpmwebservices-t.clarkpud.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"accountSid":"String","apiVersion":"String","errorCode":0,"from":"String","messageSid":"String","messageStatus":"String","messagingServiceSid":"String","smsSid":"String","smsStatus":"String","to":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

(string)