CompanyBranch
A company branch: one of the organisation's own locations, used to group the customers a branch is responsible for.
- Summary view
- CompanyBranchList, 6 fields. What a list returns by default.
- Detail view
- CompanyBranch, 6 fields. The default for a single read and for every write.
- Read with
- api:
read: andcompany_branches::company_branches read - Write with
- api:
write: andcompany_branches::company_branches create
Deleting one un-assigns its customers rather than blocking.
Used by
Fields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
Variants
CompanyBranchList 6 fields
What a collection returns, and what ?view=summary returns on a single record.
The same fields as the detail object.
CompanyBranchSummary 2 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: created_at, updated_at, customers_count, links
CompanyBranchLinks 2 fields
The links object on this resource.
Keys: self, customers
Something wrong or missing on this page? Tell us