CustomView
- capsType: boolean
Enabled requiredWhether the view shows the caps set on the customer's units.
- displayType: string
Id requiredThe view's ID.
- hierarchyType: boolean
Enabled requiredWhether viewers can narrow the view to one of the customer's units.
- nameType: stringrequired
- previewType: stringFormat: uri
Url requiredYour own preview of the view's hosted page, as the view stands, drafts and
organization-scoped views included. The link carries no token: it's on the Spondo Billing dashboard's own API (not/api/v1), so it opens for a member of your company signed in to the dashboard, whichever company they're working in, and answers 401UNAUTHORIZEDto anyone else. It names your account (<account>_<displayId>), like the view's public page. For acustomer-scoped view, add?customerId=with a customer's Spondo Billing ID or your ID for them to see it as that customer; without it, the page shows the customer with the latest signal (404 when no customer has any). The view's public page (https://billing.getspondo.com/public/views/…) opens only with an embed token: to show a view to a customer, use Get an embed token, which returns a link for that customer asurl. - scopeType: enumrequired
customer: shown to one customer at a time, with every query narrowed to that customer's records; can be embedded.organization: shows data across all your customers, for your own team; can't be embedded.valuescustomerorganization - statusType: enumrequired
DRAFT: being built; its data is served only withincludeDraft=trueand it can't be embedded.PUBLISHED: live for your customers.valuesDRAFTPUBLISHED