EmployeePaymentDetails
Return and update employee payment details on employee contacts for Australian Files.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Contact/EmployeePaymentDetails |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique employee payment details identifier in the form of a guid. Required Only: for updating an existing employee's payment details. |
Employee | object | The following set of information pulls through details for the employee contact |
Employee.UID | Guid (36) | Foreign Key : Unique guid identifier belonging to the employee contact. |
Employee.Name | String (30) | Name of the employee. |
Employee.DisplayID | String (15) | Employee contact Card ID, can also be used as a unique employee contact identifier. |
Employee.URI | String | Uniform resource identifier associated with the employee object. |
PaymentMethod | String | Required Only: for updating an existing employee's payment details. Payment method can consist of the following Enum values: Cash Cheque Electronic* * AU only |
BankStatementText | String (18) | Text to appear on employee's bank statement where PaymentMethod = Electronic |
BankAccounts | array | An array of employee bank account information where PaymentMethod = Electronic |
BankAccounts.BSBNumber | String (6) | Required Only: for updating an existing employee's payment details where PaymentMethod = Electronic . Format looks like "123-456" |
BankAccounts.BankAccountNumber | String (9) | Required Only: for updating an existing employee's payment details where PaymentMethod = Electronic . |
BankAccounts.BankAccountName | String (32) | Required Only: for updating an existing employee's payment details where PaymentMethod = Electronic . |
BankAccounts.Value | Double | Required Only: for updating an existing employee's payment details where PaymentMethod = Electronic . Net pay amount to be transferred to employee's account using either Dollars (13.6) or Percent (0.00 - 100.00) |
BankAccounts.Unit | String | Required Only: for updating an existing employee's payment details where PaymentMethod = Electronic . Untis can consist of the following Enum values: Percent Dollars RemainingAmount (read-only for the last account in the collection) |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing employee's payment details. |
Example json GET response
Example
{
"UID": "0c55818c-855a-452e-be92-d8a1595fc5e9",
"PaymentMethod": "Electronic",
"BankStatementText": "Alan Long; Clearwtr",
"URI": "{cf_uri}/Contact/EmployeePaymentDetails/0c55818c-855a-452e-be92-d8a1595fc5e9",
"RowVersion": "2350610157466419312"
}The {cf_uri} is provided by the businessId parameter as described here.