Ramp: Get a unified request — response body — value agreement contract type: ONE TIME, PERPETUAL, RENEWABLE, request status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER agreement contract type: ONE TIME, PERPETUAL, RENEWABLE purchase order, purchase order detail, total amount details in business default currency purchase order accounting tracking category selections item
Get a unified request: response body, field value / agreement_contract_type: ONE_TIME, PERPETUAL, RENEWABLE, request_status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend_request_type: PURCHASE_ORDER, unified_request_type: SPEND_REQUEST, unified_spend_request_type: PURCHASE_ORDER / agreement_contract_type: ONE_TIME, PERPETUAL, RENEWABLE / purchase_order, purchase_order_detail, total_amount_details_in_business_default_currency / purchase_order / accounting_tracking_category_selections / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Get a unified request — response body — value / agreement_contract_type: ONE TIME, PERPETUAL, RENEWABLE, request status: APPROVED, DRAFT, REJECTED, SUBMITTED, spend request type: PURCHASE ORDER, unified request type: SPEND REQUEST, unified spend request type: PURCHASE ORDER agreement contract type: ONE TIME, PERPETUAL, RENEWABLE purchase order, purchase order detail, total amount details in business default currency purchase order accounting tracking category selections item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
acting_user | JSON | Optional | |
acting_user (anyOf 1) | Model | Alternative | Expand 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 members item User who manually set this accounting tracking category selection. |
acting_user (anyOf 2) | null | Alternative | |
resolution_reason | JSON | Required within parent | |
resolution_reason (anyOf 1) | string | Alternative | Known values: ACCRUAL_AI_SUGGESTED_CODING, ACCRUAL_TRACKING_CATEGORY_DEFAULT_VALUE, ADVANCED_RULE, AI_AUTOCODING, BILL_LINE_ITEM_TO_PO_LINE_ITEM, CARD_RULE, CATEGORY_RULE, DEFAULT_VALUE, DEPARTMENT_RULE, DEVELOPER_API, EMPLOYEE_AGENT, ENTITY_MAPPING, ERP_MIGRATION, LOCATION_RULE, MANUAL, MAPPING_RULE, MERCHANT_AUTO_RULE, MERCHANT_CATEGORY_LEVEL_EMPLOYEE_RULE, MERCHANT_LAST_CODED_RULE, MERCHANT_LEVEL_EMPLOYEE_RULE, MERCHANT_TO_CATEGORY_RULE, MERCHANT_TO_MERCHANT_RULE, SPEND_ALLOCATION_RULE, SUBLEDGER, SUGGESTED_CODING, SUGGESTED_CODING_RULES_OVERRIDE, SUGGESTED_CODING_UPSELL, SUGGESTED_CONTEXT, SUGGESTED_CONTEXT_NO_AUTOFILL, SUGGESTED_MEMO, TMC_INTEGRATION, TRACKING_CATEGORY_DEACTIVATED, TRACKING_CATEGORY_DEFAULT_VALUE, TRAVELPERK_TAGGING, USER_LEVEL_EMPLOYEE_RULE |
resolution_reason (anyOf 2) | null | Alternative | |
tracking_category | Model | Required within parent | Expand Get a unified request — response body — 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 accounting auto mark ready rule enabled, accounting rules, approval chain data, approval events, archive date, available actions, available actions v2, blank canvas execution id, default transaction memo, members, spending restrictions, submission policy id, travel metadata, trip accounting rules item tracking category |
tracking_category_id | JSON | Required within parent | |
tracking_category_id (anyOf 1) | integer | Alternative | |
tracking_category_id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
tracking_category_option | Model | Required within parent | Expand Get a unified request — response body — 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 accounting auto mark ready rule enabled, accounting rules, approval chain data, approval events, archive date, available actions, available actions v2, blank canvas execution id, default transaction memo, members, spending restrictions, submission policy id, travel metadata, trip accounting rules item tracking category option |
workflow_condition_id | JSON | Required within parent | |
workflow_condition_id (anyOf 1) | string | Alternative | |
workflow_condition_id (anyOf 2) | null | Alternative | |
workflow_rule_uuid | JSON | Required within parent | |
workflow_rule_uuid (anyOf 1) | string | Alternative | |
workflow_rule_uuid (anyOf 2) | null | Alternative |
Referenced models: Get a unified request — response body — 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 accounting auto mark ready rule enabled, accounting rules, approval chain data, approval events, archive date, available actions, available actions v2, blank canvas execution id, default transaction memo, members, spending restrictions, submission policy id, travel metadata, trip accounting rules item tracking category, Get a unified request — response body — 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 accounting auto mark ready rule enabled, accounting rules, approval chain data, approval events, archive date, available actions, available actions v2, blank canvas execution id, default transaction memo, members, spending restrictions, submission policy id, travel metadata, trip accounting rules item tracking category option, 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 members item