Get an expense record of an expense identifier

get

/fscmRestApi/resources/11.13.18.05/expenses/{expensesUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Expenses resource and used to uniquely identify an instance of Expenses. The client should not generate the hash key value. Instead, the client should query on the Expenses collection resource in order to navigate to a specific instance of Expenses to get the hash key.
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • This header accepts a string value. The string is a semi-colon separated list of =. It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers.
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : expenses-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to manage documents that the user has attached to the expense item.
Show Source
Nested Schema : Daily sum limit
Type: object
Title: Daily sum limit
Daily expense limit of a trip.
Nested Schema : Duplicate Expenses
Type: array
Title: Duplicate Expenses
The duplicate expenses resource is a child resource that contains information about all duplicate expense items related to an expense.
Show Source
Nested Schema : Expense Attendees
Type: array
Title: Expense Attendees
The expense attendees resource is a child resource that contains expense attendee information.
Show Source
Nested Schema : Expense Descriptive Flexfields
Type: array
Title: Expense Descriptive Flexfields
The expense descriptive flexfields resource is used to manage details about the descriptive flexfield references for an expense item.
Show Source
Nested Schema : Expense Distributions
Type: array
Title: Expense Distributions
The expense distributions resource manages details about all expenses incurred by an employee, which includes attendees, distributions, descriptive flexfields, itemizations, and attachment information.
Show Source
Nested Schema : Expense Errors
Type: array
Title: Expense Errors
The expense errors resource is a child resource that contains information about all validation errors of an expense.
Show Source
Nested Schema : Expense Itemizations
Type: array
Title: Expense Itemizations
The expense itemizations resource is a child resource used to manage details about the itemized lines of an expense incurred by an employee.
Show Source
Nested Schema : Matched Expenses
Type: array
Title: Matched Expenses
The matched expenses resource is a child resource that contains information about all matched expense items related to an expense.
Show Source
Nested Schema : expenses-Attachments-item-response
Type: object
Show Source
Nested Schema : expenses-duplicateExpenses-item-response
Type: object
Show Source
Nested Schema : expenses-ExpenseAttendee-item-response
Type: object
Show Source
Nested Schema : expenses-ExpenseDff-item-response
Type: object
Show Source
Nested Schema : expenses-ExpenseDistribution-item-response
Type: object
Show Source
Nested Schema : Project Descriptive Flexfields
Type: array
Title: Project Descriptive Flexfields
The project-related descriptive flexfields resource is a child resource that maintains project flexfields related to an expense.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "AP_Distribution_Sets":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response", "AP_Invoice_Distribution":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response", "AP_Invoice_Line":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFAP__5FInvoice__5FLineVO-item-response", "EXM_Expense_Report":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFEXM__5FExpense__5FReportVO-item-response", "EXM_Expense_Report_Line":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response", "INV_Misc_Transactions":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response", "OM_Sales_Order":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFOM__5FSales__5FOrderVO-item-response", "PJC_All":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPJC__5FAllVO-item-response", "PJC_Expenditure_Batch":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response", "POR_Requisition":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPOR__5FRequisitionVO-item-response", "POR_User_Preferences":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response", "PO_Purchase_Order":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response", "PO_Purchase_Order_Line":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response", "PO_Purchase_Order_Schedule":"#/components/schemas/oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response" } }
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFAP__5FDistribution__5FSetsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFAP__5FInvoice__5FDistributionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFAP__5FInvoice__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFEXM__5FExpense__5FReportVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFEXM__5FExpense__5FReport__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFINV__5FMisc__5FTransactionsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFOM__5FSales__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPJC__5FAllVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPJC__5FExpenditure__5FBatchVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPOR__5FRequisitionVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPOR__5FUser__5FPreferencesVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPO__5FPurchase__5FOrderVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPO__5FPurchase__5FOrder__5FLineVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_financials_expenses_entry_shared_flex_pjcdff_view_PJCDFFPO__5FPurchase__5FOrder__5FScheduleVO-item-response
Type: object
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type: array
Title: Links
The link relations associated with the resource instance.
Show Source
Nested Schema : expenses-expenseErrors-item-response
Type: object
Show Source
Nested Schema : expenses-ExpenseItemization-item-response
Type: object
Show Source
Nested Schema : Daily sum limit
Type: object
Title: Daily sum limit
Daily expense limit of a trip.
Nested Schema : expenses-matchedExpenses-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve an expense record by submitting a GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831

Example Response Body

The following example shows the contents of the response body in JSON format:

{
  "AgencyName": null,
  "AssignmentId": 100010026335780,
  "AuditAdjustmentReason": null,
  "AuditAdjustmentReasonCode": null,
  "AwtGroupId": null,
  "BilledAmount": null,
  "BilledCurrencyCode": null,
  "CardId": null,
  "CheckoutDate": null,
  "CreatedBy": "FINUSER1",
  "CreationDate": "2013-12-19T17:36:22.870+00:00",
  "CreditCardTrxnId": null,
  "DailyAmount": null,
  "DailyDistance": null,
  "DepartureLocationId": null,
  "Description": null,
  "DestinationFrom": null,
  "DestinationTo": null,
  "DistanceUnitCode": null,
  "EndDate": "2013-01-05",
  "EndDateTimestamp": "2013-01-05T00:00:00+00:00",
  "EndOdometer": null,
  "ExchangeRate": 1,
  "ExpenseCategoryCode": "BUSINESS",
  "ExpenseCreationMethodCode": null,
  "ExpenseId": 300100031604831,
  "ExpenseReference": 11,
  "ExpenseReportId": 300100031604830,
  "ExpenseSource": "CASH",
  "ExpenseTemplateId": 10024,
  "ExpenseTypeCategoryCode": "CAR_RENTAL",
  "ExpenseTypeId": 10007,
  "FlightClassLimit": null,
  "FlightDuration": null,
  "FlightNumber": null,
  "FuelType": null,
  "ImageReceiptRequiredFlag": false,
  "ItemizationParentExpenseId": null,
  "ItemizationReceiptBusinessTotalAmount": 0,
  "ItemizationReceiptPersonalTotalAmount": 0,
  "ItineraryReservationId": null,
  "Justification": null,
  "JustificationRequiredFlag": false,
  "LastUpdateDate": "2013-12-19T17:39:12.912+00:00",
  "LastUpdateLogin": "EDECAC6A2DC13DAAE0432620F00AE079",
  "LastUpdatedBy": "FINUSER1",
  "LicensePlateNumber": null,
  "Location": "Abbott, Hill, Tx, United States",
  "LocationId": 999988024901020,
  "LongTermTripFlag": null,
  "LongTermTripStartDate": null,
  "MerchantDocumentNumber": null,
  "MerchantName": null,
  "MerchantReference": null,
  "MerchantTaxRegNumber": null,
  "MerchantTaxpayerId": null,
  "MileagePolicyId": null,
  "NumberOfAttendees": null,
  "NumberOfDays": null,
  "NumberPeople": null,
  "OrgId": 204,
  "PassengerAmount": null,
  "PassengerName": null,
  "PassengerRateType": null,
  "PaymentDueFromCode": null,
  "PersonId": 100010026335772,
  "PersonalReceiptAmount": 0,
  "PolicyShortpayFlag": false,
  "PolicyViolatedFlag": false,
  "PolicyWarningFlag": null,
  "PolicyWarningReasonCode": null,
  "PreparerId": null,
  "RatePerPassenger": null,
  "ReceiptAmount": 10,
  "ReceiptCurrencyCode": "USD",
  "ReceiptDate": "2013-01-05",
  "ReceiptMissingDecRequiredFlag": null,
  "ReceiptMissingFlag": false,
  "ReceiptRequiredFlag": false,
  "ReceiptVerifiedFlag": false,
  "ReimbursableAmount": 10,
  "ReimbursementCurrencyCode": "USD",
  "SequenceNumber": null,
  "StartDate": "2013-01-05",
  "StartDateTimestamp": "2013-01-05T00:00:00+00:00",
  "StartOdometer": null,
  "TaxClassificationCode": null,
  "TicketClassCode": null,
  "TicketNumber": null,
  "TravelMethodCode": null,
  "TravelType": null,
  "TripDistance": 0,
  "UOMDays": null,
  "ValidationErrorFlag": null,
  "ValidationErrorMessages": null,
  "ValidationWarningMessages": null,
  "VehicleCategoryCode": null,
  "VehicleType": null,
  "ZoneCode": null,
  "ZoneTypeCode": null,
  "BusinessUnit": "Vision Operations",
  "PersonName": "Johnson,Mary",
  "ExpenseTemplate": "Travel",
  "ExpenseType": "Car Rental",
  "ReceiptCurrency": "US Dollar",
  "ReimbursementCurrency": "US Dollar",
  "DistanceUnit": null,
  "TicketClass": null,
  "ExpenseSourceName": "Cash",
  "ReferenceNumber": null,
  "Request": null,
  "AttachmentExists": "N",
  "ExpenseReportStatus": "SAVED",
  "AuthTrxnNumber": null,
  "TravelTypeName": null,
  "VehicleCategory": null,
  "VehicleTypeName": null,
  "FuelTypeName": null,
  "TaxClassification": null,
  "CountryCode": null,
  "AutoSubmitDate": null,
  "links": [
    {
      "rel": "self",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831",
      "name": "expenses",
      "kind": "item",
      "properties": {
        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000B78"
      }
    },
    {
      "rel": "canonical",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831",
      "name": "expenses",
      "kind": "item"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/Attachments",
      "name": "Attachments",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/ExpenseAttendee",
      "name": "ExpenseAttendee",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/ExpenseDff",
      "name": "ExpenseDff",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/ExpenseDistribution",
      "name": "ExpenseDistribution",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/ExpenseItemization",
      "name": "ExpenseItemization",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/expenseErrors",
      "name": "expenseErrors",
      "kind": "collection"
    },
    {
      "rel": "child",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/child/matchedExpenses",
      "name": "matchedExpenses",
      "kind": "collection"
    },
    {
      "rel": "action",
      "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenses/300100031604831/action/duplicate",
      "name": "duplicate",
      "kind": "other"
    }
  ]
}
Back to Top