Authorization: Bearer ********************{
"periodoc": {
"periodoc_type_id": 30,
"doc_no": "exp1212",
"doc_date": "2024-09-13",
"start_date": "2024-07-15",
"due_date": "2024-08-15",
"title": "ExampleForApi",
"vehicle_id": 53283
},
"base64_image": "Base64EncodedFileExample"
}
curl --location --request POST 'https://demo.modaltrans.com/api/v1/periodocs' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"periodoc": {
"periodoc_type_id": 30,
"doc_no": "exp1212",
"doc_date": "2024-09-13",
"start_date": "2024-07-15",
"due_date": "2024-08-15",
"title": "ExampleForApi",
"vehicle_id": 53283
},
"base64_image": "Base64EncodedFileExample"
}'{
"uuid": "string",
"periodoc_type_id": 0,
"doc_no": "string",
"doc_date": "2019-08-24",
"start_date": "2019-08-24",
"due_date": "2019-08-24",
"status": "string",
"periodoc_type_name": "string"
}