POST api/OptOut

Request Information

URI Parameters

None.

Body Parameters

OptOutDto
NameDescriptionTypeAdditional information
Id

integer

None.

Deleted

boolean

None.

ClientId

integer

None.

EmailProvider

ListItemDto

None.

Editable

boolean

None.

Email

string

None.

SpamReport

boolean

None.

Created

date

None.

Modified

date

None.

CreatedUser

ListItemDto

None.

ModifiedUser

ListItemDto

None.

Distribution

OptOutDistributionDto

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "id": 1,
  "deleted": true,
  "clientId": 3,
  "emailProvider": {
    "name": "sample string 1",
    "id": 2
  },
  "editable": true,
  "email": "sample string 5",
  "spamReport": true,
  "created": "2024-11-21T08:55:30.9243019+00:00",
  "modified": "2024-11-21T08:55:30.9243019+00:00",
  "createdUser": {
    "name": "sample string 1",
    "id": 2
  },
  "modifiedUser": {
    "name": "sample string 1",
    "id": 2
  },
  "distribution": {
    "id": 1,
    "releaseId": 2,
    "releaseName": "sample string 3",
    "releaseHeadline": "sample string 4",
    "releaseDisplayDateTime": "2024-11-21T08:55:30.9243019+00:00"
  }
}

text/plain

Sample:
{"id":1,"deleted":true,"clientId":3,"emailProvider":{"name":"sample string 1","id":2},"editable":true,"email":"sample string 5","spamReport":true,"created":"2024-11-21T08:55:30.9243019+00:00","modified":"2024-11-21T08:55:30.9243019+00:00","createdUser":{"name":"sample string 1","id":2},"modifiedUser":{"name":"sample string 1","id":2},"distribution":{"id":1,"releaseId":2,"releaseName":"sample string 3","releaseHeadline":"sample string 4","releaseDisplayDateTime":"2024-11-21T08:55:30.9243019+00:00"}}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.