@@ -6535,272 +6535,6 @@ paths:
65356535 example:
65366536 Code: USD
65376537 Description: United States Dollar
6538- /Employees:
6539- parameters:
6540- - $ref: "#/components/parameters/requiredHeader"
6541- get:
6542- deprecated: true
6543- security:
6544- - OAuth2:
6545- - accounting.settings
6546- - accounting.settings.read
6547- tags:
6548- - Accounting
6549- operationId: getEmployees
6550- summary: Retrieves employees used in Xero payrun
6551- description: This endpoint is deprecated and will be removed April 28, 2026
6552- parameters:
6553- - $ref: "#/components/parameters/ifModifiedSince"
6554- - in: query
6555- name: where
6556- description: Filter by an any element
6557- example: Status=="ACTIVE"
6558- x-example-csharp: Status==\"ACTIVE\"
6559- x-example-java: Status=="' + Employee.StatusEnum.ACTIVE + '"
6560- x-example-php: Status=="' . \XeroAPI\XeroPHP\Models\Accounting\Employee::STATUS_ACTIVE . '"
6561- x-example-ruby: Status==#{XeroRuby::Accounting::Employee::ACTIVE}
6562- schema:
6563- type: string
6564- - in: query
6565- name: order
6566- description: Order by an any element
6567- example: LastName ASC
6568- schema:
6569- type: string
6570- responses:
6571- "200":
6572- description: Success - return response of type Employees array with all Employee
6573- content:
6574- application/json:
6575- schema:
6576- $ref: "#/components/schemas/Employees"
6577- example:
6578- Id: 593cbccc-5cd2-4cd2-be5e-150f0843709e
6579- Status: OK
6580- ProviderName: Provider Name Example
6581- DateTimeUTC: /Date(1552325082775)/
6582- Employees:
6583- - EmployeeID: 972615c5-ad3d-47a0-b579-20370d374578
6584- Status: ACTIVE
6585- FirstName: Tony
6586- LastName: Stark
6587- ExternalLink:
6588- Url: http://twitter.com/#!/search/Stark+Industries
6589- Description: Go to external link
6590- UpdatedDateUTC: /Date(1552324681593+0000)/
6591- - EmployeeID: ad3db144-6362-459c-8c36-5d31d196e629
6592- Status: ACTIVE
6593- FirstName: Bruce
6594- LastName: Banner
6595- ExternalLink:
6596- Url: http://twitter.com/#!/search/Nick+Fury
6597- Description: Go to external link
6598- UpdatedDateUTC: /Date(1552325081303+0000)/
6599- - EmployeeID: e1ada26b-a10e-4065-a941-af34b53740e3
6600- Status: ACTIVE
6601- FirstName: Nick
6602- LastName: Fury
6603- ExternalLink:
6604- Url: http://twitter.com/#!/search/Nick+Fury
6605- Description: Go to external link
6606- UpdatedDateUTC: /Date(1552324737990+0000)/
6607- put:
6608- deprecated: true
6609- security:
6610- - OAuth2:
6611- - accounting.settings
6612- tags:
6613- - Accounting
6614- operationId: createEmployees
6615- summary: Creates new employees used in Xero payrun
6616- description: This endpoint is deprecated and will be removed April 28, 2026
6617- x-hasAccountingValidationError: true
6618- x-example:
6619- - employee:
6620- is_object: true
6621- key: employee
6622- keyPascal: Employee
6623- - firstName:
6624- key: firstName
6625- keyPascal: FirstName
6626- keySnake: first_name
6627- default: Nick
6628- object: employee
6629- - lastName:
6630- is_last: true
6631- key: lastName
6632- keyPascal: LastName
6633- keySnake: last_name
6634- default: Fury
6635- object: employee
6636- - employees:
6637- is_object: true
6638- key: employees
6639- keyPascal: Employees
6640- - add_employee:
6641- is_last: true
6642- is_array_add: true
6643- key: employees
6644- keyPascal: Employees
6645- java: Employees
6646- csharp: Employee
6647- object: employee
6648- parameters:
6649- - $ref: "#/components/parameters/summarizeErrors"
6650- - $ref: "#/components/parameters/idempotencyKey"
6651- responses:
6652- "200":
6653- description: Success - return response of type Employees array with new Employee
6654- content:
6655- application/json:
6656- schema:
6657- $ref: "#/components/schemas/Employees"
6658- example:
6659- Id: 0d6a08e7-6936-4828-a1bc-e4595e0ef778
6660- Status: OK
6661- ProviderName: Provider Name Example
6662- DateTimeUTC: /Date(1552324736508)/
6663- Employees:
6664- - EmployeeID: e1ada26b-a10e-4065-a941-af34b53740e3
6665- Status: ACTIVE
6666- FirstName: Nick
6667- LastName: Fury
6668- ExternalLink:
6669- Url: http://twitter.com/#!/search/Nick+Fury
6670- Description: Go to external link
6671- UpdatedDateUTC: /Date(1552324736463+0000)/
6672- "400":
6673- $ref: "#/components/responses/400Error"
6674- requestBody:
6675- required: true
6676- description: Employees with array of Employee object in body of request
6677- content:
6678- application/json:
6679- schema:
6680- $ref: "#/components/schemas/Employees"
6681- example:
6682- Employees:
6683- - FirstName: Nick
6684- LastName: Fury
6685- ExternalLink:
6686- Url: http://twitter.com/#!/search/Nick+Fury
6687- post:
6688- deprecated: true
6689- security:
6690- - OAuth2:
6691- - accounting.settings
6692- tags:
6693- - Accounting
6694- operationId: updateOrCreateEmployees
6695- summary: Creates a single new employees used in Xero payrun
6696- description: This endpoint is deprecated and will be removed April 28, 2026
6697- x-hasAccountingValidationError: true
6698- x-example:
6699- - employee:
6700- is_object: true
6701- key: employee
6702- keyPascal: Employee
6703- - firstName:
6704- key: firstName
6705- keyPascal: FirstName
6706- keySnake: first_name
6707- default: Nick
6708- object: employee
6709- - lastName:
6710- is_last: true
6711- key: lastName
6712- keyPascal: LastName
6713- keySnake: last_name
6714- default: Fury
6715- object: employee
6716- - employees:
6717- is_object: true
6718- key: employees
6719- keyPascal: Employees
6720- - add_employee:
6721- is_last: true
6722- is_array_add: true
6723- key: employees
6724- keyPascal: Employees
6725- java: Employees
6726- csharp: Employee
6727- object: employee
6728- parameters:
6729- - $ref: "#/components/parameters/summarizeErrors"
6730- - $ref: "#/components/parameters/idempotencyKey"
6731- responses:
6732- "200":
6733- description: Success - return response of type Employees array with new Employee
6734- content:
6735- application/json:
6736- schema:
6737- $ref: "#/components/schemas/Employees"
6738- example:
6739- Id: 0d6a08e7-6936-4828-a1bc-e4595e0ef778
6740- Status: OK
6741- ProviderName: Provider Name Example
6742- DateTimeUTC: /Date(1552324736508)/
6743- Employees:
6744- - EmployeeID: e1ada26b-a10e-4065-a941-af34b53740e3
6745- Status: ACTIVE
6746- FirstName: Nick
6747- LastName: Fury
6748- ExternalLink:
6749- Url: http://twitter.com/#!/search/Nick+Fury
6750- Description: Go to external link
6751- UpdatedDateUTC: /Date(1552324736463+0000)/
6752- "400":
6753- $ref: "#/components/responses/400Error"
6754- requestBody:
6755- required: true
6756- description: Employees with array of Employee object in body of request
6757- content:
6758- application/json:
6759- schema:
6760- $ref: "#/components/schemas/Employees"
6761- example:
6762- Employees:
6763- - FirstName: Nick
6764- LastName: Fury
6765- ExternalLink:
6766- Url: http://twitter.com/#!/search/Nick+Fury
6767- /Employees/{EmployeeID}:
6768- parameters:
6769- - $ref: "#/components/parameters/requiredHeader"
6770- get:
6771- deprecated: true
6772- security:
6773- - OAuth2:
6774- - accounting.settings
6775- - accounting.settings.read
6776- tags:
6777- - Accounting
6778- operationId: getEmployee
6779- summary: Retrieves a specific employee used in Xero payrun using a unique employee Id
6780- description: This endpoint is deprecated and will be removed April 28, 2026
6781- parameters:
6782- - $ref: "#/components/parameters/EmployeeID"
6783- responses:
6784- "200":
6785- description: Success - return response of type Employees array with specified Employee
6786- content:
6787- application/json:
6788- schema:
6789- $ref: "#/components/schemas/Employees"
6790- example:
6791- Id: 417a529e-4f8d-4b1a-8816-7100245cf8b2
6792- Status: OK
6793- ProviderName: Provider Name Example
6794- DateTimeUTC: /Date(1552325084085)/
6795- Employees:
6796- - EmployeeID: 972615c5-ad3d-47a0-b579-20370d374578
6797- Status: ACTIVE
6798- FirstName: Tony
6799- LastName: Stark
6800- ExternalLink:
6801- Url: http://twitter.com/#!/search/Stark+Industries
6802- Description: Go to external link
6803- UpdatedDateUTC: /Date(1552324681593+0000)/
68046538 /ExpenseClaims:
68056539 parameters:
68066540 - $ref: "#/components/parameters/requiredHeader"
0 commit comments