Common types | Baack docs
Common types
Error
General API error object representation
Fields
| Field | Type | Description |
|---|---|---|
| apiCode | string | One of: |
| detail | string | |
| httpCode | integer |
Image Item File
Image files are transferred using multipipart/form-data which is widely supported by HTTP clients and browsers to submit files. The endpoint allows upload of a single 'src' file which will be associated with either the default, large or medium format file according to the value of the imageItemFormat
Fields
| Field | Type | Description |
|---|---|---|
| imageItemSize | string | Required on create. . One of: |
| src | string | Required on create. . |
| imageItemUrn | string (uuid) | Required on create. . |
Money
A representation of a money value, similar to money item from content, supports the raw unit value as well as formatted currency value on read. On write typically only the unit value is used
Fields
| Field | Type | Description |
|---|---|---|
| formattedValue | string | |
| currencySymbol | string | |
| currencyCode | string | Required on create. . One of: |
| unitValue | number (int64) | Required on create. . |
Used by: Deal, Lead, Payment Invoice, Payment Invoice Line, Payment Invoice Remittance
Pagination
Fields
| Field | Type | Description |
|---|---|---|
| isMorePages | boolean | |
| after | string | |
| nextUrl | string (uri) |
Used by: Boolean item history, Date / Time item history, Double Item History, Identity Notification Inbox, Image item history, Json item history, Lat / Long item history, Link Item History, Long item history, Markdown item history, Message Thread, Money item history, Reference Item History, Search, Template item history, Text Item History
Webhook Event
The webhook event representation is used for webhook message delivery acting like an envelope for the event.
Fields
| Field | Type | Description |
|---|---|---|
| trigger | Webhook Trigger | Ignored on update. |
| subscription | Webhook Subscription | Ignored on update. |
| v1 | Webhook Event Target | Ignored on update. |
Webhook Event Target
Representation of the concept that a webhook trigger event relates to
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| url | string (uri) |
Used by: Webhook Event
Workflow Stage
A single stage in a workflow
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| name | string | Required on create. . Up to 255 characters. |
| order | integer (int32) |