NAV
bash php javascript python

Info

Welcome to iClaim REST API documentation.

Using Postman? Click here for collection.

General

Get Authorization Token

Example request:

curl -X POST \
    "https://portal-dev.iclaim.pro/api/user/login" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"email":"sunt","password":"enim"}'

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://portal-dev.iclaim.pro/api/user/login',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'email' => 'sunt',
            'password' => 'enim',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://portal-dev.iclaim.pro/api/user/login"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "sunt",
    "password": "enim"
}

fetch(url, {
    method: "POST",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));
import requests
import json

url = 'https://portal-dev.iclaim.pro/api/user/login'
payload = {
    "email": "sunt",
    "password": "enim"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "user": {
        "id": 1,
        "file_id": "21",
        "name": "user",
        "email": "user@example.com",
        "email_verified_at": null,
        "created_at": "2020-05-04T06:58:10.000000Z",
        "updated_at": "2020-05-12T12:54:13.000000Z"
    },
    "access_token": "{token}"
}

HTTP Request

POST api/user/login

Body Parameters

Parameter Type Status Description
email email required The email of the user.
password string required The password of the user.

Get All Claims.

Example request:

curl -X GET \
    -G "https://portal-dev.iclaim.pro/api/claims" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}"

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://portal-dev.iclaim.pro/api/claims',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://portal-dev.iclaim.pro/api/claims"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response => response.json())
    .then(json => console.log(json));
import requests
import json

url = 'https://portal-dev.iclaim.pro/api/claims'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer {token}'
}
response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": [
        {
            "gtId": "1611362",
            "id": 1,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "31-SJP-8",
            "Vin": "WERA1231231231222",
            "ExpedientNumber": "30",
            "ActualKM": "1",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": null,
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": "2020-04-01",
            "driver_name": null,
            "driver_telephone": null,
            "car_make": "Hyundai",
            "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
            "car_type": null,
            "contract_expire_date": "2022-01-01",
            "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
            "bodyshop_address": "teststraat",
            "bodyshop_postal_code": "1212 AB",
            "bodyshop_town": "Testplaats",
            "bodyshop_telephone_number": "324234234234234",
            "cause_of_damage": "1K",
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": "Nederland",
            "free_text": null,
            "bodyshop_housenumber": "30",
            "license_date": "2011-10-05",
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": "2020-01-01 00:00:00",
            "ExpectedRepairEndDate": "2020-02-01 00:00:00",
            "RepairEndDate": "2020-03-01 00:00:00",
            "VehicleExitDate": "2020-04-01 00:00:00",
            "created": "May 4, 2020"
        },
        {
            "gtId": "1611363",
            "id": 2,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "31-SJP-8",
            "Vin": "WERA1231231231222",
            "ExpedientNumber": "30",
            "ActualKM": "1",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": null,
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": "2020-04-01",
            "driver_name": null,
            "driver_telephone": null,
            "car_make": "Hyundai",
            "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
            "car_type": null,
            "contract_expire_date": "2022-01-01",
            "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
            "bodyshop_address": "teststraat",
            "bodyshop_postal_code": "1212 AB",
            "bodyshop_town": "Testplaats",
            "bodyshop_telephone_number": "070-3474741",
            "cause_of_damage": "1K",
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": "Nederland",
            "free_text": null,
            "bodyshop_housenumber": "30",
            "license_date": "2011-10-05",
            "bd_tacho": "5555",
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": "2020-05-06 12:13:14",
            "ExpectedRepairEndDate": "2020-05-08 10:11:12",
            "RepairEndDate": "2020-05-09 00:11:12",
            "VehicleExitDate": null,
            "created": "May 4, 2020"
        },
        {
            "gtId": "1611365",
            "id": 3,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "31-SJP-8",
            "Vin": "WERA1231231231222",
            "ExpedientNumber": "30",
            "ActualKM": "1",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": null,
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": "2020-04-01",
            "driver_name": null,
            "driver_telephone": null,
            "car_make": "Hyundai",
            "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
            "car_type": null,
            "contract_expire_date": "2022-01-01",
            "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
            "bodyshop_address": "teststraat",
            "bodyshop_postal_code": "1212 AB",
            "bodyshop_town": "Testplaats",
            "bodyshop_telephone_number": "070-3474741",
            "cause_of_damage": "1K",
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": "Nederland",
            "free_text": null,
            "bodyshop_housenumber": "30",
            "license_date": "2011-10-05",
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": null,
            "ExpectedRepairEndDate": null,
            "RepairEndDate": null,
            "VehicleExitDate": null,
            "created": "May 4, 2020"
        },
        {
            "gtId": "1611370",
            "id": 4,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "0001VL1",
            "Vin": null,
            "ExpedientNumber": null,
            "ActualKM": "3333",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": "osvaldas@balticode.com",
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": null,
            "driver_name": null,
            "driver_telephone": null,
            "car_make": null,
            "car_model_and_type": null,
            "car_type": null,
            "contract_expire_date": null,
            "bodyshop_name": null,
            "bodyshop_address": null,
            "bodyshop_postal_code": null,
            "bodyshop_town": null,
            "bodyshop_telephone_number": null,
            "cause_of_damage": null,
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": null,
            "free_text": null,
            "bodyshop_housenumber": null,
            "license_date": null,
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": null,
            "ExpectedRepairEndDate": null,
            "RepairEndDate": null,
            "VehicleExitDate": null,
            "created": "May 6, 2020"
        },
        {
            "gtId": "1611371",
            "id": 5,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "0001VL1",
            "Vin": null,
            "ExpedientNumber": null,
            "ActualKM": "222",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": null,
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": null,
            "driver_name": null,
            "driver_telephone": null,
            "car_make": null,
            "car_model_and_type": null,
            "car_type": null,
            "contract_expire_date": null,
            "bodyshop_name": null,
            "bodyshop_address": null,
            "bodyshop_postal_code": null,
            "bodyshop_town": null,
            "bodyshop_telephone_number": null,
            "cause_of_damage": null,
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": null,
            "free_text": null,
            "bodyshop_housenumber": null,
            "license_date": null,
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": null,
            "ExpectedRepairEndDate": null,
            "RepairEndDate": null,
            "VehicleExitDate": null,
            "created": "May 6, 2020"
        },
        {
            "gtId": "1611375",
            "id": 6,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "0001VL1",
            "Vin": null,
            "ExpedientNumber": null,
            "ActualKM": "3332",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": "osvaldas@balticode.com",
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": null,
            "driver_name": null,
            "driver_telephone": null,
            "car_make": null,
            "car_model_and_type": null,
            "car_type": null,
            "contract_expire_date": null,
            "bodyshop_name": null,
            "bodyshop_address": null,
            "bodyshop_postal_code": null,
            "bodyshop_town": null,
            "bodyshop_telephone_number": null,
            "cause_of_damage": null,
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": null,
            "free_text": null,
            "bodyshop_housenumber": null,
            "license_date": null,
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": null,
            "ExpectedRepairEndDate": null,
            "RepairEndDate": null,
            "VehicleExitDate": null,
            "created": "May 6, 2020"
        },
        {
            "gtId": "1611379",
            "id": 7,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "31-SJP-8",
            "Vin": "WERA1231231231222",
            "ExpedientNumber": "35",
            "ActualKM": "1",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": "info@absdenelzen.nl",
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": "2020-05-01",
            "driver_name": null,
            "driver_telephone": null,
            "car_make": "Hyundai",
            "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
            "car_type": null,
            "contract_expire_date": "2022-01-01",
            "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
            "bodyshop_address": "teststraat",
            "bodyshop_postal_code": "1212 AB",
            "bodyshop_town": "Testplaats",
            "bodyshop_telephone_number": "070-3474741",
            "cause_of_damage": "1K",
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": "Nederland",
            "free_text": null,
            "bodyshop_housenumber": "30",
            "license_date": "2011-10-05",
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": null,
            "ExpectedRepairEndDate": null,
            "RepairEndDate": null,
            "VehicleExitDate": null,
            "created": "May 12, 2020"
        },
        {
            "gtId": "1611380",
            "id": 8,
            "ProviderBOEntity": "NL15222333",
            "CompanyCode": null,
            "InterventionType": "6",
            "InterventionSubtypeCode": null,
            "License": "31-SJP-8",
            "Vin": "WERA1231231231222",
            "ExpedientNumber": "35",
            "ActualKM": "1",
            "BODataIncluded": null,
            "BOData": null,
            "UserLogin": "fleetnl1",
            "SupervisorEntityCode": null,
            "SupervisionReasonCode": null,
            "BodyshopEmail": "osvaldas@balticode.com",
            "status": "DRAFT",
            "gtErrors": null,
            "id_number_fleet": null,
            "accident_date": "2020-05-01",
            "driver_name": null,
            "driver_telephone": null,
            "car_make": "Hyundai",
            "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
            "car_type": null,
            "contract_expire_date": "2022-01-01",
            "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
            "bodyshop_address": "teststraat",
            "bodyshop_postal_code": "1212 AB",
            "bodyshop_town": "Testplaats",
            "bodyshop_telephone_number": "070-3474741",
            "cause_of_damage": "1K",
            "currency_code": null,
            "type_of_fuel": null,
            "country_code": "Nederland",
            "free_text": null,
            "bodyshop_housenumber": "30",
            "license_date": "2011-10-05",
            "bd_tacho": null,
            "bd_accident_date": null,
            "bd_entry_date": null,
            "bd_expected_end_date": null,
            "bd_jobs_to_do": null,
            "bd_damage_description": null,
            "bd_primary_collision": null,
            "bd_policy_number": null,
            "bd_insurance_coverage": null,
            "bd_amount_of_own_risk": null,
            "bd_estimate_amount_of_damage": null,
            "bd_recoverable_guarantee_fund": null,
            "bd_insured_m_f": null,
            "bd_insured_name": null,
            "bd_insured_address": null,
            "bd_insured_postal_code": null,
            "bd_insured_town": null,
            "bd_insured_telephone_number": null,
            "bd_driver_m_f": null,
            "bd_driver_address": null,
            "bd_driver_postal_code": null,
            "bd_driver_town": null,
            "bd_direction_of_impact": null,
            "bd_main_impact_area": null,
            "bd_colour": null,
            "bd_expert_involved_y_n": null,
            "bd_model_year": null,
            "bd_date_part1": null,
            "bd_date_part2": null,
            "bd_damage_manager_lease_company_name": null,
            "bd_damage_manager_lease_company_telephone": null,
            "bd_damage_manager_lease_company_email": null,
            "RepairStartDate": null,
            "ExpectedRepairEndDate": null,
            "RepairEndDate": null,
            "VehicleExitDate": null,
            "created": "May 12, 2020"
        }
    ]
}

HTTP Request

GET api/claims

Get Claim Details.

Example request:

curl -X GET \
    -G "https://portal-dev.iclaim.pro/api/claims/1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}"

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://portal-dev.iclaim.pro/api/claims/1',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://portal-dev.iclaim.pro/api/claims/1"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response => response.json())
    .then(json => console.log(json));
import requests
import json

url = 'https://portal-dev.iclaim.pro/api/claims/1'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer {token}'
}
response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "gtId": "1611362",
        "id": 1,
        "ProviderBOEntity": "NL15222333",
        "CompanyCode": null,
        "InterventionType": "6",
        "InterventionSubtypeCode": null,
        "License": "31-SJP-8",
        "Vin": "WERA1231231231222",
        "ExpedientNumber": "30",
        "ActualKM": "1",
        "BODataIncluded": null,
        "BOData": null,
        "UserLogin": "fleetnl1",
        "SupervisorEntityCode": null,
        "SupervisionReasonCode": null,
        "BodyshopEmail": null,
        "status": "DRAFT",
        "gtErrors": null,
        "id_number_fleet": null,
        "accident_date": "2020-04-01",
        "driver_name": null,
        "driver_telephone": null,
        "car_make": "Hyundai",
        "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
        "car_type": null,
        "contract_expire_date": "2022-01-01",
        "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
        "bodyshop_address": "teststraat",
        "bodyshop_postal_code": "1212 AB",
        "bodyshop_town": "Testplaats",
        "bodyshop_telephone_number": "324234234234234",
        "cause_of_damage": "1K",
        "currency_code": null,
        "type_of_fuel": null,
        "country_code": "Nederland",
        "free_text": null,
        "bodyshop_housenumber": "30",
        "license_date": "2011-10-05",
        "bd_tacho": null,
        "bd_accident_date": null,
        "bd_entry_date": null,
        "bd_expected_end_date": null,
        "bd_jobs_to_do": null,
        "bd_damage_description": null,
        "bd_primary_collision": null,
        "bd_policy_number": null,
        "bd_insurance_coverage": null,
        "bd_amount_of_own_risk": null,
        "bd_estimate_amount_of_damage": null,
        "bd_recoverable_guarantee_fund": null,
        "bd_insured_m_f": null,
        "bd_insured_name": null,
        "bd_insured_address": null,
        "bd_insured_postal_code": null,
        "bd_insured_town": null,
        "bd_insured_telephone_number": null,
        "bd_driver_m_f": null,
        "bd_driver_address": null,
        "bd_driver_postal_code": null,
        "bd_driver_town": null,
        "bd_direction_of_impact": null,
        "bd_main_impact_area": null,
        "bd_colour": null,
        "bd_expert_involved_y_n": null,
        "bd_model_year": null,
        "bd_date_part1": null,
        "bd_date_part2": null,
        "bd_damage_manager_lease_company_name": null,
        "bd_damage_manager_lease_company_telephone": null,
        "bd_damage_manager_lease_company_email": null,
        "RepairStartDate": "2020-01-01 00:00:00",
        "ExpectedRepairEndDate": "2020-02-01 00:00:00",
        "RepairEndDate": "2020-03-01 00:00:00",
        "VehicleExitDate": "2020-04-01 00:00:00",
        "created": "May 4, 2020",
        "created_mm_dd_yyyy": "05-04-2020",
        "estimate": {
            "id": 19,
            "authorization_id": "1",
            "AuthorizationId": "1611362",
            "CurrencyISOCode": "EUR",
            "TotalValue": "143.61",
            "Ecotax": "0",
            "Subtotal": "143.61",
            "DiscountTotalAmount": "0",
            "TotalTaxBase": "143.61",
            "TotalTaxAmount": "30.16",
            "Total": "173.77",
            "lines": [
                {
                    "id": 145,
                    "estimate_id": "19",
                    "Type": "1",
                    "Code": "801013672R",
                    "Description": "deur LV",
                    "ProductCode": "7401L",
                    "Quantity": "1",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Part",
                    "actions": [
                        {
                            "id": 109,
                            "estimate_line_id": "145",
                            "value": "1"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 109,
                            "estimate_line_id": "145",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 146,
                    "estimate_id": "19",
                    "Type": "2",
                    "Code": "4394",
                    "Description": "Demonteren en monteren deur LV",
                    "ProductCode": "body",
                    "Quantity": "0.4",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Labour",
                    "actions": [
                        {
                            "id": 110,
                            "estimate_line_id": "146",
                            "value": "3"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 110,
                            "estimate_line_id": "146",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 147,
                    "estimate_id": "19",
                    "Type": "2",
                    "Code": "4397",
                    "Description": "Vervangen deur LV",
                    "ProductCode": "body",
                    "Quantity": "1.5",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Labour",
                    "actions": [
                        {
                            "id": 111,
                            "estimate_line_id": "147",
                            "value": "1"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 111,
                            "estimate_line_id": "147",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 148,
                    "estimate_id": "19",
                    "Type": "2",
                    "Code": "A4C6",
                    "Description": "Afstellen deur LV",
                    "ProductCode": "body",
                    "Quantity": "0.3",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Labour",
                    "actions": [
                        {
                            "id": 112,
                            "estimate_line_id": "148",
                            "value": "9"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 112,
                            "estimate_line_id": "148",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 149,
                    "estimate_id": "19",
                    "Type": "9",
                    "Code": "GtP7401L",
                    "Description": "deur LV Vervanging (I) Gedemonteerde onderdelen",
                    "ProductCode": "paint",
                    "Quantity": "1.5",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint labour",
                    "actions": [
                        {
                            "id": 113,
                            "estimate_line_id": "149",
                            "value": "20"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 113,
                            "estimate_line_id": "149",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 150,
                    "estimate_id": "19",
                    "Type": "9",
                    "Code": "GtPPrep",
                    "Description": "Voorbereiding spuitwerk",
                    "ProductCode": "paint",
                    "Quantity": "1.1",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint labour",
                    "actions": [],
                    "part_codes": []
                },
                {
                    "id": 151,
                    "estimate_id": "19",
                    "Type": "10",
                    "Code": "GtP7401L",
                    "Description": "deur LV Vervanging (I) Gedemonteerde onderdelen",
                    "ProductCode": "paint",
                    "Quantity": "1",
                    "UnitPrice": "107.01",
                    "BaseAmount": "107.01",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "107.01",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint material",
                    "actions": [
                        {
                            "id": 114,
                            "estimate_line_id": "151",
                            "value": "20"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 114,
                            "estimate_line_id": "151",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 152,
                    "estimate_id": "19",
                    "Type": "10",
                    "Code": "GtPPrep",
                    "Description": "Voorbereiding spuitwerk",
                    "ProductCode": "paint",
                    "Quantity": "1",
                    "UnitPrice": "36.6",
                    "BaseAmount": "36.6",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "36.6",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint material",
                    "actions": [],
                    "part_codes": []
                }
            ]
        },
        "invoice": null,
        "attachments": [
            {
                "id": 11,
                "authorization_id": "1",
                "Description": "GtEstimate report",
                "Private": "0",
                "File": null,
                "IsPicture": "0",
                "IsInvoice": "0",
                "FileUrl": "https:\/\/beta-apiservices.gtglobal.eu\/api\/authorizations\/1611362\/attachments\/1413510\/file",
                "UserLogin": "bodyshop1",
                "file_id": "20",
                "file": {
                    "id": 20,
                    "file": "attachments\/1\/5eba9623ec5f1.pdf",
                    "name": "GTEstimate report.pdf",
                    "mime": null,
                    "size": null,
                    "created_at": "2020-05-12T12:27:16.000000Z",
                    "updated_at": "2020-05-12T12:27:16.000000Z",
                    "url": "\/storage\/attachments\/1\/5eba9623ec5f1.pdf"
                }
            }
        ]
    }
}

HTTP Request

GET api/claims/{authorization}

Add Attachement to Claim.

Example request:

curl -X PATCH \
    "https://portal-dev.iclaim.pro/api/claims/1/attachments" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"FileName":"quidem","FileStream":"eligendi","IsInvoice":true,"IsPicture":false}'

$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://portal-dev.iclaim.pro/api/claims/1/attachments',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'FileName' => 'quidem',
            'FileStream' => 'eligendi',
            'IsInvoice' => true,
            'IsPicture' => false,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://portal-dev.iclaim.pro/api/claims/1/attachments"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "FileName": "quidem",
    "FileStream": "eligendi",
    "IsInvoice": true,
    "IsPicture": false
}

fetch(url, {
    method: "PATCH",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));
import requests
import json

url = 'https://portal-dev.iclaim.pro/api/claims/1/attachments'
payload = {
    "FileName": "quidem",
    "FileStream": "eligendi",
    "IsInvoice": true,
    "IsPicture": false
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer {token}'
}
response = requests.request('PATCH', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "created": 1
}

HTTP Request

PATCH api/claims/{authorization}/attachments

Body Parameters

Parameter Type Status Description
FileName string optional The name of the file.
FileStream string optional File Contents Encoded in base64
IsInvoice boolean optional Whether File is Invoice
IsPicture boolean optional Whether File is Picture

Update Claim.

Example request:

curl -X PATCH \
    "https://portal-dev.iclaim.pro/api/claims/1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"bd_tacho":"quam","bd_accident_date":"sed","bd_entry_date":"quas","bd_expected_end_date":"officiis","bd_jobs_to_do":"numquam","bd_damage_description":"architecto","bd_primary_collision":"aut","bd_policy_number":"ipsum","bd_insurance_coverage":"minus","bd_amount_of_own_risk":"ut","bd_estimate_amount_of_damage":"officia","bd_recoverable_guarantee_fund":"labore","bd_insured_m_f":"suscipit","bd_insured_name":"magnam","bd_insured_address":"magni","bd_insured_postal_code":"animi","bd_insured_town":"quia","bd_insured_telephone_number":"aut","bd_driver_m_f":"nostrum","bd_driver_address":"eligendi","bd_driver_postal_code":"sed","bd_driver_town":"ipsa","bd_direction_of_impact":"commodi","bd_main_impact_area":"cupiditate","bd_colour":"temporibus","bd_expert_involved_y_n":"qui","bd_model_year":"nobis","bd_date_part1":"assumenda","bd_date_part2":"quia","bd_damage_manager_lease_company_name":"minima","bd_damage_manager_lease_company_telephone":"molestiae","bd_damage_manager_lease_company_email":"maiores"}'

$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://portal-dev.iclaim.pro/api/claims/1',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'bd_tacho' => 'quam',
            'bd_accident_date' => 'sed',
            'bd_entry_date' => 'quas',
            'bd_expected_end_date' => 'officiis',
            'bd_jobs_to_do' => 'numquam',
            'bd_damage_description' => 'architecto',
            'bd_primary_collision' => 'aut',
            'bd_policy_number' => 'ipsum',
            'bd_insurance_coverage' => 'minus',
            'bd_amount_of_own_risk' => 'ut',
            'bd_estimate_amount_of_damage' => 'officia',
            'bd_recoverable_guarantee_fund' => 'labore',
            'bd_insured_m_f' => 'suscipit',
            'bd_insured_name' => 'magnam',
            'bd_insured_address' => 'magni',
            'bd_insured_postal_code' => 'animi',
            'bd_insured_town' => 'quia',
            'bd_insured_telephone_number' => 'aut',
            'bd_driver_m_f' => 'nostrum',
            'bd_driver_address' => 'eligendi',
            'bd_driver_postal_code' => 'sed',
            'bd_driver_town' => 'ipsa',
            'bd_direction_of_impact' => 'commodi',
            'bd_main_impact_area' => 'cupiditate',
            'bd_colour' => 'temporibus',
            'bd_expert_involved_y_n' => 'qui',
            'bd_model_year' => 'nobis',
            'bd_date_part1' => 'assumenda',
            'bd_date_part2' => 'quia',
            'bd_damage_manager_lease_company_name' => 'minima',
            'bd_damage_manager_lease_company_telephone' => 'molestiae',
            'bd_damage_manager_lease_company_email' => 'maiores',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://portal-dev.iclaim.pro/api/claims/1"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "bd_tacho": "quam",
    "bd_accident_date": "sed",
    "bd_entry_date": "quas",
    "bd_expected_end_date": "officiis",
    "bd_jobs_to_do": "numquam",
    "bd_damage_description": "architecto",
    "bd_primary_collision": "aut",
    "bd_policy_number": "ipsum",
    "bd_insurance_coverage": "minus",
    "bd_amount_of_own_risk": "ut",
    "bd_estimate_amount_of_damage": "officia",
    "bd_recoverable_guarantee_fund": "labore",
    "bd_insured_m_f": "suscipit",
    "bd_insured_name": "magnam",
    "bd_insured_address": "magni",
    "bd_insured_postal_code": "animi",
    "bd_insured_town": "quia",
    "bd_insured_telephone_number": "aut",
    "bd_driver_m_f": "nostrum",
    "bd_driver_address": "eligendi",
    "bd_driver_postal_code": "sed",
    "bd_driver_town": "ipsa",
    "bd_direction_of_impact": "commodi",
    "bd_main_impact_area": "cupiditate",
    "bd_colour": "temporibus",
    "bd_expert_involved_y_n": "qui",
    "bd_model_year": "nobis",
    "bd_date_part1": "assumenda",
    "bd_date_part2": "quia",
    "bd_damage_manager_lease_company_name": "minima",
    "bd_damage_manager_lease_company_telephone": "molestiae",
    "bd_damage_manager_lease_company_email": "maiores"
}

fetch(url, {
    method: "PATCH",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));
import requests
import json

url = 'https://portal-dev.iclaim.pro/api/claims/1'
payload = {
    "bd_tacho": "quam",
    "bd_accident_date": "sed",
    "bd_entry_date": "quas",
    "bd_expected_end_date": "officiis",
    "bd_jobs_to_do": "numquam",
    "bd_damage_description": "architecto",
    "bd_primary_collision": "aut",
    "bd_policy_number": "ipsum",
    "bd_insurance_coverage": "minus",
    "bd_amount_of_own_risk": "ut",
    "bd_estimate_amount_of_damage": "officia",
    "bd_recoverable_guarantee_fund": "labore",
    "bd_insured_m_f": "suscipit",
    "bd_insured_name": "magnam",
    "bd_insured_address": "magni",
    "bd_insured_postal_code": "animi",
    "bd_insured_town": "quia",
    "bd_insured_telephone_number": "aut",
    "bd_driver_m_f": "nostrum",
    "bd_driver_address": "eligendi",
    "bd_driver_postal_code": "sed",
    "bd_driver_town": "ipsa",
    "bd_direction_of_impact": "commodi",
    "bd_main_impact_area": "cupiditate",
    "bd_colour": "temporibus",
    "bd_expert_involved_y_n": "qui",
    "bd_model_year": "nobis",
    "bd_date_part1": "assumenda",
    "bd_date_part2": "quia",
    "bd_damage_manager_lease_company_name": "minima",
    "bd_damage_manager_lease_company_telephone": "molestiae",
    "bd_damage_manager_lease_company_email": "maiores"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer {token}'
}
response = requests.request('PATCH', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "gtId": "1611362",
        "id": 1,
        "ProviderBOEntity": "NL15222333",
        "CompanyCode": null,
        "InterventionType": "6",
        "InterventionSubtypeCode": null,
        "License": "31-SJP-8",
        "Vin": "WERA1231231231222",
        "ExpedientNumber": "30",
        "ActualKM": "1",
        "BODataIncluded": null,
        "BOData": null,
        "UserLogin": "fleetnl1",
        "SupervisorEntityCode": null,
        "SupervisionReasonCode": null,
        "BodyshopEmail": null,
        "status": "DRAFT",
        "gtErrors": null,
        "id_number_fleet": null,
        "accident_date": "2020-04-01",
        "driver_name": null,
        "driver_telephone": null,
        "car_make": "Hyundai",
        "car_model_and_type": "Hyundai i10 (5-deurs) 1.0 blue i-motion",
        "car_type": null,
        "contract_expire_date": "2022-01-01",
        "bodyshop_name": "ABS Autoherstel Den Elzen Haag",
        "bodyshop_address": "teststraat",
        "bodyshop_postal_code": "1212 AB",
        "bodyshop_town": "Testplaats",
        "bodyshop_telephone_number": "324234234234234",
        "cause_of_damage": "1K",
        "currency_code": null,
        "type_of_fuel": null,
        "country_code": "Nederland",
        "free_text": null,
        "bodyshop_housenumber": "30",
        "license_date": "2011-10-05",
        "bd_tacho": null,
        "bd_accident_date": null,
        "bd_entry_date": null,
        "bd_expected_end_date": null,
        "bd_jobs_to_do": null,
        "bd_damage_description": null,
        "bd_primary_collision": null,
        "bd_policy_number": null,
        "bd_insurance_coverage": null,
        "bd_amount_of_own_risk": null,
        "bd_estimate_amount_of_damage": null,
        "bd_recoverable_guarantee_fund": null,
        "bd_insured_m_f": null,
        "bd_insured_name": null,
        "bd_insured_address": null,
        "bd_insured_postal_code": null,
        "bd_insured_town": null,
        "bd_insured_telephone_number": null,
        "bd_driver_m_f": null,
        "bd_driver_address": null,
        "bd_driver_postal_code": null,
        "bd_driver_town": null,
        "bd_direction_of_impact": null,
        "bd_main_impact_area": null,
        "bd_colour": null,
        "bd_expert_involved_y_n": null,
        "bd_model_year": null,
        "bd_date_part1": null,
        "bd_date_part2": null,
        "bd_damage_manager_lease_company_name": null,
        "bd_damage_manager_lease_company_telephone": null,
        "bd_damage_manager_lease_company_email": null,
        "RepairStartDate": "2020-01-01 00:00:00",
        "ExpectedRepairEndDate": "2020-02-01 00:00:00",
        "RepairEndDate": "2020-03-01 00:00:00",
        "VehicleExitDate": "2020-04-01 00:00:00",
        "created": "May 4, 2020",
        "created_mm_dd_yyyy": "05-04-2020",
        "estimate": {
            "id": 19,
            "authorization_id": "1",
            "AuthorizationId": "1611362",
            "CurrencyISOCode": "EUR",
            "TotalValue": "143.61",
            "Ecotax": "0",
            "Subtotal": "143.61",
            "DiscountTotalAmount": "0",
            "TotalTaxBase": "143.61",
            "TotalTaxAmount": "30.16",
            "Total": "173.77",
            "lines": [
                {
                    "id": 145,
                    "estimate_id": "19",
                    "Type": "1",
                    "Code": "801013672R",
                    "Description": "deur LV",
                    "ProductCode": "7401L",
                    "Quantity": "1",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Part",
                    "actions": [
                        {
                            "id": 109,
                            "estimate_line_id": "145",
                            "value": "1"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 109,
                            "estimate_line_id": "145",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 146,
                    "estimate_id": "19",
                    "Type": "2",
                    "Code": "4394",
                    "Description": "Demonteren en monteren deur LV",
                    "ProductCode": "body",
                    "Quantity": "0.4",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Labour",
                    "actions": [
                        {
                            "id": 110,
                            "estimate_line_id": "146",
                            "value": "3"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 110,
                            "estimate_line_id": "146",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 147,
                    "estimate_id": "19",
                    "Type": "2",
                    "Code": "4397",
                    "Description": "Vervangen deur LV",
                    "ProductCode": "body",
                    "Quantity": "1.5",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Labour",
                    "actions": [
                        {
                            "id": 111,
                            "estimate_line_id": "147",
                            "value": "1"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 111,
                            "estimate_line_id": "147",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 148,
                    "estimate_id": "19",
                    "Type": "2",
                    "Code": "A4C6",
                    "Description": "Afstellen deur LV",
                    "ProductCode": "body",
                    "Quantity": "0.3",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Labour",
                    "actions": [
                        {
                            "id": 112,
                            "estimate_line_id": "148",
                            "value": "9"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 112,
                            "estimate_line_id": "148",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 149,
                    "estimate_id": "19",
                    "Type": "9",
                    "Code": "GtP7401L",
                    "Description": "deur LV Vervanging (I) Gedemonteerde onderdelen",
                    "ProductCode": "paint",
                    "Quantity": "1.5",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint labour",
                    "actions": [
                        {
                            "id": 113,
                            "estimate_line_id": "149",
                            "value": "20"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 113,
                            "estimate_line_id": "149",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 150,
                    "estimate_id": "19",
                    "Type": "9",
                    "Code": "GtPPrep",
                    "Description": "Voorbereiding spuitwerk",
                    "ProductCode": "paint",
                    "Quantity": "1.1",
                    "UnitPrice": "0",
                    "BaseAmount": "0",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "0",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint labour",
                    "actions": [],
                    "part_codes": []
                },
                {
                    "id": 151,
                    "estimate_id": "19",
                    "Type": "10",
                    "Code": "GtP7401L",
                    "Description": "deur LV Vervanging (I) Gedemonteerde onderdelen",
                    "ProductCode": "paint",
                    "Quantity": "1",
                    "UnitPrice": "107.01",
                    "BaseAmount": "107.01",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "107.01",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint material",
                    "actions": [
                        {
                            "id": 114,
                            "estimate_line_id": "151",
                            "value": "20"
                        }
                    ],
                    "part_codes": [
                        {
                            "id": 114,
                            "estimate_line_id": "151",
                            "value": "7401L"
                        }
                    ]
                },
                {
                    "id": 152,
                    "estimate_id": "19",
                    "Type": "10",
                    "Code": "GtPPrep",
                    "Description": "Voorbereiding spuitwerk",
                    "ProductCode": "paint",
                    "Quantity": "1",
                    "UnitPrice": "36.6",
                    "BaseAmount": "36.6",
                    "DiscountAmount": "0",
                    "ClientCharge": "0",
                    "CommercialOffer": null,
                    "CommercialObserv": null,
                    "TotalAmountLine": "36.6",
                    "CommercialOfferType": "0",
                    "ClientChargeObserv": null,
                    "ClientChargeType": null,
                    "UpgradeType": null,
                    "VehicleElement": "0",
                    "AftPlatform": "0",
                    "StorageReference": null,
                    "StoragePlace": null,
                    "FreePackageCode": "",
                    "line_type": "Paint material",
                    "actions": [],
                    "part_codes": []
                }
            ]
        },
        "invoice": null,
        "attachments": [
            {
                "id": 11,
                "authorization_id": "1",
                "Description": "GtEstimate report",
                "Private": "0",
                "File": null,
                "IsPicture": "0",
                "IsInvoice": "0",
                "FileUrl": "https:\/\/beta-apiservices.gtglobal.eu\/api\/authorizations\/1611362\/attachments\/1413510\/file",
                "UserLogin": "bodyshop1",
                "file_id": "20",
                "file": {
                    "id": 20,
                    "file": "attachments\/1\/5eba9623ec5f1.pdf",
                    "name": "GTEstimate report.pdf",
                    "mime": null,
                    "size": null,
                    "created_at": "2020-05-12T12:27:16.000000Z",
                    "updated_at": "2020-05-12T12:27:16.000000Z",
                    "url": "\/storage\/attachments\/1\/5eba9623ec5f1.pdf"
                }
            }
        ]
    }
}

HTTP Request

PATCH api/claims/{authorization}

Body Parameters

Parameter Type Status Description
bd_tacho string optional Tacho.
bd_accident_date string optional Accident Date.
bd_entry_date string optional Entry Date.
bd_expected_end_date string optional Expected End Date.
bd_jobs_to_do string optional Jobs to do.
bd_damage_description string optional Damage Description.
bd_primary_collision string optional Primary Collision.
bd_policy_number string optional Policy Number.
bd_insurance_coverage string optional Insurance Coverage.
bd_amount_of_own_risk string optional Amount of Own Risk.
bd_estimate_amount_of_damage string optional Estimate Amount of Damage.
bd_recoverable_guarantee_fund string optional Recoverable Guarantee Fund.
bd_insured_m_f string optional Insured M/F.
bd_insured_name string optional Insured Name.
bd_insured_address string optional Insured Address.
bd_insured_postal_code string optional Insured Postal Code.
bd_insured_town string optional Insured Town.
bd_insured_telephone_number string optional Insured Telephone Number.
bd_driver_m_f string optional Driver M/F.
bd_driver_address string optional Driver Address.
bd_driver_postal_code string optional Driver Postal Code.
bd_driver_town string optional Driver Town.
bd_direction_of_impact string optional Direction of Impact.
bd_main_impact_area string optional Main Impact Area.
bd_colour string optional Colour.
bd_expert_involved_y_n string optional Expert Involved Y/N.
bd_model_year string optional Model Year.
bd_date_part1 string optional Date Part1.
bd_date_part2 string optional Date Part2.
bd_damage_manager_lease_company_name string optional Damage Manager Lease Company Name.
bd_damage_manager_lease_company_telephone string optional Damage Manager Lease Company Telephone.
bd_damage_manager_lease_company_email string optional Damage Manager Lease Company email.

Add Invoice to Claim.

Example request:

curl -X PATCH \
    "https://portal-dev.iclaim.pro/api/claims/1/invoices" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"AdditionalData":{"AuthorizationNumber":"delectus","ServiceDate":"iste","License":"voluptate","Vin":"ab"},"InvoiceNumber":"ex","IssueDate":"architecto","CurrencyISOCode":"ut","Buyer":{"TaxIdentificationNumber":"consequuntur","FirmName":"nihil","AddressInfo":{"Address":"aut","PostCode":"ut","Locality":"laboriosam","Province":"eos"}},"Seller":{"TaxIdentificationNumber":"quis","FirmName":"unde","AddressInfo":{"Address":"similique","PostCode":"tempora","Locality":"aliquid","Province":"consequatur"}},"CashApproach":false,"TotalBaseAmount":589.25300000000004,"TotalDiscountAmount":549,"TotalTaxBase":11.92165,"TotalTaxAmount":20856.408800000001,"Total":545.58804350000003,"TaxInfoList":[{"TaxPercent":6582.5052999999998,"TaxBase":829.29707698599998,"TaxAmount":50893.305275999999}],"Lines":[{"Description":"rerum","Quantity":1.3514699999999999,"UnitPrice":604.19200000000001,"ChargeAmount":5.7913699999999997,"BaseAmount":29209392.338979602,"TaxAmount":0,"TaxPercent":33662355.273759998}]}'

$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://portal-dev.iclaim.pro/api/claims/1/invoices',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'AdditionalData' => [
                'AuthorizationNumber' => 'delectus',
                'ServiceDate' => 'iste',
                'License' => 'voluptate',
                'Vin' => 'ab',
            ],
            'InvoiceNumber' => 'ex',
            'IssueDate' => 'architecto',
            'CurrencyISOCode' => 'ut',
            'Buyer' => [
                'TaxIdentificationNumber' => 'consequuntur',
                'FirmName' => 'nihil',
                'AddressInfo' => [
                    'Address' => 'aut',
                    'PostCode' => 'ut',
                    'Locality' => 'laboriosam',
                    'Province' => 'eos',
                ],
            ],
            'Seller' => [
                'TaxIdentificationNumber' => 'quis',
                'FirmName' => 'unde',
                'AddressInfo' => [
                    'Address' => 'similique',
                    'PostCode' => 'tempora',
                    'Locality' => 'aliquid',
                    'Province' => 'consequatur',
                ],
            ],
            'CashApproach' => false,
            'TotalBaseAmount' => 589.25300000000004,
            'TotalDiscountAmount' => 549.0,
            'TotalTaxBase' => 11.92165,
            'TotalTaxAmount' => 20856.408800000001,
            'Total' => 545.58804350000003,
            'TaxInfoList' => [
                [
                    'TaxPercent' => 6582.5052999999998,
                    'TaxBase' => 829.29707698599998,
                    'TaxAmount' => 50893.305275999999,
                ],
            ],
            'Lines' => [
                [
                    'Description' => 'rerum',
                    'Quantity' => 1.3514699999999999,
                    'UnitPrice' => 604.19200000000001,
                    'ChargeAmount' => 5.7913699999999997,
                    'BaseAmount' => 29209392.338979602,
                    'TaxAmount' => 0.0,
                    'TaxPercent' => 33662355.273759998,
                ],
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://portal-dev.iclaim.pro/api/claims/1/invoices"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "AdditionalData": {
        "AuthorizationNumber": "delectus",
        "ServiceDate": "iste",
        "License": "voluptate",
        "Vin": "ab"
    },
    "InvoiceNumber": "ex",
    "IssueDate": "architecto",
    "CurrencyISOCode": "ut",
    "Buyer": {
        "TaxIdentificationNumber": "consequuntur",
        "FirmName": "nihil",
        "AddressInfo": {
            "Address": "aut",
            "PostCode": "ut",
            "Locality": "laboriosam",
            "Province": "eos"
        }
    },
    "Seller": {
        "TaxIdentificationNumber": "quis",
        "FirmName": "unde",
        "AddressInfo": {
            "Address": "similique",
            "PostCode": "tempora",
            "Locality": "aliquid",
            "Province": "consequatur"
        }
    },
    "CashApproach": false,
    "TotalBaseAmount": 589.25300000000004,
    "TotalDiscountAmount": 549,
    "TotalTaxBase": 11.92165,
    "TotalTaxAmount": 20856.408800000001,
    "Total": 545.58804350000003,
    "TaxInfoList": [
        {
            "TaxPercent": 6582.5052999999998,
            "TaxBase": 829.29707698599998,
            "TaxAmount": 50893.305275999999
        }
    ],
    "Lines": [
        {
            "Description": "rerum",
            "Quantity": 1.3514699999999999,
            "UnitPrice": 604.19200000000001,
            "ChargeAmount": 5.7913699999999997,
            "BaseAmount": 29209392.338979602,
            "TaxAmount": 0,
            "TaxPercent": 33662355.273759998
        }
    ]
}

fetch(url, {
    method: "PATCH",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));
import requests
import json

url = 'https://portal-dev.iclaim.pro/api/claims/1/invoices'
payload = {
    "AdditionalData": {
        "AuthorizationNumber": "delectus",
        "ServiceDate": "iste",
        "License": "voluptate",
        "Vin": "ab"
    },
    "InvoiceNumber": "ex",
    "IssueDate": "architecto",
    "CurrencyISOCode": "ut",
    "Buyer": {
        "TaxIdentificationNumber": "consequuntur",
        "FirmName": "nihil",
        "AddressInfo": {
            "Address": "aut",
            "PostCode": "ut",
            "Locality": "laboriosam",
            "Province": "eos"
        }
    },
    "Seller": {
        "TaxIdentificationNumber": "quis",
        "FirmName": "unde",
        "AddressInfo": {
            "Address": "similique",
            "PostCode": "tempora",
            "Locality": "aliquid",
            "Province": "consequatur"
        }
    },
    "CashApproach": false,
    "TotalBaseAmount": 589.25300000000004,
    "TotalDiscountAmount": 549,
    "TotalTaxBase": 11.92165,
    "TotalTaxAmount": 20856.408800000001,
    "Total": 545.58804350000003,
    "TaxInfoList": [
        {
            "TaxPercent": 6582.5052999999998,
            "TaxBase": 829.29707698599998,
            "TaxAmount": 50893.305275999999
        }
    ],
    "Lines": [
        {
            "Description": "rerum",
            "Quantity": 1.3514699999999999,
            "UnitPrice": 604.19200000000001,
            "ChargeAmount": 5.7913699999999997,
            "BaseAmount": 29209392.338979602,
            "TaxAmount": 0,
            "TaxPercent": 33662355.273759998
        }
    ]
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer {token}'
}
response = requests.request('PATCH', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "created": 1,
    "invoiceId": 1
}

HTTP Request

PATCH api/claims/{authorization}/invoices

Body Parameters

Parameter Type Status Description
AdditionalData.AuthorizationNumber string optional The Authorization Number.
AdditionalData.ServiceDate string optional The Service Date.
AdditionalData.License string optional The Car License Number.
AdditionalData.Vin string optional The Car Vin Number.
InvoiceNumber string optional The Invoice Number.
IssueDate string optional The Invoice Issue date.
CurrencyISOCode string optional The Invoice Currency ISO Code.
Buyer.TaxIdentificationNumber string optional TaxIdentificationNumber.
Buyer.FirmName string optional FirmName.
Buyer.AddressInfo.Address string optional Address.
Buyer.AddressInfo.PostCode string optional PostCode.
Buyer.AddressInfo.Locality string optional Locality.
Buyer.AddressInfo.Province string optional Province.
Seller.TaxIdentificationNumber string optional TaxIdentificationNumber.
Seller.FirmName string optional FirmName.
Seller.AddressInfo.Address string optional Address.
Seller.AddressInfo.PostCode string optional PostCode.
Seller.AddressInfo.Locality string optional Locality.
Seller.AddressInfo.Province string optional Province.
CashApproach boolean optional CashApproach.
TotalBaseAmount float optional TotalBaseAmount.
TotalDiscountAmount float optional TotalDiscountAmount.
TotalTaxBase float optional TotalTaxBase.
TotalTaxAmount float optional TotalTaxAmount.
Total float optional Total.
TaxInfoList.*.TaxPercent float optional TaxPercent.
TaxInfoList.*.TaxBase float optional TaxBase.
TaxInfoList.*.TaxAmount float optional TaxAmount.
Lines.*.Description string optional Description.
Lines.*.Quantity float optional Quantity.
Lines.*.UnitPrice float optional UnitPrice.
Lines.*.ChargeAmount float optional ChargeAmount.
Lines.*.BaseAmount float optional BaseAmount.
Lines.*.TaxAmount float optional TaxAmount.
Lines.*.TaxPercent float optional TaxPercent.