Ramp: Custom form schemas (part 2)
60 Ramp schemas with complete fields and constraints.
← Custom form operations · All schemas
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: DATE |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER CUSTOM FIELD, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER PROMISE DATE, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field SPEND ALLOCATION END DATE, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field SPEND ALLOCATION START DATE
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_custom_column_id | JSON | Optional | |
mapped_custom_column_id (anyOf 1) | string | Alternative | Default: null |
mapped_custom_column_id (anyOf 2) | null | Alternative | |
mapped_field | string | Required within parent | Must equal: PAYEE__CUSTOM_RECORDS |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER CUSTOM FIELD
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_custom_column_id | string | Required within parent | Identifier of the mapped purchase order custom field column. |
mapped_field | string | Required within parent | Maps the form field to a purchase order custom field. Must equal: PURCHASE_ORDER__CUSTOM_FIELD |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER PROMISE DATE
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: PURCHASE_ORDER__PROMISE_DATE |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field SPEND ALLOCATION END DATE
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__END_DATE |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field SPEND ALLOCATION START DATE
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__START_DATE |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
value | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DEPARTMENT
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: DEPARTMENT |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DEPARTMENT value department name, department uuid |
value (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DEPARTMENT value department name, department uuid
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
department_name | string | Required within parent | |
department_uuid | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type EMAIL
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: EMAIL |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
allowed_file_types | JSON | Optional | |
allowed_file_types (anyOf 1) | array | Alternative | Default: null |
allowed_file_types (anyOf 1)[] | string | Each item | Known values: base64, csv, doc, docx, eml, gif, gz, heic, html, ics, iif, jpeg, json, jsonl, md, mp3, msg, npy, ods, parquet, pdf, pgp, png, ppt, pptx, py, txt, webp, xls, xlsm, xlsx, xml, zip |
allowed_file_types (anyOf 2) | null | Alternative | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
document_category | JSON | Optional | |
document_category (anyOf 1) | Model | Alternative | Expand Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item document category string Default: null |
document_category (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: FILE_UPLOAD |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | array | Alternative | |
value (anyOf 1)[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD value array item |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD value array item, Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item document category string
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD mapped fields item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | discriminator: {"mapping": {"PURCHASE_ORDER__ATTACHMENTS": "#/components/schemas/PurchaseOrderAttachmentsMappedFieldSchema"}, "propertyName": "mapped_field"} |
$ (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD mapped fields item mapped field PURCHASE ORDER ATTACHMENTS |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD mapped fields item mapped field PURCHASE ORDER ATTACHMENTS
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: PURCHASE_ORDER__ATTACHMENTS |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type FILE UPLOAD value array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
displayed_filename | string | Required within parent | |
document_category | Model | Required within parent | Expand Fetch a spend program — response body — custom form collection custom form collection log entry custom form collection log entry forms, label forms item fields item document category string |
file_url | string | Required within parent | |
file_uuid | string | Required within parent | |
spend_request_document_uuid | JSON | Required within parent | |
spend_request_document_uuid (anyOf 1) | string | Alternative | |
spend_request_document_uuid (anyOf 2) | null | Alternative | |
type | string | Optional | Known values: FILE_VALUE Default: FILE_VALUE |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: LINK |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | discriminator: {"mapping": {"PAYEE__CUSTOM_RECORDS": "#/components/schemas/PayeeCustomRecordMappedFieldSchema"}, "propertyName": "mapped_field"} |
$ (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT value array item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS ALLOWLIST, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS BLOCKLIST, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY value array item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY mapped fields item mapped field SPEND ALLOCATION MERCHANT CATEGORY RESTRICTIONS ALLOWLIST, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY mapped fields item mapped field SPEND ALLOCATION MERCHANT CATEGORY RESTRICTIONS BLOCKLIST, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY mapped fields item mapped field SPEND ALLOCATION MERCHANT CATEGORY RESTRICTIONS
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY mapped fields item mapped field SPEND ALLOCATION MERCHANT CATEGORY RESTRICTIONS
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Optional | Must equal: SPEND_ALLOCATION__MERCHANT_CATEGORY_RESTRICTIONS |
metadata | JSON | Optional | |
metadata (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / field / field_type MERCHANT / mapped_fields / item / mapped_field SPEND_ALLOCATION__MERCHANT_RESTRICTIONS / metadata / restriction_control_type: ALLOWLIST, BLOCKLIST Default: null |
metadata (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY mapped fields item mapped field SPEND ALLOCATION MERCHANT CATEGORY RESTRICTIONS ALLOWLIST
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__MERCHANT_CATEGORY_RESTRICTIONS_ALLOWLIST |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY mapped fields item mapped field SPEND ALLOCATION MERCHANT CATEGORY RESTRICTIONS BLOCKLIST
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__MERCHANT_CATEGORY_RESTRICTIONS_BLOCKLIST |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT CATEGORY value array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
category_id | JSON | Required within parent | |
category_id (anyOf 1) | integer | Alternative | |
category_id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
category_name | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Optional | Must equal: SPEND_ALLOCATION__MERCHANT_RESTRICTIONS |
metadata | JSON | Optional | |
metadata (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / field / field_type MERCHANT / mapped_fields / item / mapped_field SPEND_ALLOCATION__MERCHANT_RESTRICTIONS / metadata / restriction_control_type: ALLOWLIST, BLOCKLIST Default: null |
metadata (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS ALLOWLIST
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__MERCHANT_RESTRICTIONS_ALLOWLIST |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT mapped fields item mapped field SPEND ALLOCATION MERCHANT RESTRICTIONS BLOCKLIST
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__MERCHANT_RESTRICTIONS_BLOCKLIST |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MERCHANT value array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
merchant_id | JSON | Required within parent | |
merchant_id (anyOf 1) | integer | Alternative | |
merchant_id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
merchant_name | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MONETARY AMOUNT
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: MONETARY_AMOUNT |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MONETARY AMOUNT value amount, currency |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MONETARY AMOUNT value amount, currency
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type MONETARY AMOUNT value amount, currency
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
amount | JSON | Required within parent | |
amount (anyOf 1) | number | Alternative | Monetary amount in currency units (e.g. dollars, euros, etc.) |
amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
currency | string | Required within parent | Currency code |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: NUMBER |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER value value |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item mapped field PAYEE NET PAYMENT TERMS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item mapped field PURCHASE ORDER NET PAYMENT TERMS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item mapped field SPEND ALLOCATION EXPENSE AMOUNT LIMIT
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item mapped field PAYEE NET PAYMENT TERMS
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: PAYEE__NET_PAYMENT_TERMS |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item mapped field PURCHASE ORDER NET PAYMENT TERMS
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: PURCHASE_ORDER__NET_PAYMENT_TERMS |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER mapped fields item mapped field SPEND ALLOCATION EXPENSE AMOUNT LIMIT
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: SPEND_ALLOCATION__EXPENSE_AMOUNT_LIMIT |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type NUMBER value value
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
value | JSON | Required within parent | |
value (anyOf 1) | number | Alternative | |
value (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: PARAGRAPH |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item mapped field PAYEE DESCRIPTION, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item mapped field PURCHASE ORDER MEMO, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item mapped field REQUEST REASON
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item mapped field PAYEE DESCRIPTION
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: PAYEE__DESCRIPTION |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item mapped field PURCHASE ORDER MEMO
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: PURCHASE_ORDER__MEMO |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type PARAGRAPH mapped fields item mapped field REQUEST REASON
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: REQUEST_REASON |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: TEXT |
mapped_fields | array | Optional | |
mapped_fields[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT mapped fields item |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value |
value (anyOf 2) | null | Alternative |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT MULTI SELECT
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT MULTI SELECT choices item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type LINK mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT MULTI SELECT choices item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
is_used_in_approval_workflow_condition | JSON | Optional | |
is_used_in_approval_workflow_condition (anyOf 1) | boolean | Alternative | Whether this choice is referenced by an approval workflow condition. Default: null |
is_used_in_approval_workflow_condition (anyOf 2) | null | Alternative | |
value | Model | Required within parent | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value |
value_id | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT SINGLE SELECT
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT MULTI SELECT choices item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT SINGLE SELECT mapped fields item, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE value value
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT SINGLE SELECT mapped fields item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | discriminator: {"mapping": {"PAYEE__CUSTOM_RECORDS": "#/components/schemas/PayeeCustomRecordMappedFieldSchema", "PURCHASE_ORDER__CUSTOM_FIELD": "#/components/schemas/PurchaseOrderCustomFieldMappedFieldSchema"}, "propertyName": "mapped_field"} |
$ (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS |
$ (anyOf 2) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER CUSTOM FIELD |
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER CUSTOM FIELD
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT mapped fields item
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PAYEE CUSTOM RECORDS, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type DATE mapped fields item mapped field PURCHASE ORDER CUSTOM FIELD, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT mapped fields item mapped field REQUEST NAME
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type TEXT mapped fields item mapped field REQUEST NAME
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
mapped_field | string | Required within parent | Must equal: REQUEST_NAME |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type USER
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Optional comment supplied with the field response. Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Field type discriminator for a user selection field. Must equal: USER |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item allowed users array item Selected user, or null when no user was selected. |
value (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type VENDOR
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
comment | JSON | Optional | |
comment (anyOf 1) | string | Alternative | Default: null |
comment (anyOf 2) | null | Alternative | |
field_type | string | Required within parent | Must equal: VENDOR |
value | JSON | Required within parent | |
value (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type VENDOR value payee uuid, vendor contact, vendor logo, vendor name |
value (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type VENDOR value payee uuid, vendor contact, vendor logo, vendor name
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
payee_uuid | JSON | Optional | |
payee_uuid (anyOf 1) | string | Alternative | Default: null |
payee_uuid (anyOf 2) | null | Alternative | |
vendor_contact | JSON | Optional | |
vendor_contact (anyOf 1) | Model | Alternative | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type VENDOR value payee uuid, vendor contact, vendor logo, vendor name vendor contact email, first name, id, is default, last name, phone Default: null |
vendor_contact (anyOf 2) | null | Alternative | |
vendor_logo | JSON | Optional | |
vendor_logo (anyOf 1) | string | Alternative | Default: null |
vendor_logo (anyOf 2) | null | Alternative | |
vendor_name | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field field type VENDOR value payee uuid, vendor contact, vendor logo, vendor name vendor contact email, first name, id, is default, last name, phone
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
email | JSON | Required within parent | |
email (anyOf 1) | string | Alternative | |
email (anyOf 2) | null | Alternative | |
first_name | JSON | Optional | |
first_name (anyOf 1) | string | Alternative | Default: null |
first_name (anyOf 2) | null | Alternative | |
id | string | Required within parent | |
is_default | boolean | Required within parent | |
last_name | JSON | Optional | |
last_name (anyOf 1) | string | Alternative | Default: null |
last_name (anyOf 2) | null | Alternative | |
phone | JSON | Optional | |
phone (anyOf 1) | string | Alternative | Default: null |
phone (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field mapping references item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
approval_trigger_metadata_uuid | string | Required within parent | UUID of the approval-step metadata that owns the field mapping. |
node_id | JSON | Optional | |
node_id (anyOf 1) | string | Alternative | Consuming node in a current or draft workflow, or null when none exists. Default: null |
node_id (anyOf 2) | null | Alternative | |
remote_system | Model | Required within parent | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field mapping references item remote system Integration provider that consumes the mapped question. |
workflow_id | JSON | Optional | |
workflow_id (anyOf 1) | string | Alternative | Blank canvas workflow that owns node_id, or null when node_id is null or the node is in a subflow. Default: null |
workflow_id (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item field mapping references item remote system
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | The type of remote/external system being integrated with. This enum identifies which third-party system the field mapping is for. Values are automatically registered by clients that implement FieldMappingFeature and register with FieldMappingClientRegistry. To add a new system: 1. Have your client implement FieldMappingFeature interface 2. Add the client to initialize_registries() in field_mapping/registry.py 3. Add the enum value here See suma/proxy/procurement_integrations/field_mapping_interface.py for details. Known values: ARAVO, DOCUSIGN, DOCUSIGN_IAM, DRATA, IRONCLAD, LOGICGATE, MERGE, ONETRUST, VANTA |
Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item validation errors item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
message | string | Required within parent |
Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / conditions / condition, then / condition / items / item / condition_item_type CONDITION / left_operand / operand_type STATIC_VALUE / value / child_type: ARRAY, BOOL, INT, JSONB, MONEY, NUMERIC, STR, type ARRAY
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
child_type | string | Required within parent | Array element type. Known values: ARRAY, BOOL, INT, JSONB, MONEY, NUMERIC, STR |
type | string | Required within parent | Value type. Must equal: ARRAY |
value | JSON | Optional | |
value (anyOf 1) | array | Alternative | Array values. |
value (anyOf 1)[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item conditions condition, then condition items item condition item type CONDITION left operand operand type STATIC VALUE value |
value (anyOf 2) | null | Alternative |
Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / conditions / condition, then / condition / items / item / condition_item_type CONDITION_GROUP, operator: ALL, ANY, NOT
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
condition_item_type | string | Required within parent | Condition item type. Must equal: CONDITION_GROUP |
items | array | Required within parent | Conditions in the group. |
items[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item conditions condition, then condition items item |
operator | string | Required within parent | How to combine the conditions. Known values: ALL, ANY, NOT |
Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / description_rich_text / elements / elements / item / value / level: H1, H2, H3, H4, H5, H6, type heading
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
children | array | Required within parent | Inline content of the heading, in display order. |
children[] | Model | Each item | Expand Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / description_rich_text / elements / elements / item / value / level: H1, H2, H3, H4, H5, H6, type heading children item |
id | string | Optional | Identifier used to reference this node within rich text. |
level | string | Required within parent | Heading level, from H1 through H6. Known values: H1, H2, H3, H4, H5, H6 |
text | string | Required within parent | For backwards compatibility. Should read children instead Read only: true |
type | string | Optional | Identifies a heading node. Must equal: heading |
Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / description_rich_text / elements / elements / item / value / level: H1, H2, H3, H4, H5, H6, type heading children item
Referenced models: Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item description rich text elements elements item value type paragraph children item value type link, Fetch a custom form collection response by ID — response body — custom form collection response custom form collection log entry allow comments, forms, label forms item fields item description rich text elements elements item value type paragraph children item text type text
Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / description_rich_text / elements / elements / item / value / type custom / custom_metadata / value / configurable_type: purchase order, spend allocation, vendor onboarding, workflow function, metadata type policy configurable
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
configurable_id | string | Required within parent | UUID of the policy's configurable reference; matches custom_payload_id. Format: uuid |
configurable_type | string | Required within parent | Type of policy configurable referenced by the rich-text element. Known values: purchase_order, spend_allocation, vendor_onboarding, workflow_function |
metadata_type | string | Optional | Identifies metadata for a policy configurable reference. Must equal: policy_configurable |
Fetch a custom form collection response by ID — response body — custom_form_collection_response / custom_form_collection_log_entry / allow_comments, forms, label / forms / item / fields / item / field / field_type MERCHANT / mapped_fields / item / mapped_field SPEND_ALLOCATION__MERCHANT_RESTRICTIONS / metadata / restriction_control_type: ALLOWLIST, BLOCKLIST
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
restriction_control_type | string | Required within parent | Known values: ALLOWLIST, BLOCKLIST |