You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[**create_credit_note_history**](AccountingApi.md#create_credit_note_history) | **PUT** /CreditNotes/{CreditNoteID}/History | Retrieves history records of a specific credit note
26
26
[**create_credit_notes**](AccountingApi.md#create_credit_notes) | **PUT** /CreditNotes | Creates a new credit note
27
27
[**create_currency**](AccountingApi.md#create_currency) | **PUT** /Currencies | Create a new currency for a Xero organisation
28
-
[**create_employees**](AccountingApi.md#create_employees) | **PUT** /Employees | Creates new employees used in Xero payrun
29
28
[**create_expense_claim_history**](AccountingApi.md#create_expense_claim_history) | **PUT** /ExpenseClaims/{ExpenseClaimID}/History | Creates a history record for a specific expense claim
[**create_invoice_attachment_by_file_name**](AccountingApi.md#create_invoice_attachment_by_file_name) | **PUT** /Invoices/{InvoiceID}/Attachments/{FileName} | Creates an attachment for a specific invoice or purchase bill by filename
[**get_credit_note_history**](AccountingApi.md#get_credit_note_history) | **GET** /CreditNotes/{CreditNoteID}/History | Retrieves history records of a specific credit note
118
117
[**get_credit_notes**](AccountingApi.md#get_credit_notes) | **GET** /CreditNotes | Retrieves any credit notes
119
118
[**get_currencies**](AccountingApi.md#get_currencies) | **GET** /Currencies | Retrieves currencies for your Xero organisation
120
-
[**get_employee**](AccountingApi.md#get_employee) | **GET** /Employees/{EmployeeID} | Retrieves a specific employee used in Xero payrun using a unique employee Id
121
-
[**get_employees**](AccountingApi.md#get_employees) | **GET** /Employees | Retrieves employees used in Xero payrun
122
119
[**get_expense_claim**](AccountingApi.md#get_expense_claim) | **GET** /ExpenseClaims/{ExpenseClaimID} | Retrieves a specific expense claim using a unique expense claim Id
123
120
[**get_expense_claim_history**](AccountingApi.md#get_expense_claim_history) | **GET** /ExpenseClaims/{ExpenseClaimID}/History | Retrieves history records of a specific expense claim
[**update_or_create_bank_transactions**](AccountingApi.md#update_or_create_bank_transactions) | **POST** /BankTransactions | Updates or creates one or more spent or received money transaction
224
221
[**update_or_create_contacts**](AccountingApi.md#update_or_create_contacts) | **POST** /Contacts | Updates or creates one or more contacts in a Xero organisation
225
222
[**update_or_create_credit_notes**](AccountingApi.md#update_or_create_credit_notes) | **POST** /CreditNotes | Updates or creates one or more credit notes
226
-
[**update_or_create_employees**](AccountingApi.md#update_or_create_employees) | **POST** /Employees | Creates a single new employees used in Xero payrun
227
223
[**update_or_create_invoices**](AccountingApi.md#update_or_create_invoices) | **POST** /Invoices | Updates or creates one or more sales invoices or purchase bills
228
224
[**update_or_create_items**](AccountingApi.md#update_or_create_items) | **POST** /Items | Updates or creates one or more items
229
225
[**update_or_create_manual_journals**](AccountingApi.md#update_or_create_manual_journals) | **POST** /ManualJournals | Updates or creates a single manual journal
@@ -1751,80 +1747,6 @@ Name | Type | Description | Notes
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
1788
-
employees = {"Employees":[{"FirstName":"Nick","LastName":"Fury","ExternalLink":{"Url":"http://twitter.com/#!/search/Nick+Fury"}}]} # Employees | Employees with array of Employee object in body of request
1789
-
opts = {
1790
-
summarize_errors: false, # Boolean | If false return 200 OK and mix of successfully created objects and any with validation errors
1791
-
1792
-
idempotency_key: 'KEY_VALUE' # String | This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
1793
-
}
1794
-
1795
-
begin
1796
-
#Creates new employees used in Xero payrun
1797
-
result = api_instance.create_employees(xero_tenant_id, employees, opts)
1798
-
p result
1799
-
rescue XeroRuby::Accounting::ApiError => e
1800
-
puts "Exception when calling AccountingApi->create_employees: #{e}"
**xero_tenant_id** | **String**| Xero identifier for Tenant |
1810
-
**employees** | [**Employees**](Employees.md)| Employees with array of Employee object in body of request |
1811
-
**summarize_errors** | **Boolean**| If false return 200 OK and mix of successfully created objects and any with validation errors | [optional] [default to false]
1812
-
**idempotency_key** | **String**| This allows you to safely retry requests without the risk of duplicate processing. 128 character max. | [optional]
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
8211
-
opts = {
8212
-
if_modified_since: DateTime.parse('2020-02-06T12:17:43.202-08:00'), # DateTime | Only records created or modified since this timestamp will be returned
8213
-
8214
-
where: 'Status==\"ACTIVE\"', # String | Filter by an any element
8215
-
8216
-
order: 'LastName ASC' # String | Order by an any element
8217
-
}
8218
-
8219
-
begin
8220
-
#Retrieves employees used in Xero payrun
8221
-
result = api_instance.get_employees(xero_tenant_id, opts)
8222
-
p result
8223
-
rescue XeroRuby::Accounting::ApiError => e
8224
-
puts "Exception when calling AccountingApi->get_employees: #{e}"
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant
15528
-
employees = {"Employees":[{"FirstName":"Nick","LastName":"Fury","ExternalLink":{"Url":"http://twitter.com/#!/search/Nick+Fury"}}]} # Employees | Employees with array of Employee object in body of request
15529
-
opts = {
15530
-
summarize_errors: false, # Boolean | If false return 200 OK and mix of successfully created objects and any with validation errors
15531
-
15532
-
idempotency_key: 'KEY_VALUE' # String | This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
15533
-
}
15534
-
15535
-
begin
15536
-
#Creates a single new employees used in Xero payrun
15537
-
result = api_instance.update_or_create_employees(xero_tenant_id, employees, opts)
15538
-
p result
15539
-
rescue XeroRuby::Accounting::ApiError => e
15540
-
puts "Exception when calling AccountingApi->update_or_create_employees: #{e}"
**xero_tenant_id** | **String**| Xero identifier for Tenant |
15550
-
**employees** | [**Employees**](Employees.md)| Employees with array of Employee object in body of request |
15551
-
**summarize_errors** | **Boolean**| If false return 200 OK and mix of successfully created objects and any with validation errors | [optional] [default to false]
15552
-
**idempotency_key** | **String**| This allows you to safely retry requests without the risk of duplicate processing. 128 character max. | [optional]
**branding_theme_id** | **String** | The unique identifier of the branding template applied to a receive prepayment | [optional]
21
22
**currency_rate** | **BigDecimal** | The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used | [optional]
22
23
**remaining_credit** | **BigDecimal** | The remaining credit balance on the prepayment | [optional]
23
24
**allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional]
0 commit comments