{ "uuid": "cefe52d6-8b0c-4447-a086-28e1269987c4", "lastMigration": 29, "name": "Xero Payroll AU API", "endpointPrefix": "payroll.xro/1.0", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "76d6743a-b7dd-49ba-a44c-c6753da9f757", "documentation": "Searches payroll employees", "method": "get", "endpoint": "Employees", "responses": [ { "uuid": "5968bc1a-3942-4ead-9e1a-fbe8c021ff93", "body": "{\n \"Employees\": [\n {\n \"BankAccounts\": [\n {\n \"AccountName\": \"James Lebron Savings\",\n \"AccountNumber\": 345678,\n \"Amount\": 200,\n \"BSB\": 122344,\n \"Remainder\": {{faker 'datatype.boolean'}},\n \"StatementText\": \"Salary\"\n }\n ],\n \"Classification\": 99383,\n \"DateOfBirth\": \"/Date(322560000000+0000)/\",\n \"Email\": \"developer@me.com\",\n \"EmployeeGroupName\": \"marketing\",\n \"EmployeeID\": \"4ff1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"FirstName\": \"Karen\",\n \"Gender\": \"{{oneOf (array 'N' 'M' 'F' 'I')}}\",\n \"HomeAddress\": {\n \"AddressLine1\": \"123 Main St\",\n \"AddressLine2\": \"Apt 4\",\n \"City\": \"St. Kilda\",\n \"Country\": \"AUSTRALIA\",\n \"PostalCode\": 3182,\n \"Region\": \"{{oneOf (array 'ACT' 'NSW' 'NT' 'QLD' 'SA' 'TAS' 'VIC' 'WA')}}\"\n },\n \"IsAuthorisedToApproveLeave\": {{faker 'datatype.boolean'}},\n \"IsAuthorisedToApproveTimesheets\": true,\n \"JobTitle\": \"Manager\",\n \"LastName\": \"Jones\",\n \"LeaveBalances\": [\n {\n \"LeaveName\": \"Annual Leave\",\n \"LeaveTypeID\": \"544d9292-4329-4512-bfff-a9f15236d776\",\n \"NumberOfUnits\": 81.2602,\n \"TypeOfUnits\": \"Hours\"\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"MiddleNames\": \"Adena\",\n \"Mobile\": \"415-234-5678\",\n \"OpeningBalances\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"OpeningBalanceDate\": \"/Date(322560000000+0000)/\",\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"Tax\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n },\n \"OrdinaryEarningsRateID\": \"5gj1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"PayTemplate\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ]\n },\n \"PayrollCalendarID\": \"2ee8e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"Phone\": \"415-555-1212\",\n \"StartDate\": \"/Date(320284900000+0000)/\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'TERMINATED')}}\",\n \"SuperMemberships\": [\n {\n \"EmployeeNumber\": 1234,\n \"SuperFundID\": \"2187a42b-639a-45cb-9eed-cd4ae488306a\",\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"TaxDeclaration\": {\n \"ApprovedWithholdingVariationPercentage\": 75,\n \"AustralianResidentForTaxPurposes\": true,\n \"EligibleToReceiveLeaveLoading\": {{faker 'datatype.boolean'}},\n \"EmployeeID\": \"123 Main St\",\n \"EmploymentBasis\": \"{{oneOf (array 'FULLTIME' 'PARTTIME' 'CASUAL' 'LABOURHIRE' 'SUPERINCOMESTREAM')}}\",\n \"HasHELPDebt\": {{faker 'datatype.boolean'}},\n \"HasSFSSDebt\": {{faker 'datatype.boolean'}},\n \"HasStudentStartupLoan\": true,\n \"HasTradeSupportLoanDebt\": {{faker 'datatype.boolean'}},\n \"ResidencyStatus\": \"{{oneOf (array 'AUSTRALIANRESIDENT' 'FOREIGNRESIDENT' 'WORKINGHOLIDAYMAKER')}}\",\n \"TFNExemptionType\": \"{{oneOf (array 'NOTQUOTED' 'PENDING' 'PENSIONER' 'UNDER18')}}\",\n \"TaxFileNumber\": 123123123,\n \"TaxFreeThresholdClaimed\": {{faker 'datatype.boolean'}},\n \"TaxOffsetEstimatedAmount\": 100,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"UpwardVariationTaxWithholdingAmount\": 50\n },\n \"TerminationDate\": \"/Date(1584662400000+0000)/\",\n \"Title\": \"Mrs\",\n \"TwitterUserName\": \"xeroapi\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3b17ed93-3bfb-4943-ad36-64107046ac6b", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9b63b9e9-3e65-4197-bc14-48add81a37f5", "documentation": "Creates a payroll employee", "method": "post", "endpoint": "Employees", "responses": [ { "uuid": "cf127dd6-4ba9-4b85-b686-51c8fb8c9181", "body": "{\n \"Employees\": [\n {\n \"BankAccounts\": [\n {\n \"AccountName\": \"James Lebron Savings\",\n \"AccountNumber\": 345678,\n \"Amount\": 200,\n \"BSB\": 122344,\n \"Remainder\": {{faker 'datatype.boolean'}},\n \"StatementText\": \"Salary\"\n }\n ],\n \"Classification\": 99383,\n \"DateOfBirth\": \"/Date(322560000000+0000)/\",\n \"Email\": \"developer@me.com\",\n \"EmployeeGroupName\": \"marketing\",\n \"EmployeeID\": \"4ff1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"FirstName\": \"Karen\",\n \"Gender\": \"{{oneOf (array 'N' 'M' 'F' 'I')}}\",\n \"HomeAddress\": {\n \"AddressLine1\": \"123 Main St\",\n \"AddressLine2\": \"Apt 4\",\n \"City\": \"St. Kilda\",\n \"Country\": \"AUSTRALIA\",\n \"PostalCode\": 3182,\n \"Region\": \"{{oneOf (array 'ACT' 'NSW' 'NT' 'QLD' 'SA' 'TAS' 'VIC' 'WA')}}\"\n },\n \"IsAuthorisedToApproveLeave\": {{faker 'datatype.boolean'}},\n \"IsAuthorisedToApproveTimesheets\": true,\n \"JobTitle\": \"Manager\",\n \"LastName\": \"Jones\",\n \"LeaveBalances\": [\n {\n \"LeaveName\": \"Annual Leave\",\n \"LeaveTypeID\": \"544d9292-4329-4512-bfff-a9f15236d776\",\n \"NumberOfUnits\": 81.2602,\n \"TypeOfUnits\": \"Hours\"\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"MiddleNames\": \"Adena\",\n \"Mobile\": \"415-234-5678\",\n \"OpeningBalances\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"OpeningBalanceDate\": \"/Date(322560000000+0000)/\",\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"Tax\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n },\n \"OrdinaryEarningsRateID\": \"5gj1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"PayTemplate\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ]\n },\n \"PayrollCalendarID\": \"2ee8e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"Phone\": \"415-555-1212\",\n \"StartDate\": \"/Date(320284900000+0000)/\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'TERMINATED')}}\",\n \"SuperMemberships\": [\n {\n \"EmployeeNumber\": 1234,\n \"SuperFundID\": \"2187a42b-639a-45cb-9eed-cd4ae488306a\",\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"TaxDeclaration\": {\n \"ApprovedWithholdingVariationPercentage\": 75,\n \"AustralianResidentForTaxPurposes\": true,\n \"EligibleToReceiveLeaveLoading\": {{faker 'datatype.boolean'}},\n \"EmployeeID\": \"123 Main St\",\n \"EmploymentBasis\": \"{{oneOf (array 'FULLTIME' 'PARTTIME' 'CASUAL' 'LABOURHIRE' 'SUPERINCOMESTREAM')}}\",\n \"HasHELPDebt\": {{faker 'datatype.boolean'}},\n \"HasSFSSDebt\": {{faker 'datatype.boolean'}},\n \"HasStudentStartupLoan\": true,\n \"HasTradeSupportLoanDebt\": {{faker 'datatype.boolean'}},\n \"ResidencyStatus\": \"{{oneOf (array 'AUSTRALIANRESIDENT' 'FOREIGNRESIDENT' 'WORKINGHOLIDAYMAKER')}}\",\n \"TFNExemptionType\": \"{{oneOf (array 'NOTQUOTED' 'PENDING' 'PENSIONER' 'UNDER18')}}\",\n \"TaxFileNumber\": 123123123,\n \"TaxFreeThresholdClaimed\": {{faker 'datatype.boolean'}},\n \"TaxOffsetEstimatedAmount\": 100,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"UpwardVariationTaxWithholdingAmount\": 50\n },\n \"TerminationDate\": \"/Date(1584662400000+0000)/\",\n \"Title\": \"Mrs\",\n \"TwitterUserName\": \"xeroapi\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e7032409-c4dc-493e-a77e-17554405a9c9", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a8790cb7-6aba-4e6c-9063-cb635361529e", "documentation": "Retrieves an employee's detail by unique employee id", "method": "get", "endpoint": "Employees/:EmployeeID", "responses": [ { "uuid": "235a0689-84c3-4967-b4f1-462d1a8fce61", "body": "{\n \"Employees\": [\n {\n \"BankAccounts\": [\n {\n \"AccountName\": \"James Lebron Savings\",\n \"AccountNumber\": 345678,\n \"Amount\": 200,\n \"BSB\": 122344,\n \"Remainder\": {{faker 'datatype.boolean'}},\n \"StatementText\": \"Salary\"\n }\n ],\n \"Classification\": 99383,\n \"DateOfBirth\": \"/Date(322560000000+0000)/\",\n \"Email\": \"developer@me.com\",\n \"EmployeeGroupName\": \"marketing\",\n \"EmployeeID\": \"4ff1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"FirstName\": \"Karen\",\n \"Gender\": \"{{oneOf (array 'N' 'M' 'F' 'I')}}\",\n \"HomeAddress\": {\n \"AddressLine1\": \"123 Main St\",\n \"AddressLine2\": \"Apt 4\",\n \"City\": \"St. Kilda\",\n \"Country\": \"AUSTRALIA\",\n \"PostalCode\": 3182,\n \"Region\": \"{{oneOf (array 'ACT' 'NSW' 'NT' 'QLD' 'SA' 'TAS' 'VIC' 'WA')}}\"\n },\n \"IsAuthorisedToApproveLeave\": {{faker 'datatype.boolean'}},\n \"IsAuthorisedToApproveTimesheets\": true,\n \"JobTitle\": \"Manager\",\n \"LastName\": \"Jones\",\n \"LeaveBalances\": [\n {\n \"LeaveName\": \"Annual Leave\",\n \"LeaveTypeID\": \"544d9292-4329-4512-bfff-a9f15236d776\",\n \"NumberOfUnits\": 81.2602,\n \"TypeOfUnits\": \"Hours\"\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"MiddleNames\": \"Adena\",\n \"Mobile\": \"415-234-5678\",\n \"OpeningBalances\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"OpeningBalanceDate\": \"/Date(322560000000+0000)/\",\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"Tax\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n },\n \"OrdinaryEarningsRateID\": \"5gj1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"PayTemplate\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ]\n },\n \"PayrollCalendarID\": \"2ee8e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"Phone\": \"415-555-1212\",\n \"StartDate\": \"/Date(320284900000+0000)/\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'TERMINATED')}}\",\n \"SuperMemberships\": [\n {\n \"EmployeeNumber\": 1234,\n \"SuperFundID\": \"2187a42b-639a-45cb-9eed-cd4ae488306a\",\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"TaxDeclaration\": {\n \"ApprovedWithholdingVariationPercentage\": 75,\n \"AustralianResidentForTaxPurposes\": true,\n \"EligibleToReceiveLeaveLoading\": {{faker 'datatype.boolean'}},\n \"EmployeeID\": \"123 Main St\",\n \"EmploymentBasis\": \"{{oneOf (array 'FULLTIME' 'PARTTIME' 'CASUAL' 'LABOURHIRE' 'SUPERINCOMESTREAM')}}\",\n \"HasHELPDebt\": {{faker 'datatype.boolean'}},\n \"HasSFSSDebt\": {{faker 'datatype.boolean'}},\n \"HasStudentStartupLoan\": true,\n \"HasTradeSupportLoanDebt\": {{faker 'datatype.boolean'}},\n \"ResidencyStatus\": \"{{oneOf (array 'AUSTRALIANRESIDENT' 'FOREIGNRESIDENT' 'WORKINGHOLIDAYMAKER')}}\",\n \"TFNExemptionType\": \"{{oneOf (array 'NOTQUOTED' 'PENDING' 'PENSIONER' 'UNDER18')}}\",\n \"TaxFileNumber\": 123123123,\n \"TaxFreeThresholdClaimed\": {{faker 'datatype.boolean'}},\n \"TaxOffsetEstimatedAmount\": 100,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"UpwardVariationTaxWithholdingAmount\": 50\n },\n \"TerminationDate\": \"/Date(1584662400000+0000)/\",\n \"Title\": \"Mrs\",\n \"TwitterUserName\": \"xeroapi\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c0fbbd56-9c0b-4594-b862-d20424ff49cb", "documentation": "Updates an employee's detail", "method": "post", "endpoint": "Employees/:EmployeeID", "responses": [ { "uuid": "948e9cb3-942c-400d-83c7-8968cb6b51fd", "body": "{\n \"Employees\": [\n {\n \"BankAccounts\": [\n {\n \"AccountName\": \"James Lebron Savings\",\n \"AccountNumber\": 345678,\n \"Amount\": 200,\n \"BSB\": 122344,\n \"Remainder\": {{faker 'datatype.boolean'}},\n \"StatementText\": \"Salary\"\n }\n ],\n \"Classification\": 99383,\n \"DateOfBirth\": \"/Date(322560000000+0000)/\",\n \"Email\": \"developer@me.com\",\n \"EmployeeGroupName\": \"marketing\",\n \"EmployeeID\": \"4ff1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"FirstName\": \"Karen\",\n \"Gender\": \"{{oneOf (array 'N' 'M' 'F' 'I')}}\",\n \"HomeAddress\": {\n \"AddressLine1\": \"123 Main St\",\n \"AddressLine2\": \"Apt 4\",\n \"City\": \"St. Kilda\",\n \"Country\": \"AUSTRALIA\",\n \"PostalCode\": 3182,\n \"Region\": \"{{oneOf (array 'ACT' 'NSW' 'NT' 'QLD' 'SA' 'TAS' 'VIC' 'WA')}}\"\n },\n \"IsAuthorisedToApproveLeave\": {{faker 'datatype.boolean'}},\n \"IsAuthorisedToApproveTimesheets\": true,\n \"JobTitle\": \"Manager\",\n \"LastName\": \"Jones\",\n \"LeaveBalances\": [\n {\n \"LeaveName\": \"Annual Leave\",\n \"LeaveTypeID\": \"544d9292-4329-4512-bfff-a9f15236d776\",\n \"NumberOfUnits\": 81.2602,\n \"TypeOfUnits\": \"Hours\"\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"MiddleNames\": \"Adena\",\n \"Mobile\": \"415-234-5678\",\n \"OpeningBalances\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"OpeningBalanceDate\": \"/Date(322560000000+0000)/\",\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"Tax\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n },\n \"OrdinaryEarningsRateID\": \"5gj1e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"PayTemplate\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"LeaveLines\": [\n {\n \"AnnualNumberOfUnits\": 2.5,\n \"CalculationType\": \"{{oneOf (array 'NOCALCULATIONREQUIRED' 'FIXEDAMOUNTEACHPERIOD' 'ENTERRATEINPAYTEMPLATE' 'BASEDONORDINARYEARNINGS' '')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"EntitlementFinalPayPayoutType\": \"{{oneOf (array 'NOTPAIDOUT' 'PAIDOUT')}}\",\n \"FullTimeNumberOfUnitsPerPeriod\": 2.5,\n \"IncludeSuperannuationGuaranteeContribution\": true,\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"NumberOfUnits\": 2.5\n }\n ],\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"SuperLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 478,\n \"LiabilityAccountCode\": 826,\n \"MinimumMonthlyEarnings\": 450,\n \"Percentage\": 9,\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ]\n },\n \"PayrollCalendarID\": \"2ee8e5cc-9835-40d5-bb18-09fdb118db9c\",\n \"Phone\": \"415-555-1212\",\n \"StartDate\": \"/Date(320284900000+0000)/\",\n \"Status\": \"{{oneOf (array 'ACTIVE' 'TERMINATED')}}\",\n \"SuperMemberships\": [\n {\n \"EmployeeNumber\": 1234,\n \"SuperFundID\": \"2187a42b-639a-45cb-9eed-cd4ae488306a\",\n \"SuperMembershipID\": \"4333d5cd-53a5-4c31-98e5-a8b4e5676b0b\"\n }\n ],\n \"TaxDeclaration\": {\n \"ApprovedWithholdingVariationPercentage\": 75,\n \"AustralianResidentForTaxPurposes\": true,\n \"EligibleToReceiveLeaveLoading\": {{faker 'datatype.boolean'}},\n \"EmployeeID\": \"123 Main St\",\n \"EmploymentBasis\": \"{{oneOf (array 'FULLTIME' 'PARTTIME' 'CASUAL' 'LABOURHIRE' 'SUPERINCOMESTREAM')}}\",\n \"HasHELPDebt\": {{faker 'datatype.boolean'}},\n \"HasSFSSDebt\": {{faker 'datatype.boolean'}},\n \"HasStudentStartupLoan\": true,\n \"HasTradeSupportLoanDebt\": {{faker 'datatype.boolean'}},\n \"ResidencyStatus\": \"{{oneOf (array 'AUSTRALIANRESIDENT' 'FOREIGNRESIDENT' 'WORKINGHOLIDAYMAKER')}}\",\n \"TFNExemptionType\": \"{{oneOf (array 'NOTQUOTED' 'PENDING' 'PENSIONER' 'UNDER18')}}\",\n \"TaxFileNumber\": 123123123,\n \"TaxFreeThresholdClaimed\": {{faker 'datatype.boolean'}},\n \"TaxOffsetEstimatedAmount\": 100,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"UpwardVariationTaxWithholdingAmount\": 50\n },\n \"TerminationDate\": \"/Date(1584662400000+0000)/\",\n \"Title\": \"Mrs\",\n \"TwitterUserName\": \"xeroapi\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b17b8b7b-d063-417e-83a3-5f7a31a092c1", "documentation": "Retrieves leave applications", "method": "get", "endpoint": "LeaveApplications", "responses": [ { "uuid": "2af2df8e-c2ca-4dba-94b5-3e5caf81bc6f", "body": "{\n \"LeaveApplications\": [\n {\n \"Description\": \"My leave\",\n \"EmployeeID\": \"fb4ebd68-6568-41eb-96ab-628a0f54b4b8\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"LeaveApplicationID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"LeavePeriods\": [\n {\n \"LeavePeriodStatus\": \"{{oneOf (array 'SCHEDULED' 'PROCESSED')}}\",\n \"NumberOfUnits\": 22.8,\n \"PayPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayPeriodStartDate\": \"/Date(322560000000+0000)/\"\n }\n ],\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Title\": \"Annual Leave\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b3310d40-7811-4849-8978-dc2785bc4ecf", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e618fbcd-105b-4baf-8472-a795bfd613ca", "documentation": "Creates a leave application", "method": "post", "endpoint": "LeaveApplications", "responses": [ { "uuid": "5828246d-0ebb-4d36-b167-47d7ac9aa14c", "body": "{\n \"LeaveApplications\": [\n {\n \"Description\": \"My leave\",\n \"EmployeeID\": \"fb4ebd68-6568-41eb-96ab-628a0f54b4b8\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"LeaveApplicationID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"LeavePeriods\": [\n {\n \"LeavePeriodStatus\": \"{{oneOf (array 'SCHEDULED' 'PROCESSED')}}\",\n \"NumberOfUnits\": 22.8,\n \"PayPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayPeriodStartDate\": \"/Date(322560000000+0000)/\"\n }\n ],\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Title\": \"Annual Leave\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "afa65556-f4cf-46c1-8ef2-5db7ca9e6705", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3cc35bdb-3f96-4f98-8093-da224c0e85cf", "documentation": "Retrieves a leave application by a unique leave application id", "method": "get", "endpoint": "LeaveApplications/:LeaveApplicationID", "responses": [ { "uuid": "9b4f2e12-20f7-4fd1-ab36-2130290a1b30", "body": "{\n \"LeaveApplications\": [\n {\n \"Description\": \"My leave\",\n \"EmployeeID\": \"fb4ebd68-6568-41eb-96ab-628a0f54b4b8\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"LeaveApplicationID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"LeavePeriods\": [\n {\n \"LeavePeriodStatus\": \"{{oneOf (array 'SCHEDULED' 'PROCESSED')}}\",\n \"NumberOfUnits\": 22.8,\n \"PayPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayPeriodStartDate\": \"/Date(322560000000+0000)/\"\n }\n ],\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Title\": \"Annual Leave\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d765c240-b8f6-4013-af60-3c8415e60ccb", "documentation": "Updates a specific leave application", "method": "post", "endpoint": "LeaveApplications/:LeaveApplicationID", "responses": [ { "uuid": "0818b061-ca38-44fb-9073-c7445aa9aecc", "body": "{\n \"LeaveApplications\": [\n {\n \"Description\": \"My leave\",\n \"EmployeeID\": \"fb4ebd68-6568-41eb-96ab-628a0f54b4b8\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"LeaveApplicationID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"LeavePeriods\": [\n {\n \"LeavePeriodStatus\": \"{{oneOf (array 'SCHEDULED' 'PROCESSED')}}\",\n \"NumberOfUnits\": 22.8,\n \"PayPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayPeriodStartDate\": \"/Date(322560000000+0000)/\"\n }\n ],\n \"LeaveTypeID\": \"742998cb-7584-4ecf-aa88-d694f59c50f9\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Title\": \"Annual Leave\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "337a9b82-212d-44d9-a187-8a2fc32461c6", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0684fcbc-bf55-4d0d-88d4-774f9ab827a4", "documentation": "Retrieves pay items", "method": "get", "endpoint": "PayItems", "responses": [ { "uuid": "e885eb80-cf28-4795-9c25-5be5b9415354", "body": "{\n \"PayItems\": {\n \"DeductionTypes\": [\n {\n \"AccountCode\": 720,\n \"CurrentRecord\": true,\n \"DeductionCategory\": \"{{oneOf (array 'NONE' 'UNIONFEES' 'WORKPLACEGIVING')}}\",\n \"DeductionTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"IsExemptFromW1\": {{faker 'datatype.boolean'}},\n \"Name\": \"PTO\",\n \"ReducesSuper\": {{faker 'datatype.boolean'}},\n \"ReducesTax\": {{faker 'datatype.boolean'}},\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"EarningsRates\": [\n {\n \"AccountCode\": 720,\n \"AccrueLeave\": {{faker 'datatype.boolean'}},\n \"AllowanceType\": \"{{oneOf (array 'CAR' 'TRANSPORT' 'TRAVEL' 'LAUNDRY' 'MEALS' 'JOBKEEPER' 'OTHER')}}\",\n \"Amount\": 50.3,\n \"CurrentRecord\": true,\n \"EarningsRateID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"EarningsType\": \"{{oneOf (array 'FIXED' 'ORDINARYTIMEEARNINGS' 'OVERTIMEEARNINGS' 'ALLOWANCE' 'LUMPSUMD' 'EMPLOYMENTTERMINATIONPAYMENT' 'LUMPSUMA' 'LUMPSUMB' 'BONUSESANDCOMMISSIONS' 'LUMPSUME')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"IsExemptFromSuper\": {{faker 'datatype.boolean'}},\n \"IsExemptFromTax\": {{faker 'datatype.boolean'}},\n \"IsReportableAsW1\": {{faker 'datatype.boolean'}},\n \"Multiplier\": 1.5,\n \"Name\": \"PTO\",\n \"RatePerUnit\": 10,\n \"RateType\": \"{{oneOf (array 'FIXEDAMOUNT' 'MULTIPLE' 'RATEPERUNIT')}}\",\n \"TypeOfUnits\": \"Fixed\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"LeaveTypes\": [\n {\n \"CurrentRecord\": true,\n \"IsPaidLeave\": true,\n \"LeaveLoadingRate\": 2,\n \"LeaveTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"Name\": \"PTO\",\n \"NormalEntitlement\": 152,\n \"ShowOnPayslip\": true,\n \"TypeOfUnits\": \"Hours\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"ReimbursementTypes\": [\n {\n \"AccountCode\": 720,\n \"CurrentRecord\": true,\n \"Name\": \"PTO\",\n \"ReimbursementTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9117330a-9baf-40ee-9d45-d56c98072de0", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1b16f661-7105-4f15-9fea-a032740a9647", "documentation": "Creates a pay item", "method": "post", "endpoint": "PayItems", "responses": [ { "uuid": "bd179ef6-b3ec-41b3-8dd6-70bac906a7a3", "body": "{\n \"PayItems\": {\n \"DeductionTypes\": [\n {\n \"AccountCode\": 720,\n \"CurrentRecord\": true,\n \"DeductionCategory\": \"{{oneOf (array 'NONE' 'UNIONFEES' 'WORKPLACEGIVING')}}\",\n \"DeductionTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"IsExemptFromW1\": {{faker 'datatype.boolean'}},\n \"Name\": \"PTO\",\n \"ReducesSuper\": {{faker 'datatype.boolean'}},\n \"ReducesTax\": {{faker 'datatype.boolean'}},\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"EarningsRates\": [\n {\n \"AccountCode\": 720,\n \"AccrueLeave\": {{faker 'datatype.boolean'}},\n \"AllowanceType\": \"{{oneOf (array 'CAR' 'TRANSPORT' 'TRAVEL' 'LAUNDRY' 'MEALS' 'JOBKEEPER' 'OTHER')}}\",\n \"Amount\": 50.3,\n \"CurrentRecord\": true,\n \"EarningsRateID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"EarningsType\": \"{{oneOf (array 'FIXED' 'ORDINARYTIMEEARNINGS' 'OVERTIMEEARNINGS' 'ALLOWANCE' 'LUMPSUMD' 'EMPLOYMENTTERMINATIONPAYMENT' 'LUMPSUMA' 'LUMPSUMB' 'BONUSESANDCOMMISSIONS' 'LUMPSUME')}}\",\n \"EmploymentTerminationPaymentType\": \"{{oneOf (array 'O' 'R')}}\",\n \"IsExemptFromSuper\": {{faker 'datatype.boolean'}},\n \"IsExemptFromTax\": {{faker 'datatype.boolean'}},\n \"IsReportableAsW1\": {{faker 'datatype.boolean'}},\n \"Multiplier\": 1.5,\n \"Name\": \"PTO\",\n \"RatePerUnit\": 10,\n \"RateType\": \"{{oneOf (array 'FIXEDAMOUNT' 'MULTIPLE' 'RATEPERUNIT')}}\",\n \"TypeOfUnits\": \"Fixed\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"LeaveTypes\": [\n {\n \"CurrentRecord\": true,\n \"IsPaidLeave\": true,\n \"LeaveLoadingRate\": 2,\n \"LeaveTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"Name\": \"PTO\",\n \"NormalEntitlement\": 152,\n \"ShowOnPayslip\": true,\n \"TypeOfUnits\": \"Hours\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"ReimbursementTypes\": [\n {\n \"AccountCode\": 720,\n \"CurrentRecord\": true,\n \"Name\": \"PTO\",\n \"ReimbursementTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A successful request - currently returns empty array for JSON", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "63475734-c64c-4169-8503-017e2fbcdaa9", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "16d4a421-be83-4054-8bb0-501ce9086c6c", "documentation": "Retrieves pay runs", "method": "get", "endpoint": "PayRuns", "responses": [ { "uuid": "2a4eed80-7391-4ae9-8622-e0d34c466079", "body": "{\n \"PayRuns\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"NetPay\": 862.5,\n \"PayRunID\": \"bba1d10f-63b1-4692-b5c5-a99f869523a4\",\n \"PayRunPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayRunPeriodStartDate\": \"/Date(322560000000+0000)/\",\n \"PayRunStatus\": \"{{oneOf (array 'DRAFT' 'POSTED')}}\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"PayslipMessage\": \"Thanks for being awesome\",\n \"Payslips\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"EmployeeGroup\": \"Marketing\",\n \"EmployeeID\": \"4729f087-8eec-49c1-8294-4d11a5a0a37c\",\n \"FirstName\": \"Karen\",\n \"LastName\": \"Jones\",\n \"NetPay\": 862.5,\n \"PayslipID\": \"f3c0874d-7cdd-459a-a95c-d90d51decc42\",\n \"Reimbursements\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"Wages\": 1060.5\n }\n ],\n \"Reimbursement\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Wages\": 1060.5\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "60a1fbb7-1340-4edf-b477-2a76cf76c326", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d80628bd-6529-4aaa-bd6f-7cf95d0ece37", "documentation": "Creates a pay run", "method": "post", "endpoint": "PayRuns", "responses": [ { "uuid": "2d8d8e11-82c5-4d8a-a3c1-f4002c1cc638", "body": "{\n \"PayRuns\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"NetPay\": 862.5,\n \"PayRunID\": \"bba1d10f-63b1-4692-b5c5-a99f869523a4\",\n \"PayRunPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayRunPeriodStartDate\": \"/Date(322560000000+0000)/\",\n \"PayRunStatus\": \"{{oneOf (array 'DRAFT' 'POSTED')}}\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"PayslipMessage\": \"Thanks for being awesome\",\n \"Payslips\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"EmployeeGroup\": \"Marketing\",\n \"EmployeeID\": \"4729f087-8eec-49c1-8294-4d11a5a0a37c\",\n \"FirstName\": \"Karen\",\n \"LastName\": \"Jones\",\n \"NetPay\": 862.5,\n \"PayslipID\": \"f3c0874d-7cdd-459a-a95c-d90d51decc42\",\n \"Reimbursements\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"Wages\": 1060.5\n }\n ],\n \"Reimbursement\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Wages\": 1060.5\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "02221df1-6e78-4841-8e00-9aa2354e77bf", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5ecb1d71-7ae4-4321-b4bd-666adb5a4d51", "documentation": "Retrieves a pay run by using a unique pay run id", "method": "get", "endpoint": "PayRuns/:PayRunID", "responses": [ { "uuid": "2efad6cd-340f-4ea7-940c-7ffae1cf45b9", "body": "{\n \"PayRuns\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"NetPay\": 862.5,\n \"PayRunID\": \"bba1d10f-63b1-4692-b5c5-a99f869523a4\",\n \"PayRunPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayRunPeriodStartDate\": \"/Date(322560000000+0000)/\",\n \"PayRunStatus\": \"{{oneOf (array 'DRAFT' 'POSTED')}}\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"PayslipMessage\": \"Thanks for being awesome\",\n \"Payslips\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"EmployeeGroup\": \"Marketing\",\n \"EmployeeID\": \"4729f087-8eec-49c1-8294-4d11a5a0a37c\",\n \"FirstName\": \"Karen\",\n \"LastName\": \"Jones\",\n \"NetPay\": 862.5,\n \"PayslipID\": \"f3c0874d-7cdd-459a-a95c-d90d51decc42\",\n \"Reimbursements\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"Wages\": 1060.5\n }\n ],\n \"Reimbursement\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Wages\": 1060.5\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e11a05ec-904f-4e27-a379-12b3e4a9aa4b", "documentation": "Updates a pay run", "method": "post", "endpoint": "PayRuns/:PayRunID", "responses": [ { "uuid": "829768f3-7861-471e-b51b-52507f4b8d76", "body": "{\n \"PayRuns\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"NetPay\": 862.5,\n \"PayRunID\": \"bba1d10f-63b1-4692-b5c5-a99f869523a4\",\n \"PayRunPeriodEndDate\": \"/Date(322560000000+0000)/\",\n \"PayRunPeriodStartDate\": \"/Date(322560000000+0000)/\",\n \"PayRunStatus\": \"{{oneOf (array 'DRAFT' 'POSTED')}}\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"PayslipMessage\": \"Thanks for being awesome\",\n \"Payslips\": [\n {\n \"Deductions\": {{faker 'number.float'}},\n \"EmployeeGroup\": \"Marketing\",\n \"EmployeeID\": \"4729f087-8eec-49c1-8294-4d11a5a0a37c\",\n \"FirstName\": \"Karen\",\n \"LastName\": \"Jones\",\n \"NetPay\": 862.5,\n \"PayslipID\": \"f3c0874d-7cdd-459a-a95c-d90d51decc42\",\n \"Reimbursements\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"Wages\": 1060.5\n }\n ],\n \"Reimbursement\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"Tax\": 198,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ],\n \"Wages\": 1060.5\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a9906440-0229-4a19-bb79-c648f7e82694", "documentation": "Retrieves payroll calendars", "method": "get", "endpoint": "PayrollCalendars", "responses": [ { "uuid": "1969dcc3-59ae-45b9-a041-290e32e67733", "body": "{\n \"PayrollCalendars\": [\n {\n \"CalendarType\": \"{{oneOf (array 'WEEKLY' 'FORTNIGHTLY' 'FOURWEEKLY' 'MONTHLY' 'TWICEMONTHLY' 'QUARTERLY')}}\",\n \"Name\": \"Fortnightly Calendar\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c12aab44-1347-435d-8a54-acb7ca3756f7", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a513f8e-4247-4697-9c7b-fb81ce83dffa", "documentation": "Creates a Payroll Calendar", "method": "post", "endpoint": "PayrollCalendars", "responses": [ { "uuid": "8d7c589a-f228-459f-ad47-79023fad3e05", "body": "{\n \"PayrollCalendars\": [\n {\n \"CalendarType\": \"{{oneOf (array 'WEEKLY' 'FORTNIGHTLY' 'FOURWEEKLY' 'MONTHLY' 'TWICEMONTHLY' 'QUARTERLY')}}\",\n \"Name\": \"Fortnightly Calendar\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4e85bba6-58ee-4632-89ce-e43a574197fd", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c9a83a92-f93e-41c2-9964-29c8dbc051fb", "documentation": "Retrieves payroll calendar by using a unique payroll calendar ID", "method": "get", "endpoint": "PayrollCalendars/:PayrollCalendarID", "responses": [ { "uuid": "5acc0779-6f6e-4313-a92a-aae637d2b7a4", "body": "{\n \"PayrollCalendars\": [\n {\n \"CalendarType\": \"{{oneOf (array 'WEEKLY' 'FORTNIGHTLY' 'FOURWEEKLY' 'MONTHLY' 'TWICEMONTHLY' 'QUARTERLY')}}\",\n \"Name\": \"Fortnightly Calendar\",\n \"PaymentDate\": \"/Date(322560000000+0000)/\",\n \"PayrollCalendarID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "768ead50-1066-4ea1-afa5-dff03355bbf4", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c6eaaa0a-80bd-4d1f-8a7a-a35bcdf3ef4a", "documentation": "Retrieves for a payslip by a unique payslip id", "method": "get", "endpoint": "Payslip/:PayslipID", "responses": [ { "uuid": "68b2f95b-3440-45d3-b36c-37e8f6006396", "body": "{\n \"Payslip\": {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"Deductions\": {{faker 'number.float'}},\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"EmployeeID\": \"4729f087-8eec-49c1-8294-4d11a5a0a37c\",\n \"FirstName\": \"Karen\",\n \"LastName\": \"Jones\",\n \"LeaveAccrualLines\": [\n {\n \"AutoCalculate\": true,\n \"LeaveTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"NumberOfUnits\": 105.5\n }\n ],\n \"LeaveEarningsLines\": [\n {\n \"EarningsRateID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"NumberOfUnits\": 2.5,\n \"RatePerUnit\": 38\n }\n ],\n \"NetPay\": 862.5,\n \"PayslipID\": \"f3c0874d-7cdd-459a-a95c-d90d51decc42\",\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"Reimbursements\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"SuperannuationLines\": [\n {\n \"Amount\": 10.5,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 450,\n \"LiabilityAccountCode\": 650,\n \"MinimumMonthlyEarnings\": 100.5,\n \"PaymentDateForThisPeriod\": \"/Date(322560000000+0000)/\",\n \"Percentage\": 4,\n \"SuperMembershipID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\"\n }\n ],\n \"Tax\": 198,\n \"TaxLines\": [\n {\n \"Amount\": 50,\n \"Description\": \"\",\n \"LiabilityAccount\": 620,\n \"ManualTaxType\": \"{{oneOf (array 'PAYGMANUAL' 'ETPOMANUAL' 'ETPRMANUAL' 'SCHEDULE5MANUAL' 'SCHEDULE5STSLMANUAL')}}\",\n \"PayslipTaxLineID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"TaxTypeName\": \"Manual Adjustment\"\n }\n ],\n \"TimesheetEarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"Wages\": 1060.5\n }\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3dbdef1c-a318-4643-ae0e-ff2c4ed93f45", "documentation": "Updates a payslip", "method": "post", "endpoint": "Payslip/:PayslipID", "responses": [ { "uuid": "bef9a2be-a0e2-425e-9b1b-45c26e179a58", "body": "{\n \"Payslips\": [\n {\n \"DeductionLines\": [\n {\n \"Amount\": 10,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PRETAX' 'POSTTAX')}}\",\n \"DeductionTypeID\": \"59cd9d04-4521-4cc3-93ac-7841651ff407\",\n \"NumberOfUnits\": 10,\n \"Percentage\": 10\n }\n ],\n \"Deductions\": {{faker 'number.float'}},\n \"EarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"EmployeeID\": \"4729f087-8eec-49c1-8294-4d11a5a0a37c\",\n \"FirstName\": \"Karen\",\n \"LastName\": \"Jones\",\n \"LeaveAccrualLines\": [\n {\n \"AutoCalculate\": true,\n \"LeaveTypeID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"NumberOfUnits\": 105.5\n }\n ],\n \"LeaveEarningsLines\": [\n {\n \"EarningsRateID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"NumberOfUnits\": 2.5,\n \"RatePerUnit\": 38\n }\n ],\n \"NetPay\": 862.5,\n \"PayslipID\": \"f3c0874d-7cdd-459a-a95c-d90d51decc42\",\n \"ReimbursementLines\": [\n {\n \"Amount\": 10,\n \"Description\": \"For the taxi\",\n \"ExpenseAccount\": 420,\n \"ReimbursementTypeID\": \"bd246b96-c637-4767-81cf-851ba8fa93c2\"\n }\n ],\n \"Reimbursements\": {{faker 'number.float'}},\n \"Super\": 75.6,\n \"SuperannuationLines\": [\n {\n \"Amount\": 10.5,\n \"CalculationType\": \"{{oneOf (array 'FIXEDAMOUNT' 'PERCENTAGEOFEARNINGS' 'STATUTORY')}}\",\n \"ContributionType\": \"{{oneOf (array 'SGC' 'SALARYSACRIFICE' 'EMPLOYERADDITIONAL' 'EMPLOYEE')}}\",\n \"ExpenseAccountCode\": 450,\n \"LiabilityAccountCode\": 650,\n \"MinimumMonthlyEarnings\": 100.5,\n \"PaymentDateForThisPeriod\": \"/Date(322560000000+0000)/\",\n \"Percentage\": 4,\n \"SuperMembershipID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\"\n }\n ],\n \"Tax\": 198,\n \"TaxLines\": [\n {\n \"Amount\": 50,\n \"Description\": \"\",\n \"LiabilityAccount\": 620,\n \"ManualTaxType\": \"{{oneOf (array 'PAYGMANUAL' 'ETPOMANUAL' 'ETPRMANUAL' 'SCHEDULE5MANUAL' 'SCHEDULE5STSLMANUAL')}}\",\n \"PayslipTaxLineID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"TaxTypeName\": \"Manual Adjustment\"\n }\n ],\n \"TimesheetEarningsLines\": [\n {\n \"Amount\": 38,\n \"AnnualSalary\": 40000,\n \"CalculationType\": \"{{oneOf (array 'USEEARNINGSRATE' 'ENTEREARNINGSRATE' 'ANNUALSALARY')}}\",\n \"EarningsRateID\": \"72e962d1-fcac-4083-8a71-742bb3e7ae14\",\n \"FixedAmount\": 2.5,\n \"NormalNumberOfUnits\": 38,\n \"NumberOfUnits\": 2.5,\n \"NumberOfUnitsPerWeek\": 38,\n \"RatePerUnit\": 38\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"Wages\": 1060.5\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request - currently returns empty array for JSON", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e5606b7b-d169-49b2-b823-f688f4dad665", "documentation": "Retrieves payroll settings", "method": "get", "endpoint": "Settings", "responses": [ { "uuid": "c9a1f618-a218-470b-b61e-927db6104629", "body": "{\n \"Settings\": {\n \"Accounts\": [\n {\n \"AccountID\": \"c56b19ef-75bf-45e8-98a4-e699a96609f7\",\n \"Code\": 420,\n \"Name\": \"General expenses\",\n \"Type\": \"{{oneOf (array 'BANK' 'CURRENT' 'CURRLIAB' 'DEPRECIATN' 'DIRECTCOSTS' 'EQUITY' 'EXPENSE' 'FIXED' 'INVENTORY' 'LIABILITY' 'NONCURRENT' 'OTHERINCOME' 'OVERHEADS' 'PREPAYMENT' 'REVENUE' 'SALES' 'TERMLIAB' 'PAYGLIABILITY' 'PAYG' 'SUPERANNUATIONEXPENSE' 'SUPERANNUATIONLIABILITY' 'WAGESEXPENSE' 'WAGESPAYABLELIABILITY')}}\"\n }\n ],\n \"DaysInPayrollYear\": 365,\n \"TrackingCategories\": {\n \"EmployeeGroups\": {\n \"TrackingCategoryID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"TrackingCategoryName\": \"\"\n },\n \"TimesheetCategories\": {\n \"TrackingCategoryID\": \"e0eb6747-7c17-4075-b804-989f8d4e5d39\",\n \"TrackingCategoryName\": \"\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "payroll settings", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0575cc19-0b4b-49b1-81c7-8a4c15ab852a", "documentation": "Retrieves superfund products", "method": "get", "endpoint": "SuperfundProducts", "responses": [ { "uuid": "8f25f09e-6ed8-46cd-9906-06ffd329c7de", "body": "{\n \"SuperFundProducts\": [\n {\n \"ABN\": 839182848805,\n \"ProductName\": \"MLC Navigator Retirement Plan - Superannuation Service (including Series 2) (MLC Superannuation Fund)\",\n \"SPIN\": \"NML0117AU\",\n \"USI\": 839182848805001\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bf7b102b-596a-4d11-ab95-67d7a7c94cef", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "908ff2e0-93ab-4ab6-b484-3d068228aea2", "documentation": "Retrieves superfunds", "method": "get", "endpoint": "Superfunds", "responses": [ { "uuid": "dce16421-3791-4248-98da-d450884b8dfa", "body": "{\n \"SuperFunds\": [\n {\n \"ABN\": 40022701955,\n \"AccountName\": \"Money account\",\n \"AccountNumber\": 234234234,\n \"BSB\": 234324,\n \"ElectronicServiceAddress\": 12345678,\n \"EmployerNumber\": 324324,\n \"Name\": \"MLC Navigator Retirement Plan - Superannuation Service (including Series 2) (MLC Superannuation Fund)\",\n \"SPIN\": 4545445454,\n \"SuperFundID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"Type\": \"{{oneOf (array 'REGULATED' 'SMSF')}}\",\n \"USI\": 40022701955001,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2fbd6f6a-ae7c-4025-a095-af15e8fe9dd9", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3722c89c-cda7-4b7f-9636-700e252828b9", "documentation": "Creates a superfund", "method": "post", "endpoint": "Superfunds", "responses": [ { "uuid": "8c986466-e4c0-4070-91f0-55bd3db06ef3", "body": "{\n \"SuperFunds\": [\n {\n \"ABN\": 40022701955,\n \"AccountName\": \"Money account\",\n \"AccountNumber\": 234234234,\n \"BSB\": 234324,\n \"ElectronicServiceAddress\": 12345678,\n \"EmployerNumber\": 324324,\n \"Name\": \"MLC Navigator Retirement Plan - Superannuation Service (including Series 2) (MLC Superannuation Fund)\",\n \"SPIN\": 4545445454,\n \"SuperFundID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"Type\": \"{{oneOf (array 'REGULATED' 'SMSF')}}\",\n \"USI\": 40022701955001,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "30960055-0818-495c-b27e-351448fed86b", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "293724da-af69-4d9d-9bf5-b9d83af4a841", "documentation": "Retrieves a superfund by using a unique superfund ID", "method": "get", "endpoint": "Superfunds/:SuperFundID", "responses": [ { "uuid": "62e126dc-c62f-4d59-9ed4-dda7e0a0d8d5", "body": "{\n \"SuperFunds\": [\n {\n \"ABN\": 40022701955,\n \"AccountName\": \"Money account\",\n \"AccountNumber\": 234234234,\n \"BSB\": 234324,\n \"ElectronicServiceAddress\": 12345678,\n \"EmployerNumber\": 324324,\n \"Name\": \"MLC Navigator Retirement Plan - Superannuation Service (including Series 2) (MLC Superannuation Fund)\",\n \"SPIN\": 4545445454,\n \"SuperFundID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"Type\": \"{{oneOf (array 'REGULATED' 'SMSF')}}\",\n \"USI\": 40022701955001,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0efbc38a-a998-4ab2-a5c9-9a6dcc853e6b", "documentation": "Updates a superfund", "method": "post", "endpoint": "Superfunds/:SuperFundID", "responses": [ { "uuid": "a087c735-6cba-488c-bb06-cb336c07f54d", "body": "{\n \"SuperFunds\": [\n {\n \"ABN\": 40022701955,\n \"AccountName\": \"Money account\",\n \"AccountNumber\": 234234234,\n \"BSB\": 234324,\n \"ElectronicServiceAddress\": 12345678,\n \"EmployerNumber\": 324324,\n \"Name\": \"MLC Navigator Retirement Plan - Superannuation Service (including Series 2) (MLC Superannuation Fund)\",\n \"SPIN\": 4545445454,\n \"SuperFundID\": \"bfac31bd-ea62-4fc8-a5e7-7965d9504b15\",\n \"Type\": \"{{oneOf (array 'REGULATED' 'SMSF')}}\",\n \"USI\": 40022701955001,\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "33f2e2f9-9e73-4819-8d80-8f84c1b65510", "documentation": "Retrieves timesheets", "method": "get", "endpoint": "Timesheets", "responses": [ { "uuid": "4e952345-6c1d-442b-bfc5-b9ae169c173f", "body": "{\n \"Timesheets\": [\n {\n \"EmployeeID\": \"72a0d0c2-0cf8-4f0b-ade1-33231f47b41b\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"Hours\": 31,\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Status\": \"{{oneOf (array 'DRAFT' 'PROCESSED' 'APPROVED' 'REJECTED' 'REQUESTED')}}\",\n \"TimesheetID\": \"049765fc-4506-48fb-bf88-3578dec0ec47\",\n \"TimesheetLines\": [\n {\n \"EarningsRateID\": \"966c5c77-2ef0-4320-b6a9-6c27b080ecc5\",\n \"NumberOfUnits\": [\n 3\n ],\n \"TrackingItemID\": \"ae777a87-5ef3-4fa0-a4f0-d10e1f13073a\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "031602ce-bfe9-47c8-9143-c5bce1395a73", "body": "{\n \"ErrorNumber\": 16,\n \"Message\": \"No property or field 'hi' exists in type 'Employee' (at index 0)\",\n \"Type\": \"QueryParseException\"\n}", "latency": 0, "statusCode": 400, "label": "validation error for a bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a39794e1-41e4-4273-b3e6-336853875399", "documentation": "Creates a timesheet", "method": "post", "endpoint": "Timesheets", "responses": [ { "uuid": "caf72569-cd09-4755-aa79-6d45195d297f", "body": "{\n \"Timesheets\": [\n {\n \"EmployeeID\": \"72a0d0c2-0cf8-4f0b-ade1-33231f47b41b\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"Hours\": 31,\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Status\": \"{{oneOf (array 'DRAFT' 'PROCESSED' 'APPROVED' 'REJECTED' 'REQUESTED')}}\",\n \"TimesheetID\": \"049765fc-4506-48fb-bf88-3578dec0ec47\",\n \"TimesheetLines\": [\n {\n \"EarningsRateID\": \"966c5c77-2ef0-4320-b6a9-6c27b080ecc5\",\n \"NumberOfUnits\": [\n 3\n ],\n \"TrackingItemID\": \"ae777a87-5ef3-4fa0-a4f0-d10e1f13073a\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a568a53a-02b0-48d0-87ca-505570bfac0f", "body": "", "latency": 0, "statusCode": 400, "label": "invalid input, object invalid - TODO", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6c7767ec-dfe8-4b77-9138-a443cb8d63c9", "documentation": "Retrieves a timesheet by using a unique timesheet id", "method": "get", "endpoint": "Timesheets/:TimesheetID", "responses": [ { "uuid": "44aac70e-457d-4579-bec1-a4ce949afd5e", "body": "{\n \"Timesheet\": {\n \"EmployeeID\": \"72a0d0c2-0cf8-4f0b-ade1-33231f47b41b\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"Hours\": 31,\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Status\": \"{{oneOf (array 'DRAFT' 'PROCESSED' 'APPROVED' 'REJECTED' 'REQUESTED')}}\",\n \"TimesheetID\": \"049765fc-4506-48fb-bf88-3578dec0ec47\",\n \"TimesheetLines\": [\n {\n \"EarningsRateID\": \"966c5c77-2ef0-4320-b6a9-6c27b080ecc5\",\n \"NumberOfUnits\": [\n 3\n ],\n \"TrackingItemID\": \"ae777a87-5ef3-4fa0-a4f0-d10e1f13073a\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "search results matching criteria", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "02194217-099d-4c08-b982-9038beeebde7", "documentation": "Updates a timesheet", "method": "post", "endpoint": "Timesheets/:TimesheetID", "responses": [ { "uuid": "3f55b806-c8ca-4f3b-b43c-277675414df3", "body": "{\n \"Timesheets\": [\n {\n \"EmployeeID\": \"72a0d0c2-0cf8-4f0b-ade1-33231f47b41b\",\n \"EndDate\": \"/Date(322560000000+0000)/\",\n \"Hours\": 31,\n \"StartDate\": \"/Date(322560000000+0000)/\",\n \"Status\": \"{{oneOf (array 'DRAFT' 'PROCESSED' 'APPROVED' 'REJECTED' 'REQUESTED')}}\",\n \"TimesheetID\": \"049765fc-4506-48fb-bf88-3578dec0ec47\",\n \"TimesheetLines\": [\n {\n \"EarningsRateID\": \"966c5c77-2ef0-4320-b6a9-6c27b080ecc5\",\n \"NumberOfUnits\": [\n 3\n ],\n \"TrackingItemID\": \"ae777a87-5ef3-4fa0-a4f0-d10e1f13073a\",\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\"\n }\n ],\n \"UpdatedDateUTC\": \"/Date(1583967733054+0000)/\",\n \"ValidationErrors\": [\n {\n \"Message\": \"\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A successful request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "76d6743a-b7dd-49ba-a44c-c6753da9f757" }, { "type": "route", "uuid": "9b63b9e9-3e65-4197-bc14-48add81a37f5" }, { "type": "route", "uuid": "a8790cb7-6aba-4e6c-9063-cb635361529e" }, { "type": "route", "uuid": "c0fbbd56-9c0b-4594-b862-d20424ff49cb" }, { "type": "route", "uuid": "b17b8b7b-d063-417e-83a3-5f7a31a092c1" }, { "type": "route", "uuid": "e618fbcd-105b-4baf-8472-a795bfd613ca" }, { "type": "route", "uuid": "3cc35bdb-3f96-4f98-8093-da224c0e85cf" }, { "type": "route", "uuid": "d765c240-b8f6-4013-af60-3c8415e60ccb" }, { "type": "route", "uuid": "0684fcbc-bf55-4d0d-88d4-774f9ab827a4" }, { "type": "route", "uuid": "1b16f661-7105-4f15-9fea-a032740a9647" }, { "type": "route", "uuid": "16d4a421-be83-4054-8bb0-501ce9086c6c" }, { "type": "route", "uuid": "d80628bd-6529-4aaa-bd6f-7cf95d0ece37" }, { "type": "route", "uuid": "5ecb1d71-7ae4-4321-b4bd-666adb5a4d51" }, { "type": "route", "uuid": "e11a05ec-904f-4e27-a379-12b3e4a9aa4b" }, { "type": "route", "uuid": "a9906440-0229-4a19-bb79-c648f7e82694" }, { "type": "route", "uuid": "3a513f8e-4247-4697-9c7b-fb81ce83dffa" }, { "type": "route", "uuid": "c9a83a92-f93e-41c2-9964-29c8dbc051fb" }, { "type": "route", "uuid": "c6eaaa0a-80bd-4d1f-8a7a-a35bcdf3ef4a" }, { "type": "route", "uuid": "3dbdef1c-a318-4643-ae0e-ff2c4ed93f45" }, { "type": "route", "uuid": "e5606b7b-d169-49b2-b823-f688f4dad665" }, { "type": "route", "uuid": "0575cc19-0b4b-49b1-81c7-8a4c15ab852a" }, { "type": "route", "uuid": "908ff2e0-93ab-4ab6-b484-3d068228aea2" }, { "type": "route", "uuid": "3722c89c-cda7-4b7f-9636-700e252828b9" }, { "type": "route", "uuid": "293724da-af69-4d9d-9bf5-b9d83af4a841" }, { "type": "route", "uuid": "0efbc38a-a998-4ab2-a5c9-9a6dcc853e6b" }, { "type": "route", "uuid": "33f2e2f9-9e73-4819-8d80-8f84c1b65510" }, { "type": "route", "uuid": "a39794e1-41e4-4273-b3e6-336853875399" }, { "type": "route", "uuid": "6c7767ec-dfe8-4b77-9138-a443cb8d63c9" }, { "type": "route", "uuid": "02194217-099d-4c08-b982-9038beeebde7" } ] }