Budget
Create a budget line
Changed onCreates a budget line under parentId, with optional phase data keyed by phase ID.
post/projects/{projectId}/budget/lines
Request
- Base URL: https://next-api.saturation.io/v1
- URL: https://next-api.saturation.io/v1/projects/{projectId}/budget/lines
- Auth: HTTP bearer
Path parameters
projectIdstring required
Project ID or slug.
Headers
Idempotency-Keystring required
A 16 to 255 character key for safe retries. Reusing the key with a different request returns 409 idempotency_conflict.
Request body
Example request
{
"description": "Camera Package",
"type": "line",
"accountId": "1110",
"parentId": "lin_7c1a2f",
"contactId": "con_panavision",
"phaseData": {
"phs_estimate": {
"rate": 25000,
"quantity": 4,
"multiplier": 1
}
}
}Response
The created budget line.
Example response
{
"id": "lin_7c1a2f",
"accountId": "1100",
"path": "1100",
"type": "account",
"description": "Camera",
"parentId": "lin_root",
"depth": 0,
"sort": 0,
"contactId": null,
"tagIds": [
"tag_vfx"
],
"sourceId": null
}Changes
- warning
removed the request property
- warning