Expenses

Retrieve a single expense by id

get/expenses/{id}

Request

  • Base URL
    https://app.hireart.com/api/v2
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

Successful response

object'expense' required
idstring required
worker_idstring nullable
assignment_idstring nullable
amount_centsinteger nullable
currencystring nullable
status'paid' | 'direct_paid' | 'approved' | 'rejected' | 'submitted' | 'null' nullable
status_changed_atstring date-time nullable
submitted_atstring date-time nullable
expense_datestring date nullable
categorystring nullable
descriptionstring nullable
pay_cycle_idstring nullable

Example response

{
  "id": "97811bd6-539f-4a58-8be3-6bbe3acfdae0",
  "worker_id": "1ccf6e61-376c-47d3-8a63-a8ee112e83a2",
  "assignment_id": "1aecf7c8-9d70-433a-9bb5-473cf4907a86",
  "amount_cents": 15000,
  "currency": "USD",
  "status": "paid",
  "status_changed_at": "2024-06-15T14:30:00Z",
  "submitted_at": "2024-06-15T14:30:00Z",
  "expense_date": "2024-06-15",
  "category": "Travel",
  "description": "Handle inbound customer inquiries via phone, email, and chat.",
  "approved_by": {
    "id": "97811bd6-539f-4a58-8be3-6bbe3acfdae0",
    "full_name": "Jane Doe",
    "first_name": "Jane",
    "last_name": "Doe",
    "email": "jane.doe@example.com",
    "phone": "+1 (555) 555-5555"
  },
  "pay_cycle_id": "1aecf7c8-9d70-433a-9bb5-473cf4907a86"
}

Changes

No recorded changes to this operation across all 1 revision of this API.