secret-key: ********************{
"doc_number": "PO/0000002/HANK/D/IX/2025",
"requisition_docs": ["c54877e5-1555-403f-b606-4abd0143b886"],
"vendor_ref_id": "1011136",
"asset_ref_id": "1001987",
"doc_type": "PO",
"delivery_order_ref_id": "1",
"status": "completed",
"tugboat_ref_id": 1231,
"description": "nothing",
"date_ordered":"2024-01-12T13:52:58.371Z",
"date_acct":"2024-01-12T13:52:58.371Z",
"products": [
{
"product_code": "MEDICINE_EP",
"product_name": "MEDICINE",
"requisition_detail_id": "d847a308-22e7-44c7-a25a-4b6bfc984a6e",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "1f848257-d2be-439b-9335-2e6605e53a16",
"drawing_number": null,
"tugboat_ref_id": 1231
},
{
"product_code": "REPA00001_EP",
"product_name": "VESSEL REPAIR - MATERIAL",
"requisition_detail_id": "03e39715-3438-4ca7-a329-71a70649e7b7",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "ffc165c1-415e-45af-915d-261fc6830b0a",
"drawing_number": null,
"tugboat_ref_id": 1231
},
{
"product_code": "REPA00001_EP",
"product_name": "VESSEL REPAIR - MATERIAL",
"requisition_detail_id": "b8d51544-e8c6-4bc1-9c58-e4cf7957aeb9",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "ffc165c1-415e-45af-915d-261fc6830b0a",
"drawing_number": null,
"tugboat_ref_id": 1231
},
{
"product_code": "REPA00001_EP",
"product_name": "VESSEL REPAIR - MATERIAL",
"requisition_detail_id": "b0c7518f-643e-43fa-8055-c58d6b39a887",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "ffc165c1-415e-45af-915d-261fc6830b0a",
"drawing_number": null,
"tugboat_ref_id": 1231
}
]
}curl --location --request POST 'https://mazu-lan.concise.co.id/api/v1/taowi/purchase-orders/' \
--header 'secret-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"doc_number": "PO/0000002/HANK/D/IX/2025",
"requisition_docs": ["c54877e5-1555-403f-b606-4abd0143b886"],
"vendor_ref_id": "1011136",
"asset_ref_id": "1001987",
"doc_type": "PO",
"delivery_order_ref_id": "1",
"status": "completed",
"tugboat_ref_id": 1231,
"description": "nothing",
"date_ordered":"2024-01-12T13:52:58.371Z",
"date_acct":"2024-01-12T13:52:58.371Z",
"products": [
{
"product_code": "MEDICINE_EP",
"product_name": "MEDICINE",
"requisition_detail_id": "d847a308-22e7-44c7-a25a-4b6bfc984a6e",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "1f848257-d2be-439b-9335-2e6605e53a16",
"drawing_number": null,
"tugboat_ref_id": 1231
},
{
"product_code": "REPA00001_EP",
"product_name": "VESSEL REPAIR - MATERIAL",
"requisition_detail_id": "03e39715-3438-4ca7-a329-71a70649e7b7",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "ffc165c1-415e-45af-915d-261fc6830b0a",
"drawing_number": null,
"tugboat_ref_id": 1231
},
{
"product_code": "REPA00001_EP",
"product_name": "VESSEL REPAIR - MATERIAL",
"requisition_detail_id": "b8d51544-e8c6-4bc1-9c58-e4cf7957aeb9",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "ffc165c1-415e-45af-915d-261fc6830b0a",
"drawing_number": null,
"tugboat_ref_id": 1231
},
{
"product_code": "REPA00001_EP",
"product_name": "VESSEL REPAIR - MATERIAL",
"requisition_detail_id": "b0c7518f-643e-43fa-8055-c58d6b39a887",
"uom_ref_id": 100,
"quantity_entered": 1,
"quantity_ordered": 1,
"account_code": "45",
"first_locator_component": "fbfcad53-e741-455e-9a6e-a2414d2adf17",
"second_locator_component": "ffc165c1-415e-45af-915d-261fc6830b0a",
"drawing_number": null,
"tugboat_ref_id": 1231
}
]
}'{}