POST api/v1/insurance

Request Information

URI Parameters

None.

Body Parameters

InsuranceCreateRequest
NameDescriptionTypeAdditional information
phyd

boolean

Required

policynumber

string

String length: inclusive between 0 and 50

policytype

integer

Required

policySum

decimal number

None.

startdate

date

Required

expiredate

date

Required

active

boolean

Required

brokerid

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "phyd": true,
  "policynumber": "sample string 1",
  "policytype": 1,
  "policySum": 1.1,
  "startdate": "2024-11-16T11:42:57.551Z",
  "expiredate": "2024-11-16T11:42:57.551Z",
  "active": true,
  "brokerid": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.