CPU.Notifications

<back to all web services

TwilioError

The following routes are available for this service:
POST/twilioError
namespace CPU.Notifications.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type TwilioError() = 
        member val AccountSid:String = null with get,set
        member val Sid:String = null with get,set
        member val ParentAccountSid:String = null with get,set
        member val Timestamp:String = null with get,set
        member val Level:String = null with get,set
        member val PayloadType:String = null with get,set
        member val Payload:String = null with get,set

F# TwilioError 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 /twilioError HTTP/1.1 
Host: cpmwebservices-t.clarkpud.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"accountSid":"String","sid":"String","parentAccountSid":"String","timestamp":"String","level":"String","payloadType":"String","payload":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

0