Skip to main content
POST
Create a cost sheet

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Body

application/vnd.api+json

The cost sheet to create. The node being costed is identified by the cost_centre_type / cost_centre_id pair rather than a typed relationship, because a sheet can hang off any of four levels of the job hierarchy.

data
object
required

Response

An individual cost sheet.

JSON API response object

data
object
required

A cost sheet — the costing of one node of the job hierarchy.

A sheet holds no money itself. The cost lives on its cost lines, which are a separately permissioned resource, so a principal may be allowed to see that a job has been costed without being allowed to see what it cost.

The link to the node it costs is polymorphic: cost_centre_type names the resource type and cost_centre_id identifies the record.

jsonapi
object
required
included
object[]

Related resources that can be included when a cost sheet is returned