{
"name": "Faba Transpotir B",
"address": "Address 2",
"contractNo": "08581201413",
"organizationId": 1,
"fabaTransporterVehicles": [
{
"vehicleTypeCode": "TC003",
"vehicleType": "Type 1",
"vehicleRegistrationNo": "Reg001",
"carryingCapacity": "3000",
"kirExpiryDate": "2024-10-10",
"kirAttachment": "File a"
},
{
"vehicleTypeCode": "TC004",
"vehicleType": "Type 2",
"vehicleRegistrationNo": "Reg002",
"carryingCapacity": "4000",
"kirExpiryDate": "2024-11-10",
"kirAttachment": "File ab"
}
],
"fabaTransporterContactPhones": [
{
"type": "Type b",
"phone": "0857xxxxxxxx"
},
{
"type": "Type c",
"phone": "0857xxxxxxxx"
}
]
}
curl --location --request PUT 'http://localhost:8080/api/v1/fabaTransporter/1/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Faba Transpotir B",
"address": "Address 2",
"contractNo": "08581201413",
"organizationId": 1,
"fabaTransporterVehicles": [
{
"vehicleTypeCode": "TC003",
"vehicleType": "Type 1",
"vehicleRegistrationNo": "Reg001",
"carryingCapacity": "3000",
"kirExpiryDate": "2024-10-10",
"kirAttachment": "File a"
},
{
"vehicleTypeCode": "TC004",
"vehicleType": "Type 2",
"vehicleRegistrationNo": "Reg002",
"carryingCapacity": "4000",
"kirExpiryDate": "2024-11-10",
"kirAttachment": "File ab"
}
],
"fabaTransporterContactPhones": [
{
"type": "Type b",
"phone": "0857xxxxxxxx"
},
{
"type": "Type c",
"phone": "0857xxxxxxxx"
}
]
}'
{}