Skip to main content

Agent Onborad

Insurance Agent Onborad

Postman Collection

URL​

POST : /v1/service/insurance/onBoard

Headers​

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params​

name  (String)   Required
Agent Full Name as per PAN
email  (String)   Required
Agent Email address
mobile  (String)   Required
Agent Mobile Number
panNo  (String)   Required
Agent PAN Number

Request​

Example Request
        curl --location --request POST '/v1/service/insurance/onBoard' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"name" : "ABC XYZ",
"email" : "abcxyz@example.com",
"mobile" : "9876543210",
"panNo" : "ABCEF1234Z"
}'

Response Samples​

{
"code": "0x0200",
"message": "Agent onboarded successfully",
"status": "SUCCESS",
"data": {
"agentId": "INS0123456789"
}
}

Response Code​

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x02082FATWO FACTOR AUNTHENTICATION