Authorization: Bearer ********************
{
"principal_id": "5edca524cad2fa1125cb0630",
"principal_type": "work_item",
"type_id": "5a86eaf6a72585327ea46fge0",
"duration": 8,
"report_at": 1593290347,
"report_by_id": "a0417f68e846aae315c85d24643678a9",
"description": "这是一个工时"
}
curl --location --request POST 'https://open.pingcode.com/v1/workloads' \
--header 'Content-Type: application/json' \
--data-raw '{
"principal_id": "5edca524cad2fa1125cb0630",
"principal_type": "work_item",
"type_id": "5a86eaf6a72585327ea46fge0",
"duration": 8,
"report_at": 1593290347,
"report_by_id": "a0417f68e846aae315c85d24643678a9",
"description": "这是一个工时"
}'
{}