POST api/Policy/SendEmailCancelPolicy

Request Information

URI Parameters

None.

Body Parameters

CancelPolicySendEmailRequest
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

EmailAddress

string

None.

PhoneNumber

string

None.

CertificateNumber

string

None.

CancellationReason

string

None.

ExpectedCancellationDate

string

None.

CancellationReasonInputText

string

None.

SiteName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "EmailAddress": "sample string 3",
  "PhoneNumber": "sample string 4",
  "CertificateNumber": "sample string 5",
  "CancellationReason": "sample string 6",
  "ExpectedCancellationDate": "sample string 7",
  "CancellationReasonInputText": "sample string 8",
  "SiteName": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CancelPolicySendEmailRequest'.

Response Information

Resource Description

CancelPolicySendEmailResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ErrorCode

integer

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 1",
  "ErrorCode": 2,
  "ErrorMessage": "sample string 3"
}