Projects
4 operations. All areas
POST/v1/projects
Create a project (job): a reporting dimension on journal and document lines beside the class, optionally for one customer
- Operation
createProject - Scope: propose
- Write: needs Idempotency-Key (or dry_run)
- Request body
namestring, requiredcustomer_idstring | nulldry_runboolean
- Responses
200Dry run (object)201Created (object)- Errors
400,401,403,409,422,429,500(Error:error.type,message)
GET/v1/projects
Projects, with their customers
- Operation
listProjects - Scope: read
- Read
- Parameters
activequery, booleancustomer_idquery, string
- Responses
200Projects (object)- Errors
400,401,403,429,500(Error:error.type,message)
GET/v1/projects/{id}
One project with its P&L to date (accrual)
- Operation
getProject - Scope: read
- Read
- Parameters
idpath, string, requiredfromquery, stringtoquery, string
- Responses
200Project (object)- Errors
400,401,403,404,422,429,500(Error:error.type,message)
POST/v1/projects/{id}
Deactivate or reactivate a project, or change its customer (never deleted; lines keep it). Audited.
- Operation
updateProject - Scope: propose
- Write: needs Idempotency-Key (or dry_run)
- Parameters
idpath, string, required
- Request body
activebooleancustomer_idstring | nulldry_runboolean
- Responses
200Updated (object)- Errors
400,401,403,404,409,422,429,500(Error:error.type,message)