Create Act Of Acceptance
POST {{baseUrl}}/odata/ActsOfAcceptance
Creates an Act Of Acceptance.
number
- not required.
Pass "" or null to assign a number automatically.
lines
- optional
ActOfAcceptanceLine properties:
- exchangeRate - optional
Request Body
{"name"=>"", "projectId"=>"7088cb29-1924-464a-a767-a68f796643a1", "date"=>"2023-03-01", "description"=>nil, "lines"=>[{"amount"=>156.5, "exchangeRate"=>0.87, "projectTaskId"=>"eee11cf9-bb70-41d0-8a20-8024abfe9b31", "description"=>""}, {"amount"=>258.2, "exchangeRate"=>0.9, "projectTaskId"=>"eee11cf9-bb70-41d0-8a20-8024abfe9b31", "description"=>""}]}
RESPONSES
status: Created
{"@odata.context":"https://api.timetta.com/odata/$metadata#ActsOfAcceptance/$entity","date":"2022-10-06","projectId":"372609f9-d459-4e69-ab71-e2dc64d29dbd","number":"00486","amount":0.0,"description":null,"statusId":"91efee63-b594-4f2d-93e8-d5ea8ca4a239","name":"Act #00486 on Project 8083ebcb-be4b-4a7c-9a75-a3e654fb88dd","createdById":"e888a7a3-39f5-463e-9ea6-5bc46c48a014","modifiedById":"e888a7a3-39f5-463e-9ea6-5bc46c48a014","id":"b73a3657-7831-441c-8a1e-3174aaabceee","created":"2022-10-06T11:13:46.1289585+03:00","modified":"2022-10-06T08:13:45.7878242Z","isActive":true}