Create a Field for a Life Stage Section for a Firm

POST /api/v1/expenditure-structure/field

Headers

Path parameters

application/json

Body Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      uuid of the Life Stage Field.

    • name string

      The name of the Life Stage Field.

    • section string

      The parent Life Stage Section of Field. Example: "Housekeeping Expenses"

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

POST /api/v1/expenditure-structure/field
curl \
 -X POST https://api.plannrcrm.com/api/v1/expenditure-structure/field \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"name":"Electricity","life_stage_section_uuid":"dcf0-484e-a0c5-08590fe89a84-f6aa1670"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Electricity",
  "life_stage_section_uuid": "dcf0-484e-a0c5-08590fe89a84-f6aa1670"
}
Response examples (200)
{
  "name": "Electricity",
  "uuid": "3bab5954-ec28-44d6-a88d-f601ddb9d341",
  "section": "Housekeeping Expenses",
  "created_at": "2024-11-20T13:23:59+00:00",
  "updated_at": "2024-11-20T13:23:59+00:00"
}