SET.API.Services

<back to all web services

EmailSendRQ

The following routes are available for this service:
POST/Email/{ServiceId}
EmailSendRQ Parameters:
NameParameterData TypeRequiredDescription
ServiceIdpathstringNo
SubjectbodystringNo
MessagebodystringNo
SendTobodystringNo
CCbodystringNo
RisingReferralNumberbodystringNo
TemplateNamebodystringNo

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

HTTP + CSV

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

POST /Email/{ServiceId} HTTP/1.1 
Host: set-api-service-prod.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ServiceId":"String","Subject":"String","Message":"String","SendTo":"String","CC":"String","RisingReferralNumber":"String","TemplateName":"String"}