Fetch Risk items
Last updated
Last updated
GET
https://app.insurehero.io/api/shield/integrations/risk-items/:riskItemId
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"data": {
"id": "943511e3-de9a-4afb-a126-b434ebd1f84e",
"authorized_claimants": [
{
"email": "luciamartinez@example.com",
"name": "Lucia Martinez",
"phone": "593999002823"
},
{
"email": "marcoreyes@example.com",
"name": "Marco Reyes",
"phone": "593999002824"
}
],
"package_id": "12e02904-0ab6-41e5-a66f-14fe5d981960",
"start_date": "2024-03-15T00:00:00+00:00",
"end_date": "2024-03-31T23:59:59.999+00:00",
"beneficiaries": [
{
"email": "anatorres@example.com",
"phone": "593999002825"
}
],
"insured_subject": {
"identifier_value": "GN789",
"identifier_type": "Guide Number",
"ruc": "1711186642001",
"driver_id": "1714486642",
"group_uid": "yourUID01",
"group_name": "Ecuador Transport",
"policy_note": "Insured against theft and damage",
"guide_number": "GN789",
"plate_number": "PICH1234",
"subject_type": "cargo",
"invoice_count": 10,
"departure_city": "Guayaquil",
"departure_date": "2024-01-24T09:00:00Z",
"content_category": "Clothing",
"departure_coords": "-2.170998, -79.922359",
"destination_city": "Quito",
"driver_full_name": "Luis Andrade",
"primary_category": "Men's Apparel",
"business_industry": "Consumo Masivo",
"policy_observations": "Fragile items inside",
"total_insured_value": 75000
},
"status": "ACTIVE",
"uid": null,
"assets": [],
"metadata": {
"delivery_stops": {
"Delivery 1": {
"items": [
{
"item_sku": "LAP1234A",
"item_cost": 1200,
"item_name": "Laptop",
"item_expiry": "2024-12-31",
"item_quantity": 10
}
],
"final_coords": "-0.180653, -78.467838",
"destination_invoice_id": "INV1001"
}
}
},
"policy_id": "c42a9583-9a58-4b0c-b332-21499780a35b"
}
}
Paginated list of all risk items. Page size cannot exceed 100 records at a time.
GET
https://app.insurehero.io/api/shield/integrations/risk-items
{
"data": [
{
"id": "943511e3-de9a-4afb-a126-b434ebd1f84e",
"authorized_claimants": [
{
"email": "luciamartinez@example.com",
"name": "Lucia Martinez",
"phone": "593999002823"
},
{
"email": "marcoreyes@example.com",
"name": "Marco Reyes",
"phone": "593999002824"
}
],
"package_id": "12e02904-0ab6-41e5-a66f-14fe5d981960",
"start_date": "2024-03-15T00:00:00+00:00",
"end_date": "2024-03-31T23:59:59.999+00:00",
"beneficiaries": [
{
"email": "anatorres@example.com",
"phone": "593999002825"
}
],
"insured_subject": {
"identifier_value": "GN789",
"identifier_type": "Guide Number",
"ruc": "1711186642001",
"driver_id": "1714486642",
"group_uid": "yourUID01",
"group_name": "Ecuador Transport",
"policy_note": "Insured against theft and damage",
"guide_number": "GN789",
"plate_number": "PICH1234",
"subject_type": "cargo",
"invoice_count": 10,
"departure_city": "Guayaquil",
"departure_date": "2024-01-24T09:00:00Z",
"content_category": "Clothing",
"departure_coords": "-2.170998, -79.922359",
"destination_city": "Quito",
"driver_full_name": "Luis Andrade",
"primary_category": "Men's Apparel",
"business_industry": "Consumo Masivo",
"policy_observations": "Fragile items inside",
"total_insured_value": 75000
},
"status": "ACTIVE",
"uid": null,
"assets": [],
"metadata": {
"delivery_stops": {
"Delivery 1": {
"items": [
{
"item_sku": "LAP1234A",
"item_cost": 1200,
"item_name": "Laptop",
"item_expiry": "2024-12-31",
"item_quantity": 10
}
],
"final_coords": "-0.180653, -78.467838",
"destination_invoice_id": "INV1001"
}
}
},
"policy_id": "c42a9583-9a58-4b0c-b332-21499780a35b"
},
{
"id": "4729a579-7121-4926-92eb-19f9f0ed1158",
"authorized_claimants": [
{
"email": "luciamartinez@example.com",
"name": "Lucia Martinez",
"phone": "593999002823"
},
{
"email": "marcoreyes@example.com",
"name": "Marco Reyes",
"phone": "593999002824"
}
],
"package_id": "12e02904-0ab6-41e5-a66f-14fe5d981960",
"start_date": "2024-03-15T00:00:00+00:00",
"end_date": "2024-03-31T23:59:59.999+00:00",
"beneficiaries": [
{
"email": "anatorres@example.com",
"name": "Ana Torres",
"phone": "593999002825",
"group_uid": "yourUID01"
}
],
"insured_subject": {
"identifier_value": "GN789",
"identifier_type": "Guide Number",
"ruc": "1711186642001",
"driver_id": "1714486642",
"group_uid": "yourUID01",
"group_name": "Ecuador Transport",
"policy_note": "Insured against theft and damage",
"guide_number": "GN789",
"plate_number": "PICH1234",
"subject_type": "cargo",
"invoice_count": 10,
"departure_city": "Guayaquil",
"departure_date": "2024-01-24T09:00:00Z",
"content_category": "Clothing",
"departure_coords": "-2.170998, -79.922359",
"destination_city": "Quito",
"driver_full_name": "Luis Andrade",
"primary_category": "Men's Apparel",
"business_industry": "Consumo Masivo",
"policy_observations": "Fragile items inside",
"total_insured_value": 75000
},
"status": "ACTIVE",
"uid": null,
"assets": [],
"metadata": {
"delivery_stops": {
"Delivery 1": {
"items": [
{
"item_sku": "LAP1234A",
"item_cost": 1200,
"item_name": "Laptop",
"item_expiry": "2024-12-31",
"item_quantity": 10
}
],
"final_coords": "-0.180653, -78.467838",
"destination_invoice_id": "INV1001"
}
}
},
"policy_id": "c42a9583-9a58-4b0c-b332-21499780a35b"
}
]
}
To access these resources, please remember to visit the Links and Resources section of the documentation.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
string
Bearer access token
riskItemId*
string
Risk item identifier
Authorization*
string
Bearer access token
from*
string
Starting record index
to*
string
Ending record index