getClientPackagingDefaults
getClientPackagingDefaults
Overview
This method returns the salary packaging defaults for a client.
This method requires the ClientPackagingDefaults:Get permission to be associated with your role.
Permissions
The permission for this api is stored in [gb_api_permissions]permission as 'ClientPackagingDefaults:Get'.
Only roles with a stored link to this permission in [gb_role_api_permissions] can run this api.
HTTP Method
Use the HTTP Method 'GET' for consuming this web service.
URL Examples
https://api.demo.catch-e.com/sp/client/packaging-defaults/1234 https://api.{{environment}}.catch-e.com/sp/client/packaging-defaults/1234 https://api.test.catch-e.com/sp/client/packaging-defaults/1234 Path Parameters
Response Details
Success
200 - OK
{ "_links": { "self": { "href": "https://api.catch-e.loc/sp/client/packaging-defaults/1234" } }, "client_packaging_default_id": "89", "client_id": "1234", "pay_run_start": 1, "pay_run_start2": null, "pay_run_start3": null, "taxable_sales": "all-items", "pay_run_processing_state": "NSW", "pay_run_weekend_treatment": "pay-on-friday", "report_delivery_type": "email", "report_groups": [ "string" ], "payroll_pre_tax": "string", "payroll_post_tax": "string", "payroll_fbt": "string", "payroll_lcc": "string", "payroll_gst": "string", "payroll_itc": "string", "bank_account_enabled_flag": "yes", "financial_institution_id": "12", "bank_account_name": "[ACCOUNT-NAME]", "bank_account_name_short": "[SHORT-NAME]", "bank_bsb": "[BSB]", "bank_account_number": "[ACCOUNT-NUMBER]", "apca_number": "[APCA-NUMBER]", "aba_description": "string", "aba_self_balancing_flag": "yes" } Error Response Details
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unauthorized", "status": 401, "detail": "Unauthorized" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Forbidden", "status": 403, "detail": "Forbidden" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Found", "status": 404, "detail": "Not Found" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Acceptable", "status": 406, "detail": "Not Acceptable" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }