POST api/motor/policysuccess

Send whatsapp message when policy successfully issued.

Request Information

URI Parameters

None.

Body Parameters

MotorPolicySuccessModel
NameDescriptionTypeAdditional information
RegistrationNumber

Vehicle registration number.

string

Required

CustomerName

Customer name.

string

Required

SubProductName

Sub product name

string

Required

PolicyNumber

Policy number.

string

Required

QuotationNumber

Quotation number of the transaction.

string

Required

OrderNumber

Order number of the transaction.

string

Required

PolicyPDFURL

Policy pdf url.

string

None.

CompanyName

Insurance company name of the transaction.

string

Required

MobileNumber

Mobile number to sent message. Please send with country code for India send with 91, do not use "+". sample (91XXXXXXXXXX).

string

Required

Request Formats

application/json, text/json

Sample:
{
  "RegistrationNumber": "sample string 1",
  "CustomerName": "sample string 2",
  "SubProductName": "sample string 3",
  "PolicyNumber": "sample string 4",
  "QuotationNumber": "sample string 5",
  "OrderNumber": "sample string 6",
  "PolicyPDFURL": "sample string 7",
  "CompanyName": "sample string 8",
  "MobileNumber": "sample string 9"
}

Response Information

Resource Description

CustomResponse
NameDescriptionTypeAdditional information
Error

string

None.

IsAuthenticated

boolean

None.

Message

string

None.

Response

Object

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": "sample string 1",
  "IsAuthenticated": true,
  "Message": "sample string 3",
  "Response": {},
  "StatusCode": 5
}