Trendsic Platform Service

<back to all web services

IncomingCRMConversationRequest

The following routes are available for this service:
POST,OPTIONS/v1/conversation/crm/reply
SmsRequest Parameters:
NameParameterData TypeRequiredDescription
MessageSidformstringNo
SmsSidformstringNo
BodyformstringNo
MessageStatusformstringNo
OptOutTypeformstringNo
MessagingServiceSidformstringNo
NumMediaformintNo
ReferralNumMediaformintNo
TwilioRequest Parameters:
NameParameterData TypeRequiredDescription
AccountSidformstringNo
FromformstringNo
ToformstringNo
FromCityformstringNo
FromStateformstringNo
FromZipformstringNo
FromCountryformstringNo
ToCityformstringNo
ToStateformstringNo
ToZipformstringNo
ToCountryformstringNo

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 /v1/conversation/crm/reply HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"MessageSid":"String","SmsSid":"String","Body":"String","MessageStatus":"String","OptOutType":"String","MessagingServiceSid":"String","NumMedia":0,"ReferralNumMedia":0,"AccountSid":"String","From":"String","To":"String","FromCity":"String","FromState":"String","FromZip":"String","FromCountry":"String","ToCity":"String","ToState":"String","ToZip":"String","ToCountry":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

(string)