post https://api.next-tech.com/v1/bookedhours/
Log in to see full request history
Responses
xxxxxxxxxx
11curl --request POST \
--url https://api.next-tech.com/v1/bookedhours/ \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"breaktime": 0,
"debit": true,
"piecework": false
}
'
xxxxxxxxxx
65}
{
"id": 5,
"changed": "2025-04-12T13:32:15.559Z",
"changeduserid": 7,
"created": "2025-04-12T13:32:15.559Z",
"createduserid": 3,
"addition": false,
"workorderid": 1234,
"workordername": "Side building",
"workorderno": 1,
"absenceprojectid": 1234,
"absenceprojectname": "Bridge maintenance, example lane 55",
"absenceprojectno": "12345",
"activitycode": "3",
"allowancequantity": 20,
"allowanceunitcost": 200,
"allowanceunitprice": 300,
"approved": false,
"attested": false,
"attestfullname": "Christopher Coppola",
"attesttime": "2022-05-01 22:00:00",
"attestuserid": 3,
"breaktime": 0.5,
"costcenterid": 123,
"costunit": 2499.5,