未検証の保険契約のリスクユニット
リスクユニットとは、保険契約の補償対象のことです(保険契約者とその他の被保険者以外)。保険契約上のリスクユニットの種類は、保険契約の種類に基づいてさまざまに異なります。次に例を示します。
- 通常、個人用自動車保険契約と事業用自動車保険契約のリスクユニットは車両です。
- 通常、住宅所有者の保険契約では、リスクユニットは住居、所有地にあるその他の構造物(柵、倉庫)、または住居にある貴重品(電子機器、宝飾品)です。
ClaimCenter の保険契約は 2 種類のリスクユニットを使用します。
- 所在地に基づくリスクユニット(家屋などのように固定の所在地があるリスクユニット用)
- 車両リスクユニット(車両用)
リスクユニットを作成するには、次のエンドポイントを使用します。
- POST
/claim/v1/unverified-policies/{policyId}/location-based-risk-units - POST
/claim/v1/unverified-policies/{policyId}/vehicle-risk-units
リスクユニットを変更するには、次のエンドポイントを使用します。
- PATCH
/claim/v1/unverified-policies/{policyId}/location-based-risk-units/{locationBasedRiskUnitId} - PATCH
/claim/v1/unverified-policies/{policyId}/vehicle-risk-units/{vehicleRiskUnitId}
リスクユニットの作成に必要な情報は、リスクユニットの種類に応じて異なる場合があります。次に例を示します。
- 車両のリスクユニットの場合、情報は不要です。
- 所在地に基づくリスクユニットの場合、所在地を指定する必要があります。
フィールドが必須でなく指定されていない場合、ClaimCenter はデフォルト値を指定します。
次の例では未検証の保険契約を作成しますが、車両のリスクユニットを含めます。
POST /composite/v1/composite
{
"requests": [
{
"method": "post",
"uri": "/claim/v1/unverified-policies",
"body": {
"data": {
"attributes": {
"policyNumber": "unverified-with-vehicle-risk-unit",
"policyType": {
"code": "PersonalAuto"
}
}
}
},
"vars": [
{
"name": "policyId",
"path": "$.data.attributes.id"
}
]
},
{
"method": "post",
"uri": "/claim/v1/unverified-policies/${policyId}/vehicle-risk-units",
"body": {
"data": {
"attributes": {
}
}
}
},
{
"method": "post",
"uri": "/claim/v1/claims",
"body": {
"data": {
"attributes": {
"lossDate": "2021-03-04T07:00:00.000Z",
"policyNumber": "unverified-with-vehicle-risk-unit"
}
}
}
}
]
}