Ramp: Unified request schemas (part 6)
25 Ramp schemas with complete fields and constraints.
← Unified request operations · All schemas
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST amount details, total amount details amount details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
amount | JSON | Required within parent | |
amount (anyOf 1) | number | Alternative | Money amount in representative currency Read only: true |
amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
currency | string | Required within parent | 3-char currency code (e.g. 'USD', 'CAD') Known values: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNH, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, EURC, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, OPEN_USD, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USDB, USDC, USDG, USDT, USN, UYI, UYU, UYW, UZS, VED, VES, VND, VUV, WST, XAD, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XCG, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZMW, ZWG, ZWL Read only: true |
currency_sign | string | Required within parent | Currency sign (e.g. '$', '€') Read only: true |
formatted_amount | string | Required within parent | Deprecated - use useIntl()'s formatMoney() instead. Human-readable amount with money context Read only: true |
formatted_explicit_amount | string | Required within parent | Deprecated - use useIntl()'s formatMoney() instead. Displays foreign in currencies in extended form. Used primarily for admins i.e $100 CAD Read only: true |
formatted_short_amount | string | Required within parent | Deprecated - use useIntl()'s formatMoney() instead. Displays foreign currencies in short form. i.e $CA100 Read only: true |
name | string | Required within parent | Display name (e.g. 'US Dollar') Read only: true |
num_decimal_places | JSON | Required within parent | |
num_decimal_places (anyOf 1) | integer | Alternative | Number of decimal places to render. Read only: true |
num_decimal_places (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER spend request type: PURCHASE ORDER, unified spend request type: PURCHASE ORDER existing spend request amount details, custom form collection response uuid, id, is shareable, lock date, post spend approval instance policy, purchase order, spend eligibility starts at, spend frequency, unified request id, unified spend request type
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: SPEND ALLOCATION restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified spend request type: SPEND ALLOCATION post spend approval instance policy id, is default, name, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST amount details, total amount details amount details, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER spend request type: PURCHASE ORDER, unified spend request type: PURCHASE ORDER purchase order, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: SPEND ALLOCATION request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST amount details, spend frequency spend frequency frequency: ANNUAL, DAILY, MONTHLY, QUARTERLY, TERTIARY, TOTAL, WEEKLY, YEARLY
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER spend request type: PURCHASE ORDER, unified spend request type: PURCHASE ORDER purchase order
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
blanket_purchase_order_id | JSON | Required within parent | |
blanket_purchase_order_id (anyOf 1) | string | Alternative | On a release PO, the blanket PO it orders against. Null on other purchase orders. Format: uuid |
blanket_purchase_order_id (anyOf 2) | null | Alternative | |
can_issue_release_purchase_orders | JSON | Required within parent | |
can_issue_release_purchase_orders (anyOf 1) | boolean | Alternative | Whether the requester asked for a blanket PO that release POs order against. Null when the blanket PO questions didn't apply. |
can_issue_release_purchase_orders (anyOf 2) | null | Alternative | |
can_view_full_purchase_order | boolean | Required within parent | Whether the acting user can open the full purchase order. Read only: true |
id | string | Required within parent | Format: uuid |
is_directly_issued | boolean | Required within parent | True when the PO was issued directly, without a program or request approval. |
is_total_amount_estimated | JSON | Required within parent | |
is_total_amount_estimated (anyOf 1) | boolean | Alternative | Whether the requester marked the total as an estimated maximum. Null when the blanket PO questions didn't apply. |
is_total_amount_estimated (anyOf 2) | null | Alternative | |
purchase_order_number | JSON | Required within parent | |
purchase_order_number (anyOf 1) | string | Alternative | Read only: true |
purchase_order_number (anyOf 2) | null | Alternative |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: PROCUREMENT SPEND ALLOCATION
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (allOf 1) | Model | All variants apply | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST |
$ (allOf 2) | object | All variants apply | |
$ (allOf 2).existing_spend_request | JSON | Required within parent | |
$ (allOf 2).existing_spend_request (anyOf 1) | Model | Alternative | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER spend request type: PURCHASE ORDER, unified spend request type: PURCHASE ORDER existing spend request amount details, custom form collection response uuid, id, is shareable, lock date, post spend approval instance policy, purchase order, spend eligibility starts at, spend frequency, unified request id, unified spend request type |
$ (allOf 2).existing_spend_request (anyOf 2) | null | Alternative | |
$ (allOf 2).is_shareable | boolean | Required within parent | |
$ (allOf 2).lock_date | JSON | Optional | |
$ (allOf 2).lock_date (anyOf 1) | string | Alternative | Format: date-time |
$ (allOf 2).lock_date (anyOf 2) | null | Alternative | |
$ (allOf 2).lock_display | JSON | Required within parent | |
$ (allOf 2).lock_display (anyOf 1) | string | Alternative | Read only: true |
$ (allOf 2).lock_display (anyOf 2) | null | Alternative | |
$ (allOf 2).relative_lock_duration_count | JSON | Required within parent | |
$ (allOf 2).relative_lock_duration_count (anyOf 1) | JSON | Alternative | |
$ (allOf 2).relative_lock_duration_count (anyOf 1) (anyOf 1) | integer | Alternative | |
$ (allOf 2).relative_lock_duration_count (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
$ (allOf 2).relative_lock_duration_count (anyOf 2) | null | Alternative | |
$ (allOf 2).relative_lock_duration_unit | JSON | Required within parent | |
$ (allOf 2).relative_lock_duration_unit (anyOf 1) | string | Alternative | Known values: DAYS, MONTHS, WEEKS, YEARS |
$ (allOf 2).relative_lock_duration_unit (anyOf 2) | null | Alternative | |
$ (allOf 2).resulting_spend_allocation_id | JSON | Required within parent | |
$ (allOf 2).resulting_spend_allocation_id (anyOf 1) | string | Alternative | Read only: true |
$ (allOf 2).resulting_spend_allocation_id (anyOf 2) | null | Alternative | |
$ (allOf 2).spend_allocation | JSON | Required within parent | |
$ (allOf 2).spend_allocation (anyOf 1) | Model | Alternative | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: PROCUREMENT SPEND ALLOCATION spend request type: SPEND LIMIT, unified spend request type: PROCUREMENT SPEND ALLOCATION spend allocation id, payment restrictions, submission policy |
$ (allOf 2).spend_allocation (anyOf 2) | null | Alternative | |
$ (allOf 2).spend_eligibility_starts_at | JSON | Optional | |
$ (allOf 2).spend_eligibility_starts_at (anyOf 1) | string | Alternative | Format: date-time |
$ (allOf 2).spend_eligibility_starts_at (anyOf 2) | null | Alternative | |
$ (allOf 2).spend_request_type | string | Required within parent | Known values: SPEND_LIMIT Default: SPEND_LIMIT |
$ (allOf 2).unified_spend_request_type | string | Required within parent | Known values: PROCUREMENT_SPEND_ALLOCATION Default: PROCUREMENT_SPEND_ALLOCATION |
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER spend request type: PURCHASE ORDER, unified spend request type: PURCHASE ORDER existing spend request amount details, custom form collection response uuid, id, is shareable, lock date, post spend approval instance policy, purchase order, spend eligibility starts at, spend frequency, unified request id, unified spend request type, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: PROCUREMENT SPEND ALLOCATION spend request type: SPEND LIMIT, unified spend request type: PROCUREMENT SPEND ALLOCATION spend allocation id, payment restrictions, submission policy
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: PROCUREMENT SPEND ALLOCATION spend request type: SPEND LIMIT, unified spend request type: PROCUREMENT SPEND ALLOCATION spend allocation id, payment restrictions, submission policy
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: SPEND ALLOCATION restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified spend request type: SPEND ALLOCATION payment restrictions primary card enabled, reimbursements enabled, virtual card enabled, Get a unified request — response body — value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL approval chain data, attendees count, available actions, group trip, members, spend allocation outcome settings, travel metadata, trip spend allocation outcome settings spend frequency: ANNUAL, DAILY, MONTHLY, QUARTERLY, TERTIARY, TOTAL, WEEKLY, YEARLY submission policy
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL spend request type: TRAVEL, unified spend request type: TRAVEL spend allocation outcome settings spend frequency: ANNUAL, DAILY, MONTHLY, QUARTERLY, TERTIARY, TOTAL, WEEKLY, YEARLY, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL spend request type: TRAVEL, unified spend request type: TRAVEL travel metadata
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST spend intent logo id, name, uuid, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST wbx migration assigned program name, migrated at, original policy name
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
approval_instance_id | JSON | Required within parent | |
approval_instance_id (anyOf 1) | string | Alternative | |
approval_instance_id (anyOf 2) | null | Alternative | |
approved_at | JSON | Required within parent | |
approved_at (anyOf 1) | string | Alternative | Format: date-time |
approved_at (anyOf 2) | null | Alternative | |
created_at | string | Required within parent | Format: date-time |
created_by_user | Model | Required within parent | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner |
deleted_at | JSON | Required within parent | |
deleted_at (anyOf 1) | string | Alternative | Format: date-time |
deleted_at (anyOf 2) | null | Alternative | |
display_request_number | JSON | Required within parent | |
display_request_number (anyOf 1) | string | Alternative | Human-facing display number, e.g. "REQ-123"; null until the request is numbered. Read only: true |
display_request_number (anyOf 2) | null | Alternative | |
entity | Model | Required within parent | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id entity |
id | string | Required within parent | Format: uuid Read only: true |
name | JSON | Required within parent | |
name (anyOf 1) | string | Alternative | |
name (anyOf 2) | null | Alternative | |
ramp_url | string | Required within parent | Read only: true |
reason | JSON | Required within parent | |
reason (anyOf 1) | string | Alternative | |
reason (anyOf 2) | null | Alternative | |
rejected_at | JSON | Required within parent | |
rejected_at (anyOf 1) | string | Alternative | Format: date-time |
rejected_at (anyOf 2) | null | Alternative | |
request_duration | JSON | Required within parent | |
request_duration (anyOf 1) | JSON | Alternative | |
request_duration (anyOf 1) (anyOf 1) | integer | Alternative | |
request_duration (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
request_duration (anyOf 2) | null | Alternative | |
submitted_at | JSON | Required within parent | |
submitted_at (anyOf 1) | string | Alternative | Format: date-time |
submitted_at (anyOf 2) | null | Alternative | |
wbp_info | JSON | Required within parent | |
wbp_info (anyOf 1) | Model | Alternative | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id Read only: true |
wbp_info (anyOf 2) | null | Alternative | |
workflow_backed_policy_id | JSON | Required within parent | |
workflow_backed_policy_id (anyOf 1) | string | Alternative | ID of the originating workflow-backed policy. Read only: true |
workflow_backed_policy_id (anyOf 2) | null | Alternative |
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id entity, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id entity
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
entity_name | string | Required within parent | |
id | string | Required within parent | Format: uuid |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id approvals item, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id field attributions item
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id approvals item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
is_for_current_user | JSON | Required within parent | |
is_for_current_user (anyOf 1) | boolean | Alternative | Whether the approval belongs to the requesting user. Null when not yet known |
is_for_current_user (anyOf 2) | null | Alternative | |
is_generating | boolean | Required within parent | Whether the approval's summary is still being generated |
progression_node_id | string | Required within parent | Blank-canvas progression node this approval is wired to. |
wbp_approval_id | string | Required within parent | ID of the WBP approval. |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST approval instance id, approved at, created at, created by user, deleted at, display request number, entity, id, name, ramp url, reason, rejected at, request duration, submitted at, wbp info, workflow backed policy id wbp info approvals, blank canvas execution id, field attributions, wbp request id, workflow backed policy display name, workflow backed policy id field attributions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
actor | string | Required within parent | Who wrote the field value. Known values: agent, user |
name | string | Required within parent | Custom form field id. |
source_detail | JSON | Optional | |
source_detail (anyOf 1) | string | Alternative | Short user-facing note on where the value came from. Default: null |
source_detail (anyOf 2) | null | Alternative | |
source_type | JSON | Optional | |
source_type (anyOf 1) | string | Alternative | Where an agent-written value came from. Where an agent-written value came from; null for user-written values. Known values: attachment, email, notion, other, slack, web Default: null |
source_type (anyOf 2) | null | Alternative | |
source_url | JSON | Optional | |
source_url (anyOf 1) | string | Alternative | Link to the exact source when one exists (e.g. Slack permalink, Notion page). Default: null |
source_url (anyOf 2) | null | Alternative |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
deleted_at | JSON | Required within parent | |
deleted_at (anyOf 1) | string | Alternative | Format: date-time |
deleted_at (anyOf 2) | null | Alternative | |
department | JSON | Required within parent | |
department (anyOf 1) | Model | Alternative | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner department department name, id |
department (anyOf 2) | null | Alternative | |
email | string | Required within parent | |
first_name | string | Required within parent | |
full_name | string | Required within parent | |
has_physical_card | boolean | Required within parent | Read only: true |
last_name | string | Required within parent | |
location | JSON | Required within parent | |
location (anyOf 1) | Model | Alternative | Expand List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner location id, location name |
location (anyOf 2) | null | Alternative | |
profile_picture_url | JSON | Required within parent | |
profile_picture_url (anyOf 1) | string | Alternative | |
profile_picture_url (anyOf 2) | null | Alternative | |
role | string | Required within parent | Known values: AUDITOR, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER, BUSINESS_OWNER, BUSINESS_USER, GUEST_USER, IT_ADMIN, UNBUNDLED_ADMIN, UNBUNDLED_BOOKKEEPER, UNBUNDLED_OWNER, UNBUNDLED_USER |
uuid | string | Required within parent | Format: uuid |
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner department department name, id, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner location id, location name
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner department department name, id
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
department_name | string | Required within parent | |
id | string | Required within parent | Format: uuid Read only: true |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST owner location id, location name
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
id | string | Required within parent | Format: uuid Read only: true |
location_name | string | Required within parent |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED owners item, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED business vendor uuid, vendor tracking category option id, Fetch a vendor agreement — response body — payee available actions, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED card merchants item
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED business vendor uuid, vendor tracking category option id
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
uuid | string | Required within parent | Format: uuid |
vendor_tracking_category_option_id | JSON | Required within parent | |
vendor_tracking_category_option_id (anyOf 1) | JSON | Alternative | |
vendor_tracking_category_option_id (anyOf 1) (anyOf 1) | integer | Alternative | |
vendor_tracking_category_option_id (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
vendor_tracking_category_option_id (anyOf 2) | null | Alternative |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED card merchants item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
merchant_name | string | Required within parent | |
uuid | string | Required within parent | Format: uuid |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST payee approval status: APPROVED, PENDING, REJECTED owners item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
department | JSON | Required within parent | |
department (anyOf 1) | string | Alternative | |
department (anyOf 2) | null | Alternative | |
email | string | Required within parent | |
full_name | string | Required within parent | |
id | string | Required within parent | Format: uuid |
is_inactive | boolean | Required within parent | |
is_terminated | boolean | Required within parent | |
location | JSON | Required within parent | |
location (anyOf 1) | string | Alternative | |
location (anyOf 2) | null | Alternative | |
profile_picture_url | JSON | Required within parent | |
profile_picture_url (anyOf 1) | string | Alternative | |
profile_picture_url (anyOf 2) | null | Alternative |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST spend intent logo id, name, uuid
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
logo_id | string | Required within parent | Known values: AccountingServicesIcon, AdvertisingIcon, CONTRACTORS_AND_PROFESSIONAL_SERVICES, CUSTOM, CardIcon, EducationStipendIcon, EmployeeRewardsIcon, GroundTransportationIcon, LegalFeesIcon, LodgingIcon, LunchOrderingIcon, OnboardingIcon, PerDiemCardIcon, SOFTWARE, SaasSubscriptionIcon, SoftwareTrialIcon, SuppliesIcon, TeamSocialIcon, TravelExpensesIcon, VirtualEventIcon, WellnessIcon, WorkFromHomeIcon, advertising, airlines, bills, business, car_services, contractor, education, entertainment, event_balloons, event_virtual, food, fuel_and_gas, general_expense, general_merchandise, gift, government_services, internet_and_phone, legal, lodging, lodging_room, newspaper, office, physical_card, procurement_checklist, procurement_intake, professional_services, restaurants, reward, saas_software, shipping, travel_misc, wellness |
name | string | Required within parent | |
uuid | string | Required within parent | Format: uuid |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST wbx migration assigned program name, migrated at, original policy name
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
assigned_program_name | JSON | Required within parent | |
assigned_program_name (anyOf 1) | string | Alternative | Name of the spend program currently associated with the request. |
assigned_program_name (anyOf 2) | null | Alternative | |
migrated_at | string | Required within parent | Time the original request moved from its policy to a spend program. Format: date-time |
original_policy_name | string | Required within parent | Name of the policy under which the request was submitted. |
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL spend request type: TRAVEL, unified spend request type: TRAVEL spend allocation outcome settings spend frequency: ANNUAL, DAILY, MONTHLY, QUARTERLY, TERTIARY, TOTAL, WEEKLY, YEARLY
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER request status: APPROVED, DRAFT, REJECTED, SUBMITTED, unified request type: SPEND REQUEST amount details, total amount details amount details, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: SPEND ALLOCATION restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified spend request type: SPEND ALLOCATION payment restrictions primary card enabled, reimbursements enabled, virtual card enabled
List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL spend request type: TRAVEL, unified spend request type: TRAVEL travel metadata
List unified requests with pagination — response body — item value
Referenced models: List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: APPROVAL ONLY, unified request type: SPEND REQUEST, unified spend request type: APPROVAL ONLY, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: FUND UNARCHIVE, unified request type: SPEND REQUEST, unified spend request type: FUND UNARCHIVE, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: PROCUREMENT SPEND ALLOCATION, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, restricted request type: SPEND ALLOCATION, spend request type: SPEND LIMIT, unified request type: SPEND REQUEST, unified spend request type: SPEND ALLOCATION, List unified requests with pagination — response body — item / value / request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: TRAVEL, unified request type: SPEND REQUEST, unified spend request type: TRAVEL
Upload an attachment to a unified request — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
id | string | Required within parent | Unique identifier of the uploaded attachment. Format: uuid |