---
agentTools:
  projectIndex: https://developers.9spokes.io/llms.txt
---

# Staff Wages

Staff wages is the record of pay run categorized by employment type. Following is the data specification for staff wages as extracted from HR/Payroll OSPs

[block:api-header]
{
  "title": "Data Schema"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Field",
    "h-1": "Data Type",
    "h-2": "Description",
    "0-0": "**employment_type**",
    "0-1": "*string*",
    "0-2": "Types of employment",
    "2-0": "**date**",
    "2-1": "*date*",
    "1-0": "**gross_pay**",
    "1-1": "*string*",
    "1-2": "The amount of money paid",
    "2-2": "Payment date"
  },
  "cols": 3,
  "rows": 3
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "9Spokes Open API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.9spokes.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/companies/{company}/connections/{connection}/staffWages": {
      "get": {
        "summary": "Staff Wages",
        "description": "",
        "operationId": "staff-wages",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"results\": [\n    {\n      \"staff_wages\": {\n        \"employment_type\": \"FULL-TIME\",\n        \"gross_pay\": 19000.0,\n        \"date\": \"2017-10-31T00:00:00.000Z\"\n      }\n    },\n    {\n      \"staff_wages\": {\n        \"employment_type\": \"CONTRACTOR\",\n        \"gross_pay\": 2450.0,\n        \"date\": \"2017-10-31T00:00:00.000Z\"\n      }\n    },\n    {\n      \"staff_wages\": {\n        \"employment_type\": \"PART-TIME\",\n        \"gross_pay\": 420.0,\n        \"date\": \"2017-10-31T00:00:00.000Z\"\n      }\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "staff_wages": {
                            "type": "object",
                            "properties": {
                              "employment_type": {
                                "type": "string",
                                "example": "FULL-TIME"
                              },
                              "gross_pay": {
                                "type": "integer",
                                "example": 19000,
                                "default": 0
                              },
                              "date": {
                                "type": "string",
                                "example": "2017-10-31T00:00:00.000Z"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6212eca2c5390f001b300d73:62c418f0808f5e00928784b8"
}
```