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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
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/jsv
Content-Length: length

(string)