Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.45 KB

get-employee-wage-response.md

File metadata and controls

54 lines (45 loc) · 1.45 KB

Get Employee Wage Response

A response to a request to get an EmployeeWage. The response contains the requested EmployeeWage objects and might contain a set of Error objects if the request resulted in errors.

Structure

GetEmployeeWageResponse

Fields

Name Type Tags Description
employeeWage EmployeeWage | undefined Optional The hourly wage rate that an employee earns on a Shift for doing the job specified by the title property of this object. Deprecated at version 2020-08-26. Use TeamMemberWage.
errors Error[] | undefined Optional Any errors that occurred during the request.

Example (as JSON)

{
  "employee_wage": {
    "employee_id": "33fJchumvVdJwxV0H6L9",
    "hourly_rate": {
      "amount": 2000,
      "currency": "USD"
    },
    "id": "pXS3qCv7BERPnEGedM4S8mhm",
    "title": "Manager"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}