POST api/CRM/SendCustomerAlarmBookingEmail

Add a new person to CRM.

Request Information

URI Parameters

None.

Body Parameters

CustomerAlarmBooking
NameDescriptionTypeAdditional information
PersonId

integer

None.

PersonNumber

string

None.

EmailSecretCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "PersonNumber": "sample string 2",
  "EmailSecretCode": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Boolean value indicating whether new person record has been added or not. Value will be True if it is added otherwise it will return false.

ResponseOfEmailResponse
NameDescriptionTypeAdditional information
Data

EmailResponse

None.

Result

boolean

None.

Message

string

None.

Errors

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "$id": "2",
    "EmailType": "sample string 1",
    "IsSent": true,
    "Message": "sample string 3"
  },
  "Result": true,
  "Message": "sample string 2",
  "Errors": {
    "$id": "3"
  }
}