AME-SM Api

Customer car insurance: search

https://www.ameinsure.com/api/Customercar_insurance/getall
Post
{
'token' => string, **
'search_txt' => string,
}
{
'code' => string (0x0000-00000 when success),
'message' => string,
'data' => array (
'id' => Id,
'purchase_date' => string (format: yyyy-mm-dd),
'noti_number' => string,
'insurance_number' => string,
'effective_date' => string (format: yyyy-mm-dd),
'expiry_date' => string (format: yyyy-mm-dd),
'net_price' => float,
'vat' => float
'price_before_vat' => float,
'down_payment_percent' => float
'number_installment' => int
'payment_installment' => float
'sum_insured' => float
'first_payment' => flaot
'insurance_payment_form_path' => string
'attorney_cancellation_path' => string
'is_active' => int
'sent_file_sccess' => int
'welcome_call_success' => int
'created_date' => string (format: yyyy-mm-dd),
'modified_date' => string (format: yyyy-mm-dd),
'customer_car' => array (
'id' => int,
'car_model_id' => int,
'car_model_name' => string,
'car_brand_id' => int,
'car_brand_name' => string,
'purchase_date' => string (format: yyyy-mm-dd),
'reg_year' => string,
'car_number' => string ,
'reg_number' => string
)
'customer' => array (
'id' => int,
'first_name' => string,
'last_name' => string,
'citizen_id' => int,
'birth_date' => string,
'gender' => string (format: yyyy-mm-dd),
'mobile_number' => string,
'phone_number' => string ,
'line_id' => string ,
'address' => string
'address_province' => object (
'id' => int,
'name' => string
)
'address_district' => object (
'id' => int,
'name' => string
)
'address_sub_district' => object (
'id' => int,
'name' => string
)
'postcode' => string,
),
'insurance_company' => array (
'id' => Id,
'name' => string
)
'insurance_car_type' => array (
'id' => Id,
'name' => string
)
'broker' => array (
'id' => int,
'name' => string
)
)
}