POST api/inviteemailprocess/{clientId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

integer

Required

Body Parameters

EmailDto
NameDescriptionTypeAdditional information
FromName

string

None.

ReplyToEmail

string

None.

Subject

string

Max length: 200

Body

string

None.

Recipients

Collection of EmailDtoRecipientDto

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "fromName": "sample string 1",
  "replyToEmail": "sample string 2",
  "subject": "sample string 3",
  "body": "sample string 4",
  "recipients": [
    {
      "contact": {
        "name": "sample string 1",
        "id": 2
      },
      "outlet": {
        "name": "sample string 1",
        "id": 2
      },
      "emailAddress": "sample string 1"
    },
    {
      "contact": {
        "name": "sample string 1",
        "id": 2
      },
      "outlet": {
        "name": "sample string 1",
        "id": 2
      },
      "emailAddress": "sample string 1"
    }
  ]
}

text/plain

Sample:
{"fromName":"sample string 1","replyToEmail":"sample string 2","subject":"sample string 3","body":"sample string 4","recipients":[{"contact":{"name":"sample string 1","id":2},"outlet":{"name":"sample string 1","id":2},"emailAddress":"sample string 1"},{"contact":{"name":"sample string 1","id":2},"outlet":{"name":"sample string 1","id":2},"emailAddress":"sample string 1"}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.