{ "uuid": "15bb6240-43e9-4e16-a981-fd6025b07ee0", "lastMigration": 24, "name": "PayRun.IO", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "db552560-03e4-402f-9464-f514a359d796", "documentation": "Delete an Employer", "method": "delete", "endpoint": "Employer/:EmployerId", "responses": [ { "uuid": "c5fc673f-25d1-4f26-a271-433565967609", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "da4ff533-4ef0-4dac-afd7-dadd1874be45", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ed8ae456-b61d-4728-ad0f-c7de908d8351", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "55e00bff-9a58-4c2e-bc6f-80b97b8294ee", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "377e003c-0ca5-42c8-9b52-b8ec20f5fda0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "148c4ffb-dbe5-42d0-838d-c8778ed9ebf6", "documentation": "Gets the employer", "method": "get", "endpoint": "Employer/:EmployerId", "responses": [ { "uuid": "67f7c97e-98de-496b-8c39-8320dd4efab6", "body": "{\n \"Employer\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"ApprenticeshipLevyAllowance\": {{faker 'datatype.float'}},\n \"AutoEnrolment\": {\n \"Pension\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PrimaryEmail\": \"\",\n \"PrimaryFirstName\": \"\",\n \"PrimaryJobTitle\": \"\",\n \"PrimaryLastName\": \"\",\n \"PrimaryTelephone\": \"\",\n \"ReEnrolmentDayOffset\": {{faker 'datatype.number'}},\n \"ReEnrolmentMonthOffset\": {{faker 'datatype.number'}},\n \"SecondaryEmail\": \"\",\n \"SecondaryFirstName\": \"\",\n \"SecondaryJobTitle\": \"\",\n \"SecondaryLastName\": \"\",\n \"SecondaryTelephone\": \"\",\n \"StagingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n },\n \"BacsServiceUserNumber\": \"\",\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"CalculateApprenticeshipLevy\": {{faker 'datatype.boolean'}},\n \"ClaimEmploymentAllowance\": {{faker 'datatype.boolean'}},\n \"ClaimSmallEmployerRelief\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"HmrcSettings\": {\n \"AccountingOfficeRef\": \"\",\n \"COTAXRef\": \"\",\n \"ContactEmail\": \"\",\n \"ContactFax\": \"\",\n \"ContactFirstName\": \"\",\n \"ContactLastName\": \"\",\n \"ContactTelephone\": \"\",\n \"EmploymentAllowanceOverride\": {{faker 'datatype.float'}},\n \"Password\": \"\",\n \"SAUTR\": \"\",\n \"Sender\": \"{{oneOf (array 'Employer' 'Individual' 'Company' 'Agent' 'Bureau' 'Partnership' 'Trust' 'Government' 'ActingInCapacity' 'Other')}}\",\n \"SenderId\": \"\",\n \"StateAidSector\": \"{{oneOf (array 'Agriculture' 'FisheriesAquaculture' 'RoadTransport' 'Industrial' 'NotApplicable')}}\",\n \"TaxOfficeNumber\": \"\",\n \"TaxOfficeReference\": \"\"\n },\n \"MetaData\": {},\n \"Name\": \"\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employer object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6a42c540-36f8-4e42-9095-855194d02b30", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3295aaeb-8fa7-414f-98a2-01c85b870417", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5016e321-0d95-48f7-beac-0e380ee1ce71", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "abc1566f-a4e9-4ea6-8f9c-c295c4778fc6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9ca1184d-d507-4cfa-a732-eac0a6050ba3", "documentation": "Patches the employer", "method": "patch", "endpoint": "Employer/:EmployerId", "responses": [ { "uuid": "d2ba512b-d522-4adc-a63d-f130d71f02fd", "body": "{\n \"Employer\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"ApprenticeshipLevyAllowance\": {{faker 'datatype.float'}},\n \"AutoEnrolment\": {\n \"Pension\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PrimaryEmail\": \"\",\n \"PrimaryFirstName\": \"\",\n \"PrimaryJobTitle\": \"\",\n \"PrimaryLastName\": \"\",\n \"PrimaryTelephone\": \"\",\n \"ReEnrolmentDayOffset\": {{faker 'datatype.number'}},\n \"ReEnrolmentMonthOffset\": {{faker 'datatype.number'}},\n \"SecondaryEmail\": \"\",\n \"SecondaryFirstName\": \"\",\n \"SecondaryJobTitle\": \"\",\n \"SecondaryLastName\": \"\",\n \"SecondaryTelephone\": \"\",\n \"StagingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n },\n \"BacsServiceUserNumber\": \"\",\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"CalculateApprenticeshipLevy\": {{faker 'datatype.boolean'}},\n \"ClaimEmploymentAllowance\": {{faker 'datatype.boolean'}},\n \"ClaimSmallEmployerRelief\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"HmrcSettings\": {\n \"AccountingOfficeRef\": \"\",\n \"COTAXRef\": \"\",\n \"ContactEmail\": \"\",\n \"ContactFax\": \"\",\n \"ContactFirstName\": \"\",\n \"ContactLastName\": \"\",\n \"ContactTelephone\": \"\",\n \"EmploymentAllowanceOverride\": {{faker 'datatype.float'}},\n \"Password\": \"\",\n \"SAUTR\": \"\",\n \"Sender\": \"{{oneOf (array 'Employer' 'Individual' 'Company' 'Agent' 'Bureau' 'Partnership' 'Trust' 'Government' 'ActingInCapacity' 'Other')}}\",\n \"SenderId\": \"\",\n \"StateAidSector\": \"{{oneOf (array 'Agriculture' 'FisheriesAquaculture' 'RoadTransport' 'Industrial' 'NotApplicable')}}\",\n \"TaxOfficeNumber\": \"\",\n \"TaxOfficeReference\": \"\"\n },\n \"MetaData\": {},\n \"Name\": \"\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employer object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6dc7ac36-61b6-4deb-8698-18a4da4099c5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a93ddb9c-a100-4fb4-8531-a52421d38f89", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6a4f8eb1-6be4-4ea5-b1f9-c1782960a3ee", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "52e55440-9d82-4cd9-bbb9-33d413605f66", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "bc06a367-8d7e-4b78-8e5b-df6138e2d049", "documentation": "Updates the Employer", "method": "put", "endpoint": "Employer/:EmployerId", "responses": [ { "uuid": "fa9b5ea3-0fd6-4ca5-a95d-78af6c0f71b5", "body": "{\n \"Employer\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"ApprenticeshipLevyAllowance\": {{faker 'datatype.float'}},\n \"AutoEnrolment\": {\n \"Pension\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PrimaryEmail\": \"\",\n \"PrimaryFirstName\": \"\",\n \"PrimaryJobTitle\": \"\",\n \"PrimaryLastName\": \"\",\n \"PrimaryTelephone\": \"\",\n \"ReEnrolmentDayOffset\": {{faker 'datatype.number'}},\n \"ReEnrolmentMonthOffset\": {{faker 'datatype.number'}},\n \"SecondaryEmail\": \"\",\n \"SecondaryFirstName\": \"\",\n \"SecondaryJobTitle\": \"\",\n \"SecondaryLastName\": \"\",\n \"SecondaryTelephone\": \"\",\n \"StagingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n },\n \"BacsServiceUserNumber\": \"\",\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"CalculateApprenticeshipLevy\": {{faker 'datatype.boolean'}},\n \"ClaimEmploymentAllowance\": {{faker 'datatype.boolean'}},\n \"ClaimSmallEmployerRelief\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"HmrcSettings\": {\n \"AccountingOfficeRef\": \"\",\n \"COTAXRef\": \"\",\n \"ContactEmail\": \"\",\n \"ContactFax\": \"\",\n \"ContactFirstName\": \"\",\n \"ContactLastName\": \"\",\n \"ContactTelephone\": \"\",\n \"EmploymentAllowanceOverride\": {{faker 'datatype.float'}},\n \"Password\": \"\",\n \"SAUTR\": \"\",\n \"Sender\": \"{{oneOf (array 'Employer' 'Individual' 'Company' 'Agent' 'Bureau' 'Partnership' 'Trust' 'Government' 'ActingInCapacity' 'Other')}}\",\n \"SenderId\": \"\",\n \"StateAidSector\": \"{{oneOf (array 'Agriculture' 'FisheriesAquaculture' 'RoadTransport' 'Industrial' 'NotApplicable')}}\",\n \"TaxOfficeNumber\": \"\",\n \"TaxOfficeReference\": \"\"\n },\n \"MetaData\": {},\n \"Name\": \"\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employer object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "33a7f44a-8472-4e0e-8739-6260247366a5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b8a5cf2a-3910-4e0e-99f5-b4aed43b801c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "419c49e8-5d11-4766-97cc-dde2e3abd0f4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2cb5e07a-a8be-47ae-9924-162acda854ca", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c4e8fb36-75e5-4e08-a293-92ea5a06d83a", "documentation": "Delete an CIS line type", "method": "delete", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId", "responses": [ { "uuid": "baebd5de-2886-46f1-9bfc-91d437eef28c", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "dacd5b56-8742-4069-9f9a-6c4b82b76f4e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9cf0406c-b06f-4eb0-8cf2-d1ea75c5b61f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2b5268ec-8ffb-4e31-a8e7-39432e1a5bb5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2826e309-b8aa-421e-ae91-6c1baac44319", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0ad87f9f-807e-418c-83f9-e3e8f53b12c5", "documentation": "Get CIS line type from employer", "method": "get", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId", "responses": [ { "uuid": "89a90086-0ee2-4a9c-97c8-ba97c83603dc", "body": "{\n \"CisLineType\": {\n \"Description\": \"\",\n \"LineType\": \"\",\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"TaxTreatment\": \"{{oneOf (array 'Taxable' 'NonTaxable' 'Notional' 'Materials')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis line type object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "fb475eac-f569-4452-9fc7-3c708afa66cb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3005abbe-ef2f-40d3-998a-e5a0725be872", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6c647c27-03ee-4a10-ba8d-4693b844e3d8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cbcae157-4ace-4109-a2bc-591f9d56b439", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "896d7047-8212-43a9-bc87-97cbaa2936f8", "documentation": "Updates the CIS line type", "method": "put", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId", "responses": [ { "uuid": "e6893180-26e6-4fbb-9e76-f301d3aa74f9", "body": "{\n \"CisLineType\": {\n \"Description\": \"\",\n \"LineType\": \"\",\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"TaxTreatment\": \"{{oneOf (array 'Taxable' 'NonTaxable' 'Notional' 'Materials')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis line type object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d0bd7bab-7fee-410d-8088-1a7c0a006362", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "eeadf7a6-b1c0-4c17-80bd-38c1b958eedf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "75e93add-56ae-43bb-920a-bec70fe0d02f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e9ed94cb-9ce5-40ee-b239-752cab4b4853", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0094a4da-4a1e-4927-ab28-9a38db4fa11b", "documentation": "Delete CIS line type tag", "method": "delete", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId/Tag/:TagId", "responses": [ { "uuid": "d2cdafdd-e30f-420a-beae-53c3395c8c14", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "74f57ab6-cf0e-49da-99ad-f3ddce5fdf63", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "57af3522-1a4e-421e-8b29-b6c25a57c742", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "49bd04a2-1284-4fdb-86d6-9a7f49f79177", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cc3b2280-c13c-4a85-9942-f2d0b1076586", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b54d7a78-12fb-4d40-a79b-3179c58d0b09", "documentation": "Get CIS line type tag", "method": "get", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId/Tag/:TagId", "responses": [ { "uuid": "0b190979-0a73-42a3-8fd2-4b1bc9d32969", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "943a4cf4-be86-4cf4-81d4-44ae544b7b61", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2b894f29-b7f9-45fd-9682-4f7161195933", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2ecf1473-379f-4028-ab86-d31f3f80bd5e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "07cd65d0-4566-4f9e-a99d-9cf3cabaf614", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "032a5535-9971-40b7-a621-c009ff102f30", "documentation": "Insert CIS line type tag", "method": "put", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId/Tag/:TagId", "responses": [ { "uuid": "e6441764-47e5-4458-a854-9a8b4f3a6d6a", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d353fb08-924c-40ae-acd3-332e690a30da", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e193cd81-3ec5-47d9-9678-9dcaf4f18cf0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8aa2da8f-a94f-4c93-ba46-17b65fcb1fe7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8e8aa3de-f680-4d7e-866a-885c212cb034", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "da0c6e72-59e7-463f-af7d-b2f2e5ea0309", "documentation": "Get all tags from the CIS line type", "method": "get", "endpoint": "Employer/:EmployerId/CisLineType/:CisLineTypeId/Tags", "responses": [ { "uuid": "29b50b7f-4741-4d52-af1b-b65904bcc613", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "156ec4ff-ae55-4727-9a20-6adc31ddb7d0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ce338df2-c01f-49ec-827b-554497ea9720", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "888745c5-5530-4ce3-877a-0f5d9960154f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "34a65f48-5de0-42b1-b8aa-de21695d7fc1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c953f163-e3d6-428c-adbb-9d3c6bd13368", "documentation": "Get CIS line types from employer.", "method": "get", "endpoint": "Employer/:EmployerId/CisLineTypes", "responses": [ { "uuid": "8f72dde5-582f-4cba-907d-0f4416fc980f", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d88962f4-436e-4808-9469-2a6b4f638608", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "95e787ad-96e3-489d-9e4d-a9f5d953b45a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "abca4690-23fe-4dc6-ad46-199588465240", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9df90b3f-a16b-4fd8-8212-02aff3bf74d0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c30ff09a-b8a4-4dda-a51b-b64140608f54", "documentation": "Create a new CIS line type", "method": "post", "endpoint": "Employer/:EmployerId/CisLineTypes", "responses": [ { "uuid": "cfcd15fa-7dbc-488f-9540-fe1eb7c08bf3", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "810c65e7-4c13-4039-9284-baab91faecc6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "52cbd71d-aa9e-41cc-a853-4e7f9d7f417d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2caedf6b-0532-46eb-b2b8-4da721349671", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "284b1b9b-69a9-4dba-acc6-3feb6d66b10d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "466cd1c4-9c26-4652-918b-7cc12d89b9f9", "documentation": "Get CIS line types with tag", "method": "get", "endpoint": "Employer/:EmployerId/CisLineTypes/Tag/:TagId", "responses": [ { "uuid": "12420ea5-6ee0-4234-8455-d5d11a194dcf", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "28e047a3-5fcb-432e-ac7f-53cbadb125de", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "961c8e76-eea8-4199-b310-4b0a4e3528c2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "34a450ff-2601-4942-a6e8-7554eaf72b41", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b1225ce3-6c7c-49ed-8fe4-405028fb8a10", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e01add1f-9bc1-4aaa-87cc-cc35ae82f494", "documentation": "Get all CIS line type tags", "method": "get", "endpoint": "Employer/:EmployerId/CisLineTypes/Tags", "responses": [ { "uuid": "f73c4fd7-cab8-467b-b99a-9ddab01961f1", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "ee38a5b3-3ac0-42b1-8985-29aabf805957", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8df80ad5-2b18-43e9-ae86-8f8edfd9ceb6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "155bba1f-d9d0-46cb-a93b-04eec58491b9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b7afa816-dfe7-4a76-8381-01685fa9811b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "33241c49-c4f6-4dcb-a71a-73aaa5fecf0a", "documentation": "Delete the CIS transaction", "method": "delete", "endpoint": "Employer/:EmployerId/CisTransaction/:CisTransactionId", "responses": [ { "uuid": "4a48611a-00fc-472a-8bdb-fe6929978b9d", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "dc8672d1-a2f7-47b5-be75-ea0dd1fe3a8f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "18b5b67d-5a25-4c83-bc86-fcc5f25c417c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "480d85ce-f813-4dae-b96d-f24b2b358ef2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "62bb0bfa-abc7-442b-b3e1-0b262ca6ce1a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "90417126-11a7-40f1-ac1f-5a2e9c4c170d", "documentation": "Get the CIS transaction", "method": "get", "endpoint": "Employer/:EmployerId/CisTransaction/:CisTransactionId", "responses": [ { "uuid": "0d593e0a-0084-49db-b184-2c6386de10cf", "body": "{\n \"CisTransaction\": {\n \"CisMessageType\": \"{{oneOf (array 'Verification' 'Return')}}\",\n \"EmployerCore\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"RequestData\": \"\",\n \"ResponseData\": \"\",\n \"TaxYear\": {{faker 'datatype.number'}},\n \"Timestamp\": \"{{faker 'date.recent' 365}}\",\n \"TransactionStatus\": \"{{oneOf (array 'New' 'RequestGenerated' 'CompletedWithError' 'CompletedWithSuccess' 'TimeOut')}}\",\n \"TransmissionDate\": \"{{faker 'date.recent' 365}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis transaction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e24693d4-53ba-4108-bcc9-e142dfe3f6b5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fd0130cf-1c1d-4c88-81f2-683630663786", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "58ad90b7-23e9-492c-b653-f6d64cc91171", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9574e4b6-8580-4b81-9cfe-6866373fd28e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "09d32aa9-b0ef-46dd-863f-a331129450d7", "documentation": "Get all CIS transactions for the employer", "method": "get", "endpoint": "Employer/:EmployerId/CisTransactions", "responses": [ { "uuid": "248b606d-a43c-48c7-bd23-064ec23a23fc", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "79c15819-cc5a-4129-95ec-c82f705543ad", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d9cc7da1-191b-41b2-8629-1081cb87d5b8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "96a33b7e-9d85-4318-8369-b8639c948c98", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "819f75aa-2632-4c4a-9e20-185975a7ad05", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "739afcfc-ce30-4ee6-9ef5-781e680029ee", "documentation": "Deletes the DPS message", "method": "delete", "endpoint": "Employer/:EmployerId/DpsMessage/:DpsMessageId", "responses": [ { "uuid": "57d2c45c-c2d1-495b-a890-65bc3a83c4c0", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3de3ecf1-eaff-4c4f-8329-271e27881223", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4937b7b5-1fdb-44bb-b04e-a39596b091c4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0dc17f4c-0454-4a15-825b-0931a3da516d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "85e0af7b-abe8-452d-9bbb-3722660e40c2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "fec3b47a-b5d1-40ec-97f4-7dcd8d564a59", "documentation": "Gets the DPS message", "method": "get", "endpoint": "Employer/:EmployerId/DpsMessage/:DpsMessageId", "responses": [ { "uuid": "c605aee0-c86e-4760-bc59-46f287a837ab", "body": "{\n \"DpsMessage\": {\n \"FormType\": \"\",\n \"IssueDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"LastUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Message\": \"\",\n \"MessageStatus\": \"{{oneOf (array 'Retrieved' 'Applied' 'Unresolved' 'Ignored' 'Information')}}\",\n \"MessageType\": \"\",\n \"ProcessingResult\": \"\",\n \"RetrieveDate\": \"{{faker 'date.recent' 365}}\",\n \"SequenceNumber\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The dps message object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "fdeab24d-c5f8-434f-8fb5-6d15b53bca3b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3e0164fd-6de9-4ca0-b619-c4a88a77cac8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "db728f40-05ce-4f0b-8821-93716d569ac0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a7d1ae68-76ae-492b-a790-617ed337e206", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e74f86a3-33e4-4412-ac48-fc68797fa17a", "documentation": "Patches the DPS message", "method": "patch", "endpoint": "Employer/:EmployerId/DpsMessage/:DpsMessageId", "responses": [ { "uuid": "96a7537c-23ac-4980-ac6a-62b33897c042", "body": "{\n \"DpsMessage\": {\n \"FormType\": \"\",\n \"IssueDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"LastUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Message\": \"\",\n \"MessageStatus\": \"{{oneOf (array 'Retrieved' 'Applied' 'Unresolved' 'Ignored' 'Information')}}\",\n \"MessageType\": \"\",\n \"ProcessingResult\": \"\",\n \"RetrieveDate\": \"{{faker 'date.recent' 365}}\",\n \"SequenceNumber\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The dps message object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e7938590-9eab-4254-ad7b-e3c885434987", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0459364d-1ccd-4e19-a9b0-3b98dc8606e4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a1bf8fdf-ca4e-4cdf-97fd-53cfaefdb745", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "15ba8438-bda8-4981-aca8-fde24afc10c4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0949f0b8-2677-4774-abbe-4a49c9143b96", "documentation": "Puts the DPS message", "method": "put", "endpoint": "Employer/:EmployerId/DpsMessage/:DpsMessageId", "responses": [ { "uuid": "9aa52222-9673-4c74-af23-19f78774ca37", "body": "{\n \"DpsMessage\": {\n \"FormType\": \"\",\n \"IssueDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"LastUpdated\": \"{{faker 'date.recent' 365}}\",\n \"Message\": \"\",\n \"MessageStatus\": \"{{oneOf (array 'Retrieved' 'Applied' 'Unresolved' 'Ignored' 'Information')}}\",\n \"MessageType\": \"\",\n \"ProcessingResult\": \"\",\n \"RetrieveDate\": \"{{faker 'date.recent' 365}}\",\n \"SequenceNumber\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 201, "label": "The dps message object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9784323b-37bc-4219-a36c-0c3f306b7c39", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5bdbae38-df1c-4eca-9a5d-f757675ba2f8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "18617b19-ab63-4659-8c16-68ea3c2a89cb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fcf6a270-382c-42d5-b289-e48aa3ec723b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "74d2462e-f275-4315-aba8-3c0bdd0c64ca", "documentation": "Gets the DPS messages", "method": "get", "endpoint": "Employer/:EmployerId/DpsMessages", "responses": [ { "uuid": "582ca246-124c-4ac3-b3fe-49203091f417", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "81774696-a910-42b0-8b05-e4f3d2e7a8b0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "945525c5-a76e-4671-b3ea-3c641c409990", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5c4afc67-e3fb-44d0-bb91-64b25e76434a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f69395b2-3c5d-4ad1-bd4f-6629cb194ede", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ec286923-738d-421d-b37f-a549663f47d0", "documentation": "Posta the DPS message", "method": "post", "endpoint": "Employer/:EmployerId/DpsMessages", "responses": [ { "uuid": "7101b0ca-cce3-4aee-8b6f-6e362bde0096", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "57ff307a-8d42-499f-a91d-89b5b69ad9ee", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bda356f0-e557-4bfc-bce5-d8a6e50f4a77", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c82ecc0d-2e10-4099-8c31-8766971913f5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6f5b4aaa-cc12-433e-9185-395cdc4491f1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "febb2428-5d88-4a40-aced-3610704f245e", "documentation": "Delete an Employee", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId", "responses": [ { "uuid": "ba86faeb-9ff7-43ff-87ea-b7f8162f3cd1", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "f2fe38d7-1161-4a4e-90e4-1d810a3d0165", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8d4d6bb6-e7ad-49f1-b19b-f7035603227a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "af626366-047c-4c1c-a865-0fda5a4d2b96", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "675b27c4-f12c-4500-a87b-e4f0d5059213", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "65e58ff0-0877-4407-bd70-a5824a19c7a4", "documentation": "Get employee from employer", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId", "responses": [ { "uuid": "5bbed49d-121e-4a41-b74a-6154cdb4aacc", "body": "{\n \"Employee\": {\n \"AEAssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AEAssessmentOverrideDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AEExclusionReasonCode\": \"{{oneOf (array 'OtherNotKnown' 'NotAWorker' 'NotUKWorker' 'TemporaryUKWorker' 'OutsideAgeRange' 'SingleEmployeeDirector' 'CeasedMembershipWithin12Months' 'CeasedMembershipBeyond12Months' 'WorkerWULSWithin12Month' 'WorkerWULSBeyond12Month' 'WorkerInNoticePeriod' 'WorkerTaxProtection')}}\",\n \"AEPostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"Code\": \"\",\n \"DateOfBirth\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"DirectorshipAppointmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EEACitizen\": {{faker 'datatype.boolean'}},\n \"EPM6\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeePartner\": {\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MiddleName\": \"\",\n \"NiNumber\": \"\"\n },\n \"FirstName\": \"\",\n \"Gender\": \"{{oneOf (array 'Unknown' 'Male' 'Female')}}\",\n \"HoursPerWeek\": {{faker 'datatype.float'}},\n \"Initials\": \"\",\n \"IrregularEmployment\": {{faker 'datatype.boolean'}},\n \"IsAgencyWorker\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"LeaverReason\": \"{{oneOf (array 'Resigned' 'Dismissed' 'Redundant' 'Retired' 'Deceased' 'LegalCustody' 'Other')}}\",\n \"LeavingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaritalStatus\": \"{{oneOf (array 'NotSet' 'Single' 'Married' 'Divorced' 'Widowed')}}\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"NicLiability\": \"{{oneOf (array 'HasOtherJob' 'IsFemaleEntitledToReducedRate' 'IsNotLiable' 'IsContractedOut' 'IsFullyLiable' 'IsApprentice' 'LeaverBeyond6Weeks' 'PaymentAfterLeaving')}}\",\n \"OffPayrollWorker\": {{faker 'datatype.boolean'}},\n \"OnStrike\": {{faker 'datatype.boolean'}},\n \"PassportNumber\": \"\",\n \"PaySchedule\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"PaymentToANonIndividual\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Seconded\": \"{{oneOf (array 'NotSet' 'Stay183DaysOrMore' 'StayLessThan183Days' 'InOutUk')}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StarterDeclaration\": \"{{oneOf (array 'PreviouslyReported' 'A' 'B' 'C')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"WorkingWeek\": \"{{oneOf (array 'None' 'Monday' 'Tuesday' 'Wednesday' 'Thursday' 'Friday' 'AllWeekDays' 'Saturday' 'Sunday' 'AllDays')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employee object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "52e3ef18-603b-4199-b1fe-e2ef7b43178d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "78850c58-50fd-4732-9570-9f7c6f7df313", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9b0de478-bf5f-43b2-9a4a-d72740c059ec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "41dd7208-a863-4311-a752-604a291dcd12", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "49d16894-1fd7-4860-bf58-e38ddf470a0d", "documentation": "Patches the employee", "method": "patch", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId", "responses": [ { "uuid": "08964b74-33f5-44af-80c0-eee7de565736", "body": "{\n \"Employee\": {\n \"AEAssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AEAssessmentOverrideDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AEExclusionReasonCode\": \"{{oneOf (array 'OtherNotKnown' 'NotAWorker' 'NotUKWorker' 'TemporaryUKWorker' 'OutsideAgeRange' 'SingleEmployeeDirector' 'CeasedMembershipWithin12Months' 'CeasedMembershipBeyond12Months' 'WorkerWULSWithin12Month' 'WorkerWULSBeyond12Month' 'WorkerInNoticePeriod' 'WorkerTaxProtection')}}\",\n \"AEPostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"Code\": \"\",\n \"DateOfBirth\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"DirectorshipAppointmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EEACitizen\": {{faker 'datatype.boolean'}},\n \"EPM6\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeePartner\": {\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MiddleName\": \"\",\n \"NiNumber\": \"\"\n },\n \"FirstName\": \"\",\n \"Gender\": \"{{oneOf (array 'Unknown' 'Male' 'Female')}}\",\n \"HoursPerWeek\": {{faker 'datatype.float'}},\n \"Initials\": \"\",\n \"IrregularEmployment\": {{faker 'datatype.boolean'}},\n \"IsAgencyWorker\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"LeaverReason\": \"{{oneOf (array 'Resigned' 'Dismissed' 'Redundant' 'Retired' 'Deceased' 'LegalCustody' 'Other')}}\",\n \"LeavingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaritalStatus\": \"{{oneOf (array 'NotSet' 'Single' 'Married' 'Divorced' 'Widowed')}}\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"NicLiability\": \"{{oneOf (array 'HasOtherJob' 'IsFemaleEntitledToReducedRate' 'IsNotLiable' 'IsContractedOut' 'IsFullyLiable' 'IsApprentice' 'LeaverBeyond6Weeks' 'PaymentAfterLeaving')}}\",\n \"OffPayrollWorker\": {{faker 'datatype.boolean'}},\n \"OnStrike\": {{faker 'datatype.boolean'}},\n \"PassportNumber\": \"\",\n \"PaySchedule\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"PaymentToANonIndividual\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Seconded\": \"{{oneOf (array 'NotSet' 'Stay183DaysOrMore' 'StayLessThan183Days' 'InOutUk')}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StarterDeclaration\": \"{{oneOf (array 'PreviouslyReported' 'A' 'B' 'C')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"WorkingWeek\": \"{{oneOf (array 'None' 'Monday' 'Tuesday' 'Wednesday' 'Thursday' 'Friday' 'AllWeekDays' 'Saturday' 'Sunday' 'AllDays')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employee object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a4860488-39e5-4ac0-b2bd-73988dcaf8ea", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "18455362-abda-414d-8a41-32aeffed62ce", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1188bbfb-a194-40fb-b02b-334b4efc3e64", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c48864fd-1ffc-4e1b-8355-607ec5578c80", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ec3835ae-33d6-47d6-9c7e-c4d8ee384622", "documentation": "Updates the Employee", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId", "responses": [ { "uuid": "203c3e62-399e-460a-a4aa-ad450810718f", "body": "{\n \"Employee\": {\n \"AEAssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AEAssessmentOverrideDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AEExclusionReasonCode\": \"{{oneOf (array 'OtherNotKnown' 'NotAWorker' 'NotUKWorker' 'TemporaryUKWorker' 'OutsideAgeRange' 'SingleEmployeeDirector' 'CeasedMembershipWithin12Months' 'CeasedMembershipBeyond12Months' 'WorkerWULSWithin12Month' 'WorkerWULSBeyond12Month' 'WorkerInNoticePeriod' 'WorkerTaxProtection')}}\",\n \"AEPostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"Code\": \"\",\n \"DateOfBirth\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"DirectorshipAppointmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EEACitizen\": {{faker 'datatype.boolean'}},\n \"EPM6\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeePartner\": {\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MiddleName\": \"\",\n \"NiNumber\": \"\"\n },\n \"FirstName\": \"\",\n \"Gender\": \"{{oneOf (array 'Unknown' 'Male' 'Female')}}\",\n \"HoursPerWeek\": {{faker 'datatype.float'}},\n \"Initials\": \"\",\n \"IrregularEmployment\": {{faker 'datatype.boolean'}},\n \"IsAgencyWorker\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"LeaverReason\": \"{{oneOf (array 'Resigned' 'Dismissed' 'Redundant' 'Retired' 'Deceased' 'LegalCustody' 'Other')}}\",\n \"LeavingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaritalStatus\": \"{{oneOf (array 'NotSet' 'Single' 'Married' 'Divorced' 'Widowed')}}\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"NicLiability\": \"{{oneOf (array 'HasOtherJob' 'IsFemaleEntitledToReducedRate' 'IsNotLiable' 'IsContractedOut' 'IsFullyLiable' 'IsApprentice' 'LeaverBeyond6Weeks' 'PaymentAfterLeaving')}}\",\n \"OffPayrollWorker\": {{faker 'datatype.boolean'}},\n \"OnStrike\": {{faker 'datatype.boolean'}},\n \"PassportNumber\": \"\",\n \"PaySchedule\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"PaymentToANonIndividual\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Seconded\": \"{{oneOf (array 'NotSet' 'Stay183DaysOrMore' 'StayLessThan183Days' 'InOutUk')}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StarterDeclaration\": \"{{oneOf (array 'PreviouslyReported' 'A' 'B' 'C')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"WorkingWeek\": \"{{oneOf (array 'None' 'Monday' 'Tuesday' 'Wednesday' 'Thursday' 'Friday' 'AllWeekDays' 'Saturday' 'Sunday' 'AllDays')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employee object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a7554c89-0bb9-4050-9e7b-684a056668f2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e2f60f01-133d-4bdf-b8ff-5e143213c462", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1df5d2f9-f31d-4b34-a866-d40bf2831d57", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1c771c3e-ece1-44c1-9323-c882db91d222", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "08e45ff5-75b7-4edd-8dac-62b3ecf544d6", "documentation": "Delete auto enrolment assessment", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/AEAssessment/:AEAssessmentId", "responses": [ { "uuid": "a7cdc6d1-fb84-4528-bd39-e0efcd03713e", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9879662d-4620-47d7-ad12-35404af7ffc7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d2546893-4567-4bcb-8f74-79d97e3decef", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3fedbae1-eebd-4f13-853f-a8dd4aa27cd5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e2db9617-1d26-47da-b42a-b8a9ae1e905b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "eca62ea7-c6de-49c1-897e-164ba4dc2fc2", "documentation": "Get the auto enrolment assessment", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/AEAssessment/:AEAssessmentId", "responses": [ { "uuid": "47e9e5a7-7f60-43c1-8696-fb60c8d09bc5", "body": "{\n \"AEAssessment\": {\n \"Age\": {{faker 'datatype.number'}},\n \"AssessmentCode\": \"{{oneOf (array 'Excluded' 'EligibleJobHolder' 'NonEligibleJobHolder' 'EntitledWorker')}}\",\n \"AssessmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AssessmentEvent\": \"{{oneOf (array 'NonEnrolmentEvent' 'AutomaticEnrolment' 'OptIn' 'VoluntaryJoiner' 'ContractualEnrolment')}}\",\n \"AssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AssessmentResult\": \"{{oneOf (array 'Inconclusive' 'NoChange' 'Enrol' 'Exit')}}\",\n \"IsMemberOfAlternativePensionScheme\": {{faker 'datatype.boolean'}},\n \"OptOutWindowEndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"QualifyingEarnings\": {{faker 'datatype.float'}},\n \"ReenrolmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StatePensionAge\": {{faker 'datatype.number'}},\n \"StatePensionDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"TaxPeriod\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The a e assessment object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3def2013-708f-427b-9c7a-767309f07baa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cedb4a55-3174-44a2-8619-ed5003bc0a5c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "214f9edc-cb78-4642-8bbc-fc2a576bdfae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "753936c5-6997-43ec-98fe-5b0c3a4db02c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "893f770f-ff8d-424a-889b-1cee317ec89c", "documentation": "Insert new auto enrolment assessment", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/AEAssessment/:AEAssessmentId", "responses": [ { "uuid": "4f189061-1dd2-437e-828b-4c890a555dff", "body": "{\n \"AEAssessment\": {\n \"Age\": {{faker 'datatype.number'}},\n \"AssessmentCode\": \"{{oneOf (array 'Excluded' 'EligibleJobHolder' 'NonEligibleJobHolder' 'EntitledWorker')}}\",\n \"AssessmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AssessmentEvent\": \"{{oneOf (array 'NonEnrolmentEvent' 'AutomaticEnrolment' 'OptIn' 'VoluntaryJoiner' 'ContractualEnrolment')}}\",\n \"AssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AssessmentResult\": \"{{oneOf (array 'Inconclusive' 'NoChange' 'Enrol' 'Exit')}}\",\n \"IsMemberOfAlternativePensionScheme\": {{faker 'datatype.boolean'}},\n \"OptOutWindowEndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"QualifyingEarnings\": {{faker 'datatype.float'}},\n \"ReenrolmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StatePensionAge\": {{faker 'datatype.number'}},\n \"StatePensionDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"TaxPeriod\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The a e assessment object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "7c05148d-e282-4f0f-a32a-7c0657e65f6c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "da64098a-bee4-482f-9745-a622e78902ce", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c6704e20-81f1-4300-85bf-5d019144c223", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5fcb4ae9-1da6-47dd-9ee1-7927367db61c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "956bec2a-e2fb-4254-b4f5-18bc15a9cdd4", "documentation": "Get the auto enrolment assessments", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/AEAssessments", "responses": [ { "uuid": "36ebe116-a586-4ff8-8fa7-294a5571aac7", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a9631c9f-169f-42bd-a29d-22be9f443942", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8c92b289-1218-4234-b761-1f4198cd0185", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "90585ab9-b889-4d72-9320-b8edf3cc99da", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9a46ecf3-71d7-408d-b32f-398ed651d092", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "53a278d8-9c9b-43b2-aa9e-4c5ad3224e6b", "documentation": "Insert new auto enrolment assessment", "method": "post", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/AEAssessments", "responses": [ { "uuid": "56ad8880-335d-4ec6-b6e8-0484d25dbb74", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3f30a97b-e026-4b21-af64-342a28440a7e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0d348f5a-8aa6-4a3a-9628-63d4f3b2bd07", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1dd462b2-65d6-4c05-b908-83cf363597fe", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7456ca6a-5bca-443b-9749-65ae67ceb7e1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3e3c499f-54e1-4e55-94d9-0fb923fd364d", "documentation": "Get links to all commentaries for the specified employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Commentaries", "responses": [ { "uuid": "b0c753aa-aa8d-4eca-aad2-0f029948ceb2", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a14bc7c7-5cc6-4a6f-8125-5529e8e1cea1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b8b27a63-ea0a-45bc-8a4c-6abf75e357ec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "465b1586-8ebc-4bc1-80c8-74b7c21e6169", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3cdd00b1-d79b-4d92-8855-96a34aec8b47", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9938e6a9-8a41-453b-a8b1-d3a93ab71253", "documentation": "Get commentary from employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Commentary/:CommentaryId", "responses": [ { "uuid": "079a23e9-3555-4924-80e7-261321cbd455", "body": "{\n \"Commentary\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"Detail\": \"\",\n \"Employee\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PayRun\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The commentary object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "80010fbb-83e0-4246-91dc-4c8f613f6c2a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5ce33eb3-f240-4f7c-ae21-e8e3375c7090", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a2185f78-7902-495f-bbd2-b55a10165697", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7e0698b3-0ba2-416b-9bae-45778209aa88", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3b863720-2f92-4a80-a37f-748bcfb218f9", "documentation": "Gets the journal Lines from the specified employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/JournalLines", "responses": [ { "uuid": "d8bf1f5b-a0d6-46eb-a7e7-834a74cf0aeb", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "b19e889f-0b6a-4af9-86b2-508e899c290a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "42193446-08e8-407d-a205-d504df07da09", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ebe3ef51-e57e-455e-95b7-14bc5b0dd898", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "992efa4a-a58a-4647-86cd-31c515abd9bc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "954cf066-0bb8-4855-9538-29e211d0fe6e", "documentation": "Deletes a pay instruction", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId", "responses": [ { "uuid": "60f1d992-d4b5-439b-9cf0-6b364cdc2dab", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8bdc6bdd-266d-45e2-98aa-a5700d9dee46", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "33c924e3-0050-4407-b637-e54c4d8b521a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3d5aae87-c8bf-4718-9238-ac2a1f5a9ed5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "804c8664-b42b-4dce-92d9-c7f31367428b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2d151aa5-2b7d-4fff-9313-36a6d5edea80", "documentation": "Gets the specified pay instruction from the employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId", "responses": [ { "uuid": "b3214810-37a2-47d8-918b-1b91e18d70fa", "body": "{\n \"PayInstruction\": {\n \"Description\": \"\",\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PayLineTag\": \"\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "60f646c8-40ac-4923-881c-391ce780ee52", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3f00b667-eb36-43fe-a0d4-e6c6ca0a3cec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e0e608fe-4622-4a0d-8dd9-d1e752cc6a0a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "84778f1f-013f-4675-b7fb-dc0c399a9b98", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "7451c4cb-62c4-40ec-b01a-3e47b0be90c3", "documentation": "Sparse Update of a Pay Instruction", "method": "patch", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId", "responses": [ { "uuid": "a87ae4d5-5a09-47fd-986b-3dc466bf2a1e", "body": "{\n \"PayInstruction\": {\n \"Description\": \"\",\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PayLineTag\": \"\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "535c9d79-b163-48ec-886c-bfa02297f0b4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b18e5684-ccee-4072-b48c-d3687b3f3340", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "20b01be6-2e82-40b2-87e8-db4096bdb1d6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5c90802c-82c7-47ed-b228-016b744c8b74", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "614337a7-58a4-48ef-996c-397b7404456f", "documentation": "Update a Pay Instruction", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId", "responses": [ { "uuid": "9a9c5601-6894-4537-a77d-7a3cf0c917de", "body": "{\n \"PayInstruction\": {\n \"Description\": \"\",\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PayLineTag\": \"\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c77a6e31-7cf6-4000-8086-2494591a50b2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d296c144-c056-47b7-9897-531973edf653", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a0170dc3-c39a-429d-9e02-ac27e3d98b3b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ab889f52-1829-4a81-95f2-40b03393b93b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "766c4c8f-78f3-4d6b-8007-ee2583f3fe1c", "documentation": "Delete pay instruction tag", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId/Tag/:TagId", "responses": [ { "uuid": "924f5210-12e4-44f7-ba44-fd4509d85570", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "02913acd-3ace-4244-9387-3213ed1fb9ad", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1a20ede9-3c27-440d-b3a2-c56cd2a1b0ea", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a098e899-20ba-454b-b53a-c797451339b2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "63a43ab5-3096-444c-800f-4a52bf10d0f2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "7b58150e-beae-47b3-ab31-9bf6809550a2", "documentation": "Get pay instruction tag", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId/Tag/:TagId", "responses": [ { "uuid": "f13324bb-dd34-4c2c-ac8a-1b90bc87d65d", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8464b9d7-332e-48f3-90b3-a85f3ee6c3fa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5e2c31b9-df5c-4901-b8a1-3c0454146afa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c521d6dc-7b9b-4ec3-a573-4668242c13e1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "36af41e2-7f37-4965-b83e-d0907acec041", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "09c3f0ea-20e4-496c-85ab-1069442d1018", "documentation": "Insert pay instruction tag", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId/Tag/:TagId", "responses": [ { "uuid": "5be3160d-134d-4e64-a4c0-4595193655ef", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "546bc354-1cca-46af-8637-95b991511993", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "11bf1549-d6d7-4acf-a6fb-3ba639c093c5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "efc789ed-b954-4494-9b25-17c2c63efa26", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bee241f6-ab42-495b-8912-eee93fc0aacf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "41a034d9-080d-42fa-938c-5eca6cdf3c06", "documentation": "Get all tags from the pay instruction", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstruction/:PayInstructionId/Tags", "responses": [ { "uuid": "3af97477-d187-4780-a6cd-4a4a799a325a", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9848493e-f6cc-47ca-916f-b3ce6b8fc655", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fe5eaa1a-073c-4365-a7c7-6b49c3bccbcf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f751669a-3f35-4324-bb0f-97e31b3dcca2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9154d143-dbad-4f3e-aa5c-69511a5b4e76", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b6ded427-574d-4be6-ba96-c2b8550a0f87", "documentation": "Gets the pay instructions from the specified employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstructions", "responses": [ { "uuid": "bdd78be3-837a-4e70-aace-2145cb73a44f", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "fe3abd50-595a-46df-899b-e47cf5577f3f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c934acb3-3ff3-4314-9d15-5e1fa5f1aea1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "50172e02-769f-45f2-ac60-ac6a38b23971", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3c69023c-7b35-4f09-bb82-f74ee2eec97a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "937e9971-f735-4ecc-88a1-e0b90eacf9d5", "documentation": "Creates a new Pay Instruction", "method": "post", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstructions", "responses": [ { "uuid": "ae42c9d8-5612-4fa7-a1fd-cd972a176001", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "11887bf7-d076-40eb-9413-6399a14f46f3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b9998438-7c7d-486f-be2e-7b7d910d0d34", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8d042ab0-f9aa-4e27-a383-69770b823e88", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3b968854-67fb-4b13-b6ff-7049e180a1e7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "38548121-2d17-42b3-9723-07f1172536b5", "documentation": "Get pay instructions with tag", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstructions/Tag/:TagId", "responses": [ { "uuid": "4af82a1b-7f25-4090-b4d7-13b10cc6578b", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "91fcc913-dcc9-496b-a64e-2a67425c2444", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "697bb3e4-32ba-4446-9098-258f8f4f1960", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "48d1cfa5-8508-4cbc-a38a-ec4698e28474", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5f75c2b3-e1e3-4c9b-94b8-996eb98b5e33", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2f985fba-6a56-4845-ad12-fcb900ce530b", "documentation": "Get all pay instruction tags", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayInstructions/Tags", "responses": [ { "uuid": "dc3c4914-8593-4153-9098-e5b7e7ffbdbd", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "5e0cdd2b-5a0e-422b-92bb-e189dab89d07", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "64e63fe4-c8cd-43f5-83e0-0fe2024e256a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e92c5181-44de-4f09-a0b2-b586ec018ed6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6dbbc055-289a-4017-837a-c0e2c435707f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "8198ba6f-35ed-47e4-9060-d24457b5bce5", "documentation": "Gets the specified pay line from the employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLine/:PayLineId", "responses": [ { "uuid": "90da6768-ab5f-4980-9384-db6e30083e58", "body": "{\n \"PayLine\": {\n \"Calculator\": \"\",\n \"Description\": \"\",\n \"Generated\": \"{{faker 'date.recent' 365}}\",\n \"PayCode\": \"\",\n \"PayCodeType\": \"{{oneOf (array 'NotSet' 'Payment' 'Deduction')}}\",\n \"PayRunSequence\": {{faker 'datatype.number'}},\n \"PaymentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"TaxPeriod\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay line object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9c57c7d8-97bc-410e-a9ec-f8cdb770b4c0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "125b59f2-9f3a-48eb-abb4-ede32412a437", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f6f4d926-0c21-4082-a86e-362879eb5d52", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f6536a9e-d8d4-4f6c-bcef-17ff9081bc0a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "6c4c232e-a946-4493-a3cd-f32f5e2fee59", "documentation": "Delete pay line tag", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLine/:PayLineId/Tag/:TagId", "responses": [ { "uuid": "0e281bef-4dde-4bfd-ab89-1c7a88c48b32", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "0a27d86d-4c43-46fc-8bd3-6d3d044e4658", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e52c4e43-bd1c-40b8-93eb-5751b25de549", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d48db529-32fa-4a5d-8e00-b1843282dcc6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "364f151a-8a9f-4199-a54a-a39caf911f6b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "98788361-0ade-4d36-9452-5107e9412227", "documentation": "Get pay line tag", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLine/:PayLineId/Tag/:TagId", "responses": [ { "uuid": "ae0213cd-7988-4399-892a-bd46eda08574", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9a81655d-9507-42a7-8f5a-30d6544c00fb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c49c5be2-ec4d-4e7e-a241-0840e240040f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "75db8b80-a4b5-465b-8372-2831b7fca39b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "41b47a02-f40a-4d8d-98e7-e8c75a516f39", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "d5803362-6925-4d51-91ff-e9497482e7f8", "documentation": "Insert pay line tag", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLine/:PayLineId/Tag/:TagId", "responses": [ { "uuid": "b7f65e05-c630-495c-b4f9-2add602be96d", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "bbc2c860-d977-480c-a094-c1ef94e9134d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4ff1ad94-c678-4390-beb0-a737e1db1ba9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0a80412c-5e84-4b39-bbdd-7fa1fd0112ac", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ccb0c571-c4c0-4314-a62e-06a58464b4b0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2be24deb-97be-40d3-a0c0-59b6e77261b1", "documentation": "Get all tags from the pay line", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLine/:PayLineId/Tags", "responses": [ { "uuid": "5a693c9c-4471-4eeb-a8ac-78e4732ba8f2", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4206f003-4932-4c39-851b-fe99c08bf41b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8fc16f14-77d5-48ea-8017-10c6e0b79648", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c09fd9a9-0bd9-45b9-8cf8-96f83d3308f3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "47f92940-2427-4e62-becb-1db7a50ac4c8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c4ed0f56-0639-4fda-92b6-86af1b8fb3d9", "documentation": "Gets the pay lines from the specified employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLines", "responses": [ { "uuid": "9f8c1a00-6cf9-4ec6-863e-a31134f472d6", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "47cdc23a-06fb-47be-acbd-dafffd6acc4c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a008d9e5-c6e9-4814-8d2b-625c02b18f72", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ff7a231d-c442-4815-995f-a67923b226c4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7330a7d7-036b-459b-b0a4-7d7d7d9dcfe1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "eb012fa7-74c8-41aa-8aad-0eae5556fdab", "documentation": "Get pay lines with tag", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLines/Tag/:TagId", "responses": [ { "uuid": "596873d3-ea35-408b-8285-dba29b0b2415", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8e54d026-a921-4fde-b29e-a31ce986c243", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1aafcf81-85d9-4c9f-943a-fa98bebf5880", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "556c3c66-633b-418d-85d8-b1ed7858641c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "04a63729-b07e-4bb8-93e8-6ee63f6785c3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "88e784aa-c958-4398-8424-5440d1d2113a", "documentation": "Get all pay line tags", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayLines/Tags", "responses": [ { "uuid": "e12e619a-bd87-47b0-a3a8-ac2dab81182e", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e3630aa7-1c0a-4ac1-b088-7d53d9962569", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "87529f98-1697-4c05-af38-3691c34b580f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "150dba9c-9e91-421d-80e6-dbcd776516a0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4aacc1f7-e0ea-426d-b79c-858011555464", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "af809524-aed8-4fa4-94e3-a57c5dbaa745", "documentation": "Gets the pay runs from the employee", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/PayRuns", "responses": [ { "uuid": "b124df34-f7ca-45fe-88bb-966189b9b874", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "75433e40-b453-4307-9ead-39666073b217", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "abf0a19c-0f4a-45b1-ac7e-0c5a442f2bcc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "680a8601-230d-4b6f-8a77-d635aac7a486", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dc240b34-6642-47c6-98fe-9f467ef8e1e0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "bb3bbca0-98bb-4f89-99d4-698da7a8aa22", "documentation": "Delete an Employee revision matching the specified revision number.", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Revision/:RevisionNumber", "responses": [ { "uuid": "53bf871a-a04d-41a6-a9b2-dcb33fc40fbf", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d686570f-d8ff-48a1-a24b-74dd6b1b419d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8e2c46f3-28f1-429d-b4f1-43e2dd0a9c31", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8d4d5d28-b6b8-4c4b-a0c4-859b2d276b8e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a04e3c13-5af3-410d-87ab-d290963533cd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "89588b68-dfc0-4fb3-b359-b815baf00330", "documentation": "Gets the employee by revision number", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Revision/:RevisionNumber", "responses": [ { "uuid": "c25f1963-e081-4d49-a254-4c6caf8a8e45", "body": "{\n \"Employee\": {\n \"AEAssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AEAssessmentOverrideDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AEExclusionReasonCode\": \"{{oneOf (array 'OtherNotKnown' 'NotAWorker' 'NotUKWorker' 'TemporaryUKWorker' 'OutsideAgeRange' 'SingleEmployeeDirector' 'CeasedMembershipWithin12Months' 'CeasedMembershipBeyond12Months' 'WorkerWULSWithin12Month' 'WorkerWULSBeyond12Month' 'WorkerInNoticePeriod' 'WorkerTaxProtection')}}\",\n \"AEPostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"Code\": \"\",\n \"DateOfBirth\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"DirectorshipAppointmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EEACitizen\": {{faker 'datatype.boolean'}},\n \"EPM6\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeePartner\": {\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MiddleName\": \"\",\n \"NiNumber\": \"\"\n },\n \"FirstName\": \"\",\n \"Gender\": \"{{oneOf (array 'Unknown' 'Male' 'Female')}}\",\n \"HoursPerWeek\": {{faker 'datatype.float'}},\n \"Initials\": \"\",\n \"IrregularEmployment\": {{faker 'datatype.boolean'}},\n \"IsAgencyWorker\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"LeaverReason\": \"{{oneOf (array 'Resigned' 'Dismissed' 'Redundant' 'Retired' 'Deceased' 'LegalCustody' 'Other')}}\",\n \"LeavingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaritalStatus\": \"{{oneOf (array 'NotSet' 'Single' 'Married' 'Divorced' 'Widowed')}}\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"NicLiability\": \"{{oneOf (array 'HasOtherJob' 'IsFemaleEntitledToReducedRate' 'IsNotLiable' 'IsContractedOut' 'IsFullyLiable' 'IsApprentice' 'LeaverBeyond6Weeks' 'PaymentAfterLeaving')}}\",\n \"OffPayrollWorker\": {{faker 'datatype.boolean'}},\n \"OnStrike\": {{faker 'datatype.boolean'}},\n \"PassportNumber\": \"\",\n \"PaySchedule\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"PaymentToANonIndividual\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Seconded\": \"{{oneOf (array 'NotSet' 'Stay183DaysOrMore' 'StayLessThan183Days' 'InOutUk')}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StarterDeclaration\": \"{{oneOf (array 'PreviouslyReported' 'A' 'B' 'C')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"WorkingWeek\": \"{{oneOf (array 'None' 'Monday' 'Tuesday' 'Wednesday' 'Thursday' 'Friday' 'AllWeekDays' 'Saturday' 'Sunday' 'AllDays')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employee object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6719680d-2933-4a46-aff8-a1a646fe4175", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dd1b5312-f7e0-44bf-bcfe-b8875b2a6c3f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "aee17fbb-6eda-4b76-ace5-c2eca728c6df", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "64cb518d-c10c-41ae-9729-45f78177778c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "11463573-77b1-4650-afb6-4f7286a44024", "documentation": "Get all employee revisions", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Revisions", "responses": [ { "uuid": "5eb4a3f9-dd8c-4c94-8fa8-b939404e2f16", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "063820f3-c071-4b37-a1a9-5dc17bd00f15", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d7f2321e-d485-437e-93a2-10145abb0881", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8053be53-89c8-4a79-9ff8-0cc24e625de5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3df5c40e-b773-40f8-a067-6e6bfbdd29ad", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b3d7309f-c33b-44ac-b539-0832ab80715f", "documentation": "Deletes employee secret", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Secret/:SecretId", "responses": [ { "uuid": "c493e68e-f395-4525-9cc6-4c517757e3d5", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "16f133d5-d666-4748-b093-e67dcd072772", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "86da8747-5182-4abe-91ea-7d6590f8ee48", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "efb729e0-6282-441c-97f4-8e834852f4e1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "41bc4893-28e9-48a6-8db6-17e4efb258ad", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c4bbd37f-34d3-4713-b0ea-219696db8ef6", "documentation": "Get employee secret", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Secret/:SecretId", "responses": [ { "uuid": "4125efa0-95ff-4b5f-b874-53a635476a9a", "body": "{\n \"EmployeeSecret\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"Name\": \"\",\n \"Value\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employee secret object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "be863783-a432-4c92-a3b8-7545da460816", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ab90e5d4-1d1c-4f1d-b645-58c992efc35d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "15cd48dd-8ba5-4429-99de-eaef22e34efa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "600db2bc-1d33-4de3-b41c-4e69d4142235", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "747263e8-cd49-40d8-b125-49aad95975d5", "documentation": "Create a new employee secret", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Secret/:SecretId", "responses": [ { "uuid": "d2d33c67-56d0-4f14-988d-93bf74600160", "body": "{\n \"EmployeeSecret\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"Name\": \"\",\n \"Value\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The employee secret object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2f7565d6-f7db-4963-af13-beeea76e85b6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "eabf46f2-bbaa-4bb6-aeb7-aa8acc230700", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "de477d18-2aa9-43ca-ba6c-bdde62058504", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6d31fe29-0f0f-4063-9ec3-c04fc67ae53e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "d5c9be71-367b-4fb2-bfe5-d3d806f91553", "documentation": "Get all employee secret links", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Secrets", "responses": [ { "uuid": "ac84d082-de00-4fbb-949a-01feaa3d2602", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "dba5bdea-6ee0-47ed-b329-75be432f9f42", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "03610313-e1f7-4464-a54f-768883c2448e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b0ad10ea-2999-4113-b4d1-f86b52c3b223", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "edb498fb-7b4c-4367-8a9e-32272f996af9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "84e8e488-b0a2-4767-a319-a397da4082a8", "documentation": "Create a new employee secret", "method": "post", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Secrets", "responses": [ { "uuid": "52141079-7645-4cc5-9a0c-4d05e463fdf6", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "88fe6b61-0335-41cd-b999-22caa5ec9932", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7961721d-e158-46d7-be23-6846d2a738b7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8364d5fe-f92b-4917-a5e8-72e1db547a31", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8be61dee-211b-4f71-8e11-39fa0f2df2d7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c7aed40c-9d16-45a0-b5e7-9d6ee4334b5d", "documentation": "Delete employee tag", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Tag/:TagId", "responses": [ { "uuid": "65846fcd-f27b-482e-9c6e-f055783f6fd1", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4967bd2f-3317-4e9e-9231-1851cb80b071", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f3d9d33a-7af4-402b-8cd5-1c374f0fe6ee", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "59390a16-8d8c-4e45-9e02-de8df2cea666", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5e55eb8d-d7a1-4aec-ab05-cce08fdb1593", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "87d0eb6c-7302-4edf-a049-a0f374a7361a", "documentation": "Get employee tag", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Tag/:TagId", "responses": [ { "uuid": "6c06433e-ff6a-48b5-92b6-910085ab8bb8", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d305f58c-25da-44c8-97e2-6bc54b6d8a16", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d7ac21db-7590-4f98-bd07-f53713959a7a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "75d64aec-ae32-423d-9f23-6313542d8e45", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "551c482a-3fbb-4ed4-a029-e67bb6d0c098", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2f3a7147-bf4f-4e00-9c3e-743580b86414", "documentation": "Insert employee tag", "method": "put", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Tag/:TagId", "responses": [ { "uuid": "d92f2d18-c4ee-47c6-94cf-c9b0eb862fbe", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2c854af9-6b8f-45ba-8ccb-0b230b31cbc7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c2ae2db5-d233-4b01-9169-6861db8570b9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d4745768-fe1e-466f-b3f4-e795845d94d8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0a2f9a2d-8ba0-408f-8313-a350f3f68dd0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2e145f50-82f0-4e7f-8c83-02e3de49b94d", "documentation": "Get employee revision tag", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Tag/:TagId/:EffectiveDate", "responses": [ { "uuid": "7d99a420-3fe0-435c-81e2-5ddbbc66239d", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "64309257-9854-4b75-8007-7b5393a8f207", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4454e3b4-e2d9-4606-b124-07957d89e40e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7caf078b-085e-40bf-ae16-90395de70959", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "be87b327-aa42-48e5-a8d0-a910db81a12f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3929d0c2-c65b-4bfd-8467-8ee5ad742cbb", "documentation": "Get all employee tags", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Tags", "responses": [ { "uuid": "f1236c87-a630-4034-898e-dfda5892d7d3", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "65acbceb-982c-4f19-adf0-99cf46ca04b0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ce42dbb5-b3e3-4330-b3f6-ca78dee6bee4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8f753a7d-bd78-4a13-b06c-92ef1b79b1e1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a66616f1-3fff-43b5-91e1-ae979afb73dc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "294c057f-e54b-4b6c-a406-306a79335692", "documentation": "Get all employee revision tags", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/Tags/:EffectiveDate", "responses": [ { "uuid": "df4b3f28-1496-4fba-a857-eb5a42e98ec3", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "30f97c7f-a5e9-47a1-a4bd-1cd2e28e3c8e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2673440b-75c9-4831-b9bb-0262e5f251d7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "94333d4a-d11b-412b-ade5-efd2ff03b786", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1cdaf853-bd7f-4f2b-a54f-74ec1c5da63c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a5915ffa-cca3-4f58-abab-44f27d2c8e64", "documentation": "Delete an Employee revision matching the specified revision date.", "method": "delete", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/:EffectiveDate", "responses": [ { "uuid": "ba41190a-0885-4a4c-a864-1d1a0fe6be57", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8be5150b-cc8a-43e2-ab03-65d10ef72236", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "739d2324-76b6-4eba-9da5-10bb9ae724a7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d229f84c-e8ad-4f0a-9b00-6134f6893459", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c73820a5-a8b9-4590-a5d9-72ab9fd57088", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2552d055-1c17-4d21-976b-57d2ead4778b", "documentation": "Get employee by effective date.", "method": "get", "endpoint": "Employer/:EmployerId/Employee/:EmployeeId/:EffectiveDate", "responses": [ { "uuid": "1fc29ce4-fddb-4cc4-b874-c17b63a2f449", "body": "{\n \"Employee\": {\n \"AEAssessmentOverride\": \"{{oneOf (array 'None' 'OptOut' 'OptIn' 'VoluntaryJoiner' 'ContractualPension' 'CeasedMembership' 'Leaver' 'Excluded')}}\",\n \"AEAssessmentOverrideDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"AEExclusionReasonCode\": \"{{oneOf (array 'OtherNotKnown' 'NotAWorker' 'NotUKWorker' 'TemporaryUKWorker' 'OutsideAgeRange' 'SingleEmployeeDirector' 'CeasedMembershipWithin12Months' 'CeasedMembershipBeyond12Months' 'WorkerWULSWithin12Month' 'WorkerWULSBeyond12Month' 'WorkerInNoticePeriod' 'WorkerTaxProtection')}}\",\n \"AEPostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"Code\": \"\",\n \"DateOfBirth\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"DirectorshipAppointmentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EEACitizen\": {{faker 'datatype.boolean'}},\n \"EPM6\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeePartner\": {\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MiddleName\": \"\",\n \"NiNumber\": \"\"\n },\n \"FirstName\": \"\",\n \"Gender\": \"{{oneOf (array 'Unknown' 'Male' 'Female')}}\",\n \"HoursPerWeek\": {{faker 'datatype.float'}},\n \"Initials\": \"\",\n \"IrregularEmployment\": {{faker 'datatype.boolean'}},\n \"IsAgencyWorker\": {{faker 'datatype.boolean'}},\n \"LastName\": \"\",\n \"LeaverReason\": \"{{oneOf (array 'Resigned' 'Dismissed' 'Redundant' 'Retired' 'Deceased' 'LegalCustody' 'Other')}}\",\n \"LeavingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaritalStatus\": \"{{oneOf (array 'NotSet' 'Single' 'Married' 'Divorced' 'Widowed')}}\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"NicLiability\": \"{{oneOf (array 'HasOtherJob' 'IsFemaleEntitledToReducedRate' 'IsNotLiable' 'IsContractedOut' 'IsFullyLiable' 'IsApprentice' 'LeaverBeyond6Weeks' 'PaymentAfterLeaving')}}\",\n \"OffPayrollWorker\": {{faker 'datatype.boolean'}},\n \"OnStrike\": {{faker 'datatype.boolean'}},\n \"PassportNumber\": \"\",\n \"PaySchedule\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"PaymentToANonIndividual\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Seconded\": \"{{oneOf (array 'NotSet' 'Stay183DaysOrMore' 'StayLessThan183Days' 'InOutUk')}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StarterDeclaration\": \"{{oneOf (array 'PreviouslyReported' 'A' 'B' 'C')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"WorkingWeek\": \"{{oneOf (array 'None' 'Monday' 'Tuesday' 'Wednesday' 'Thursday' 'Friday' 'AllWeekDays' 'Saturday' 'Sunday' 'AllDays')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employee object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2e0eb99a-8ebe-415b-a4ce-a05eac3d8ec3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8a218b41-2175-4e3c-a6a1-29f35246e7b3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7a30e233-b60a-429c-ad93-42174182c13e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "66ca9e97-58ca-4d06-9d29-c849c65de5e6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0e047e91-4129-468b-95e4-b95c1d6c0b8a", "documentation": "Get employees from employer.", "method": "get", "endpoint": "Employer/:EmployerId/Employees", "responses": [ { "uuid": "b1eec46c-6b17-4eea-9378-6715b07cbec2", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "712fa006-3a2b-461e-8529-502735d83743", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a137273e-0935-4bbf-812b-9d93700b48b8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "35d21b1a-f511-40d6-af3d-7734a4050140", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cc87c27c-0006-43b3-8ce5-62888364326e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e402e8c3-d832-421c-a60b-cab3b141c309", "documentation": "Create a new Employee", "method": "post", "endpoint": "Employer/:EmployerId/Employees", "responses": [ { "uuid": "8378f36e-d675-41c6-895d-f9104d1afbc3", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d4c91cd5-8c96-4eac-84fd-287d1d4169c8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f1fce869-7ede-46cd-ac68-3b6f4d5f8963", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dd468a9e-22c4-4c88-a713-c4f7102e0660", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "617f6a1d-cc6e-4a8d-be8c-20c3aec642b8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a6452448-1e96-43c9-82e6-3cf09efdc3ae", "documentation": "Get employees with tag", "method": "get", "endpoint": "Employer/:EmployerId/Employees/Tag/:TagId", "responses": [ { "uuid": "047691e8-f47d-4f6a-a9c4-c4772c74af89", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "53b0b371-a025-4cdf-aef1-afc4d0a3342b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "78c71a93-8c10-41d1-8d19-243797638074", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c1529100-5f07-4567-87b3-faf796885cd0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "83c05e54-2ade-4a95-88c2-dfc5e8bbf4fa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ebce3a18-6306-488d-9ee1-750a66e569c9", "documentation": "Get all employee tags", "method": "get", "endpoint": "Employer/:EmployerId/Employees/Tags", "responses": [ { "uuid": "01043844-25d1-4bd1-a8a3-174e5dfbd625", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c8534dcc-578d-46ed-adf3-88075e666936", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6a75bb28-eb90-4453-90d0-5fb98ccb9a23", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "74d64c3b-f800-4f34-8117-c09606d6563a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9db02a6c-7c3e-44b0-9a08-ff931301479e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "5fcdb9bb-ade6-40d2-97b6-2dad7cfe0caa", "documentation": "Get employees from employer at a given effective date.", "method": "get", "endpoint": "Employer/:EmployerId/Employees/:EffectiveDate", "responses": [ { "uuid": "52f485e5-a531-4d2d-bcb0-d707d264defb", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "133b5d5a-b39d-4d25-819b-f19bb840b82d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b43fa21a-15d5-437d-ad84-1877fdb735f9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1499f78f-c404-4b0c-b47c-24b19f8a43ae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "13172b31-6732-4218-8460-1fe754eeb1b7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "1f9d7c31-89ed-44e1-b3e3-0fe47be2ec54", "documentation": "Delete an holiday scheme", "method": "delete", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId", "responses": [ { "uuid": "6d37a892-5b74-4c0f-9d0c-966858686139", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "f8642d8c-dbac-4355-a3bf-0645c010a047", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a23945e7-e8b2-48d0-adce-79ec3fc9773e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "da294df8-89ec-4ba8-8dcf-88e5bf7990e6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d810e576-ed24-493c-a290-25f3fc90e2a8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "d4ddf288-ce3a-4511-a48d-a9f663b0f136", "documentation": "Get holiday scheme from employer", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId", "responses": [ { "uuid": "df4e297e-f6c1-4b59-9627-67dc4d920414", "body": "{\n \"HolidayScheme\": {\n \"AccrualPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"AllowNegativeBalance\": {{faker 'datatype.boolean'}},\n \"AnnualEntitlementWeeks\": {{faker 'datatype.float'}},\n \"BankHolidayInclusive\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaxCarryOverDays\": {{faker 'datatype.float'}},\n \"Revision\": {{faker 'datatype.number'}},\n \"SchemeCeasedDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SchemeKey\": \"\",\n \"SchemeName\": \"\",\n \"YearStartDay\": {{faker 'datatype.number'}},\n \"YearStartMonth\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The holiday scheme object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9bd7fca8-9b82-4b7d-900a-1adb920610da", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bc5db002-eb70-4111-9457-4d38b18ddbbb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "05799349-ac53-4094-81c6-cf9cecdc160a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "565e2c43-0ccb-41fc-a085-5f7819af1e51", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9793664a-fd86-43be-b950-400210465291", "documentation": "Patches the holiday scheme", "method": "patch", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId", "responses": [ { "uuid": "64e170cc-0241-44fc-941c-89ce32492899", "body": "{\n \"HolidayScheme\": {\n \"AccrualPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"AllowNegativeBalance\": {{faker 'datatype.boolean'}},\n \"AnnualEntitlementWeeks\": {{faker 'datatype.float'}},\n \"BankHolidayInclusive\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaxCarryOverDays\": {{faker 'datatype.float'}},\n \"Revision\": {{faker 'datatype.number'}},\n \"SchemeCeasedDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SchemeKey\": \"\",\n \"SchemeName\": \"\",\n \"YearStartDay\": {{faker 'datatype.number'}},\n \"YearStartMonth\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The holiday scheme object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "abc67cb9-4023-48a7-8f64-6fcd132248e2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0ba06aa4-d9bd-40e2-a4fc-a27bd3856c6a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cfaf75ad-642d-4c07-a1b4-1679b997d1b8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ed5f84f7-f608-4007-a53f-67b611604008", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "238d66de-db81-4283-9311-80b3fa088aac", "documentation": "Updates the holiday scheme", "method": "put", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId", "responses": [ { "uuid": "e929a5e4-3121-464d-b5b8-5c9c8a46eb33", "body": "{\n \"HolidayScheme\": {\n \"AccrualPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"AllowNegativeBalance\": {{faker 'datatype.boolean'}},\n \"AnnualEntitlementWeeks\": {{faker 'datatype.float'}},\n \"BankHolidayInclusive\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaxCarryOverDays\": {{faker 'datatype.float'}},\n \"Revision\": {{faker 'datatype.number'}},\n \"SchemeCeasedDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SchemeKey\": \"\",\n \"SchemeName\": \"\",\n \"YearStartDay\": {{faker 'datatype.number'}},\n \"YearStartMonth\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The holiday scheme object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "761312d7-bae7-478c-820d-d57264f44bb5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6381adb6-b59b-4026-9cec-b69b6454bad6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d6c619e3-af0b-4595-9864-159c1a597d12", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bd0f0e00-5702-4f72-80e9-09a130a8eee1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a27ebb1a-d0f9-4c98-bac0-e8d21baf40b5", "documentation": "Delete an HolidayScheme revision matching the specified revision number.", "method": "delete", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Revision/:RevisionNumber", "responses": [ { "uuid": "3540afaa-ccb1-4987-8471-055d94541f8f", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c5da230b-319c-4293-9aa5-690ed49969c9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "852573ae-211c-49ed-88a3-763d52973033", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "015fc1fc-a75e-41b6-be6c-76ba63feb305", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "75262011-c39d-4cc1-8b6d-916529463922", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2c711851-3fdc-4d17-917c-438c676a0530", "documentation": "Gets the holiday scheme revision by revision number", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Revision/:RevisionNumber", "responses": [ { "uuid": "3d473d24-4624-4307-8c26-bb3033814d57", "body": "{\n \"HolidayScheme\": {\n \"AccrualPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"AllowNegativeBalance\": {{faker 'datatype.boolean'}},\n \"AnnualEntitlementWeeks\": {{faker 'datatype.float'}},\n \"BankHolidayInclusive\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaxCarryOverDays\": {{faker 'datatype.float'}},\n \"Revision\": {{faker 'datatype.number'}},\n \"SchemeCeasedDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SchemeKey\": \"\",\n \"SchemeName\": \"\",\n \"YearStartDay\": {{faker 'datatype.number'}},\n \"YearStartMonth\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The holiday scheme object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e8851847-c926-4beb-8d20-8525ed859896", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "01731271-32aa-48d7-b61c-eda2b03059d1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9961ccad-3581-42b3-b161-7e85bcddcc37", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "81cbb0e3-184f-4159-8d49-e6a91106f3e6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "53273e08-27a8-4d1a-9171-5f83b5c557c0", "documentation": "Get all holiday scheme revisions", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Revisions", "responses": [ { "uuid": "c76b973c-8740-4672-b0b4-2d8e4af706da", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6d06c067-4703-45eb-950f-ff5d7c93553b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "19217a33-795f-4a4b-81d9-29b2285fe8c1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ccb262f9-771a-4ee3-8449-9c164366ba34", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "057538ea-a553-4694-8bc6-37c0216c9ecb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "30ec1fc1-65d8-4e3c-9620-f60d7e8206c0", "documentation": "Delete holiday scheme tag", "method": "delete", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Tag/:TagId", "responses": [ { "uuid": "793391c0-b6c8-410f-88ff-44f27e5262c9", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "eaa14774-51e6-4a5c-99a0-7706603b6392", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "311c47ee-ef26-42bb-b9d3-8c59832a7aec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "02ead1af-1496-472c-8533-e44785e251c4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0ca2fe0e-a29a-4998-a2be-f31eeac61daf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0a304850-77cf-4161-97cf-815cfb90ec3d", "documentation": "Get holiday scheme tag", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Tag/:TagId", "responses": [ { "uuid": "80decc28-b538-452a-84ca-e0263c3b7ec5", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "59cd7db5-c8a4-42d2-9c7e-2bec7fd1e1ac", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "40c49b8d-0aa8-4fb8-9fe4-ca6e3c159198", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8e99e73d-4054-4886-8563-832fce076c1c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "15710b3f-27a2-4a82-b4f3-dd1f87804dfe", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2e1df014-1928-4947-bf9b-d810c1a60caa", "documentation": "Insert holiday scheme tag", "method": "put", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Tag/:TagId", "responses": [ { "uuid": "d716166a-7959-456b-9383-b7e12d782f38", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "61758748-379e-4a7c-96f9-01cabaaf1eb6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "acf655fe-05ff-4062-a51b-56f5d27d2df2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a97be179-592c-4e6e-a223-68eab34fbea2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "77e2b055-2c59-4f22-a459-cc1938a98064", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ba3ad2cf-7ab8-4e30-a0be-b5b40ae00f93", "documentation": "Get holiday scheme revision tag", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Tag/:TagId/:EffectiveDate", "responses": [ { "uuid": "d1158d7c-74c7-4fb4-b3e6-7071291f0cb6", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "740440c1-2522-4e59-b5df-ddbb588196b7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0cdd51bc-b24a-4ea1-8c67-880eb75dd1ae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "881d6872-b38b-46c2-a927-97cdaedd5e3b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c3b08203-d35e-4622-8d1a-2624fabf347e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "1fdaaab7-59d0-43b1-b6c6-bb1b53b8e204", "documentation": "Get all tags from the holiday scheme", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Tags", "responses": [ { "uuid": "a72965f8-7398-46f5-9d48-e0e2d93b56b8", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "0579d781-3815-4799-9904-214e04a6e006", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7f95873b-b814-4ef1-8910-feef24c80314", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "775a368e-e07d-4aac-a367-34642522357e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8799b30a-a4a5-45bf-8423-ff153d90cd86", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2c6a5054-c420-478a-b8d2-fd8819b2c135", "documentation": "Get all holiday scheme revision tags", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/Tags/:EffectiveDate", "responses": [ { "uuid": "0de25a47-58c8-4d76-93c6-27e8566a26d2", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "b3f34ef4-4c44-4e06-ae8b-4be2f36557e6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d4b553db-b9fa-497d-93a8-b038cc13e30a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b13d2961-6cd8-4f89-b8b3-02d12b69ba9d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "435b2096-cf5b-4bdf-8c25-9517daee5046", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9dfc7420-a877-42fe-99d4-12a072c69d30", "documentation": "Delete an holiday scheme revision matching the specified revision date.", "method": "delete", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/:EffectiveDate", "responses": [ { "uuid": "7c1d2364-c3b5-4158-b98c-1ea70c5634f2", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "b7bbe052-1c6e-4682-876f-13d8dd33e038", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "49ce0dae-7cfa-4309-964d-7ec681f6166c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "652d83fd-1200-454c-b399-d1411efa37b1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4c45030f-7bb7-4d89-ae18-e93bde61f1ba", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "908ef212-9a68-4cbb-988e-56f2029e2354", "documentation": "Get holiday scheme by effective date.", "method": "get", "endpoint": "Employer/:EmployerId/HolidayScheme/:HolidaySchemeId/:EffectiveDate", "responses": [ { "uuid": "68804606-63d3-43bf-8f29-8c3cd2514ea6", "body": "{\n \"HolidayScheme\": {\n \"AccrualPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"AllowNegativeBalance\": {{faker 'datatype.boolean'}},\n \"AnnualEntitlementWeeks\": {{faker 'datatype.float'}},\n \"BankHolidayInclusive\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MaxCarryOverDays\": {{faker 'datatype.float'}},\n \"Revision\": {{faker 'datatype.number'}},\n \"SchemeCeasedDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SchemeKey\": \"\",\n \"SchemeName\": \"\",\n \"YearStartDay\": {{faker 'datatype.number'}},\n \"YearStartMonth\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The holiday scheme object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d6dc7175-3784-42be-ab9e-2cfd7a459d5f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ed3d75a1-8d88-42f0-8fe9-c460aca70199", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "577750cb-985b-4c37-bbe1-fa650c9c7891", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8039c7c4-9b05-46d6-93b5-33e45586ddc5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "995b05da-7151-44a2-8c1c-cf2270dad8bb", "documentation": "Get holiday schemes from employer.", "method": "get", "endpoint": "Employer/:EmployerId/HolidaySchemes", "responses": [ { "uuid": "71e33fe5-9c2a-4ba5-9382-d2ea4f523c29", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e05eb26e-5854-4f9a-8022-95b270fbd6f5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9ff21cf4-dc03-4adc-857e-83865e4e3b62", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ca6d21ed-b36e-49ba-9816-616ac0411860", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fae09621-942d-41ba-b78b-82a6450b1f5c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "84629191-6f79-469d-9efa-bf0b62b6cb99", "documentation": "Create a new holiday scheme", "method": "post", "endpoint": "Employer/:EmployerId/HolidaySchemes", "responses": [ { "uuid": "f64c0666-13e3-4e9e-9826-93b76c300662", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "ae5c9495-4500-480c-903a-9d8c9008de21", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bf361645-8f8c-4888-9846-10c505dbd5a5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7ecb4c10-527b-41fa-b08e-91c05bf003fb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "85866da2-cc45-49cb-bb5e-ec3e4c9a73b6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "87f43887-7ad5-4f16-b03f-977f392c3b7d", "documentation": "Get holiday schemes with tag", "method": "get", "endpoint": "Employer/:EmployerId/HolidaySchemes/Tag/:TagId", "responses": [ { "uuid": "0a60cd24-89ea-4b21-98e2-991b95d880fe", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "fcbbd785-6581-42fd-a198-cc5dfec83159", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0f010b28-9d73-487d-aefb-5c26cb743599", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "464fbe90-167f-4c8d-afbf-e4ba8aee8f88", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "258daa67-dfce-49cc-8c31-a6f86c122f11", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "4e5997cd-9cd3-441d-97b0-fbe9d1f61e30", "documentation": "Get all holiday scheme tags", "method": "get", "endpoint": "Employer/:EmployerId/HolidaySchemes/Tags", "responses": [ { "uuid": "9f08247b-fc6f-46c2-8138-f00d93775789", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "eef0e793-2cf7-491d-8123-e574f2204de4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4d004254-1e60-4d4c-aec1-5f000c2ba276", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "53ea9d37-1f0e-420b-bba4-33c58d43b67c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bc8d47ac-bdcc-4966-be07-46f85ff623e3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "1984aa12-65a8-431c-a0b0-305ffdf886df", "documentation": "Get holiday schemes from employer at a given effective date.", "method": "get", "endpoint": "Employer/:EmployerId/HolidaySchemes/:EffectiveDate", "responses": [ { "uuid": "dbf41742-b0e7-4dae-b52d-1a60611ac12b", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9d2a038d-d577-46fc-98f3-003a25f02964", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "29636712-484d-457e-b668-7a3740256ab2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4074669d-4c25-4fb4-b5a9-574ca8bb7fe9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d5915144-6007-4387-b680-36edf8d4133b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "6b5dd638-d2fe-45a6-ac13-3f003f22762e", "documentation": "Deletes a Journal instruction", "method": "delete", "endpoint": "Employer/:EmployerId/JournalInstruction/:JournalInstructionId", "responses": [ { "uuid": "bf9d8f7b-cdf8-4d40-b6a9-9f469d98c4c2", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d3c0f718-4c0a-4639-9f9b-32bde1109f62", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2bd18a56-0f1b-4b24-b2bc-d34ae8cd6105", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d6d49c2d-4859-45e8-a65a-b2381183e2dd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "812d135d-c1cd-4005-8c63-340fefc6c5f9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "fb42010d-97b5-462f-a931-89b19055193e", "documentation": "Gets the specified journal instruction from the employer", "method": "get", "endpoint": "Employer/:EmployerId/JournalInstruction/:JournalInstructionId", "responses": [ { "uuid": "c090a7cd-9a26-4b64-b0f8-bee5e109ce7a", "body": "{\n \"JournalInstruction\": {\n \"AccountingType\": \"{{oneOf (array 'Credit' 'Debit')}}\",\n \"Description\": \"\",\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Expression\": \"\",\n \"JournalLineTag\": \"\",\n \"LedgerTarget\": \"\",\n \"NomCode\": \"\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SubNomCode\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The journal instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "54ec0085-cbaf-45d9-bbfd-6e08a36c4b0c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4829e0eb-8bd8-496f-8374-6e0a3e0500f7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "480247cb-bb01-4466-88a1-4695ac9caa61", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "36dee640-3429-492c-a521-6ce78802fb16", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9f48c63e-3594-42a4-8f99-5095796e06d4", "documentation": "Update a Journal Instruction", "method": "put", "endpoint": "Employer/:EmployerId/JournalInstruction/:JournalInstructionId", "responses": [ { "uuid": "88e6647a-f860-422c-b23e-cf1648c27c33", "body": "{\n \"JournalInstruction\": {\n \"AccountingType\": \"{{oneOf (array 'Credit' 'Debit')}}\",\n \"Description\": \"\",\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"Expression\": \"\",\n \"JournalLineTag\": \"\",\n \"LedgerTarget\": \"\",\n \"NomCode\": \"\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"SubNomCode\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The journal instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "aa58ae84-f313-4615-9d6d-affed4f95661", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "33517d6c-fc48-4369-9e6d-e778c7314ec3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e3e41aab-92b8-49ee-ac9a-55f43218e28e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8502382d-95f1-4fd7-8f2e-58130d6006e7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e54d0695-7854-4633-9ea7-dbea8706ba07", "documentation": "Gets the Journal instructions from the specified employer", "method": "get", "endpoint": "Employer/:EmployerId/JournalInstructions", "responses": [ { "uuid": "f0c3c9e8-616f-484d-bae2-38b41b5328cc", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6536abfc-a840-4572-b9ae-ea0c0fc909dd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b2d03f25-f637-41f6-8fae-0be7002fd391", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0d78a4ef-ff9e-4e1b-b7db-b83f2d50bbb1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a5e2c7a0-612e-4d30-9f5a-76cb21a8f519", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a90c4525-5d29-4d80-a442-308caa0d62b5", "documentation": "Creates a new Journal Instruction", "method": "post", "endpoint": "Employer/:EmployerId/JournalInstructions", "responses": [ { "uuid": "555af7ce-cc34-4de1-ab7b-af1c6eeecd21", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a3232dcc-d761-41c9-a4b4-4c89faea2299", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e82e23c7-20af-4bc2-9728-35412c812ef8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9392a5c1-be4c-451c-8a03-108fc4840675", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "76231ca1-99f5-4e18-9f1d-abd1eb752a18", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "668a52b2-ebc0-4371-b45c-ce2a864ac7e7", "documentation": "Gets the specified journal Line from the employer", "method": "get", "endpoint": "Employer/:EmployerId/JournalLine/:JournalLineId", "responses": [ { "uuid": "6e9a49dc-0832-4a88-a772-50f9e2832148", "body": "{\n \"JournalLine\": {\n \"Credit\": {{faker 'datatype.float'}},\n \"Debit\": {{faker 'datatype.float'}},\n \"Description\": \"\",\n \"Employee\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Generated\": \"{{faker 'date.recent' 365}}\",\n \"Grouping\": \"\",\n \"LedgerTarget\": \"\",\n \"NomCode\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Weekly' 'Monthly' 'TwoWeekly' 'FourWeekly' 'Yearly')}}\",\n \"PayRun\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"SubContractor\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"SubNomCode\": \"\",\n \"TaxPeriod\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The journal line object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2b2e9096-3684-4e31-a898-8d3c80400533", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "530c8441-3bcd-48c4-9a9c-655cdd27c913", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5c0a4c42-05bf-4db2-83f3-910b599218d2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "127b51ba-2279-4b12-b24c-e90cfbb051bf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a4fe27a0-5420-4174-9a33-41bd255392e1", "documentation": "Delete journal line tag", "method": "delete", "endpoint": "Employer/:EmployerId/JournalLine/:JournalLineId/Tag/:TagId", "responses": [ { "uuid": "386ddd8f-6093-4bba-9e8a-6e50926d53ce", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "98a1c682-e232-45f9-b4a6-eaf25ce997cb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1b9c8547-f070-4890-999c-ce244a29c35f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1349c870-a10a-40c7-ac42-85f2e059bda3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "276ae603-a57c-4fb7-aa45-c564467492d8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "14e05718-f458-4c9c-b209-6fa88632f360", "documentation": "Get journal line tag", "method": "get", "endpoint": "Employer/:EmployerId/JournalLine/:JournalLineId/Tag/:TagId", "responses": [ { "uuid": "dc75b68c-a583-4c7d-94da-714e22175dc7", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "0c88546c-65ec-4bd4-a46a-23331933848d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7cc71af0-cb72-43b3-b276-4f8afa48a621", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "49f10edb-fb0e-4dc1-afb4-92103c16ff66", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0caa3b6f-fcc3-480a-ab3c-cb1dab3a02fc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "25e7ae3f-fe87-4879-9b95-570dc583e5a0", "documentation": "Insert journal line tag", "method": "put", "endpoint": "Employer/:EmployerId/JournalLine/:JournalLineId/Tag/:TagId", "responses": [ { "uuid": "bb284824-d44c-49ad-a80f-a8dcb532c4e6", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "0b4c4571-5559-4598-a4d7-09e25920edf1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7efeef1e-2d83-47ce-8951-2d712184cb72", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bede1789-416c-422b-914d-93d5dff0dda6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "19ec151b-ff47-4bbf-98ec-a58785695985", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f23fd1ed-3fae-4181-9d73-566b635a7769", "documentation": "Get tags from journal line", "method": "get", "endpoint": "Employer/:EmployerId/JournalLine/:JournalLineId/Tags", "responses": [ { "uuid": "df6dc8c5-ece0-4bc4-8007-6e7485db4a97", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "20629350-8409-435f-a986-74ff4e2439a5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f2e99e3c-7a0f-4308-aa1e-cee7196bdda3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "37c02a94-0aa2-468b-a79f-6c700e983a4c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "21596889-dbf8-475f-b605-ed31b86960d8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "8ffb1b5f-d95c-46ce-aa35-efcdb5431046", "documentation": "Gets the Journal Lines from the specified employer", "method": "get", "endpoint": "Employer/:EmployerId/JournalLines", "responses": [ { "uuid": "9ba8a733-60b3-444e-b316-1d3edebe261a", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "b98d3e40-3132-4049-92e5-5d2e9882a3a7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4c470aa9-3505-42b8-94a9-d1411064e2b0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dc895057-5285-46a6-907f-aee18ff53018", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "eafecd94-bca6-4aaa-a70d-d5c8889e11db", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0501e67f-e124-45c6-aa32-35eefdd82ab1", "documentation": "Get links to tagged journal lines", "method": "get", "endpoint": "Employer/:EmployerId/JournalLines/Tag/:TagId", "responses": [ { "uuid": "cd7ca553-7696-4d06-9f41-7cdd85a81f2c", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4b67eb08-e482-4a74-aadd-0a9594bcbf49", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0bac441f-2703-4ddf-8786-1fea2d2f9ea0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "aaebc2ce-52f3-4c0a-978d-dbd9152f9561", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d713cf55-3b45-4a62-8a44-cbde8ddb17d2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "bb4d8fb0-7023-42cc-8254-e90d6d6ab8a7", "documentation": "Get all journal line tags", "method": "get", "endpoint": "Employer/:EmployerId/JournalLines/Tags", "responses": [ { "uuid": "e196f60a-2fc5-4e92-81d8-dbd32aa70171", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2ef98198-ff86-466f-92d1-305662f6deda", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e383dde0-5e87-46e3-8d10-8be59912fbf5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "300f6d49-5c92-40ca-bafa-50c0c52c5d6b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "08bec465-b015-4521-a009-ee91973a5f6b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "63ef0dea-33d3-4668-b351-ada51accd311", "documentation": "Deletes the nominal codes", "method": "delete", "endpoint": "Employer/:EmployerId/NominalCode/:NominalCodeId", "responses": [ { "uuid": "74717dab-741b-41e3-9f21-51bcc7d90ba8", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "eb2799e0-565c-40f6-9d94-b28d52c00376", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2e1de184-8bb8-4efe-92cd-12d6b677fb30", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "84f5dd00-840a-4b6b-b18e-106c0b0650ed", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1ebb8a75-21c9-4908-ab9e-b98d00df887e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "28118909-9069-4016-934f-61c39d8ad6af", "documentation": "Gets the nominal code", "method": "get", "endpoint": "Employer/:EmployerId/NominalCode/:NominalCodeId", "responses": [ { "uuid": "d22942d4-6161-4047-9008-c9a7b4b945aa", "body": "{\n \"NominalCode\": {\n \"Description\": \"\",\n \"Key\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The nominal code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9f4aa1e7-029e-435e-bd26-918fc4f1cf60", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e26b3dbb-01bd-473f-a8c0-b176002095e2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d483dc8e-fd13-4699-8512-3c1e1dddcc88", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "aab2bac3-da80-4856-8125-6c7afaf1e3f9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f25f5d1a-a8a1-41ef-943a-62056d0e4d13", "documentation": "Insert nominal code", "method": "put", "endpoint": "Employer/:EmployerId/NominalCode/:NominalCodeId", "responses": [ { "uuid": "8da2033d-d729-45e9-abd8-80c3bfc199ac", "body": "{\n \"NominalCode\": {\n \"Description\": \"\",\n \"Key\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The nominal code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "869e95fa-7c54-4008-bb34-98bb963d7ece", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "398ce168-5d79-4763-85a9-b952438d970f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4a67343c-fada-42c4-aec9-86617b8be0c1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2fff2133-f920-4fce-a9b1-f4cd0dee334e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f298c923-8ea8-48a9-a083-0e8d8cea2558", "documentation": "Gets the pay codes by nominal code", "method": "get", "endpoint": "Employer/:EmployerId/NominalCode/:NominalCodeId/PayCodes", "responses": [ { "uuid": "e11d11a7-81b5-4092-b445-2e86a9e4ba6b", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "311fb0ff-4a97-4651-9bc1-aefeaa7465c3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c3e4a1c9-f3f9-4506-b927-2ea84c94b23d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d1922df2-28e1-469a-a93f-5d4fc2c69bcd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1d4ad50b-c99d-4179-bb86-cb64b9932854", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "4fefec21-9f94-4ab5-a352-0f1d3bdb7068", "documentation": "Gets the nominal codes", "method": "get", "endpoint": "Employer/:EmployerId/NominalCodes", "responses": [ { "uuid": "7640b43b-79ae-4cc2-89cd-19c2a209acb8", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2d3bb664-125b-4f06-8240-5581c6a93f3b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c1fda7ce-0c36-4120-aa00-36fe658af049", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "760c44b5-c50a-4210-baa9-4ff9f2d3f3ec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "08e21979-6d41-41e6-8e36-b388312883f9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3c1e467a-0324-4fe5-a6bb-f4023ab708ce", "documentation": "Insert nominal code", "method": "post", "endpoint": "Employer/:EmployerId/NominalCodes", "responses": [ { "uuid": "4d2a0d9c-8168-4f25-a9e3-a4b027af25a4", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e5774371-69e1-4e9c-bed3-b17539bd6240", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "35d1ba11-138b-4634-b712-9f88036c8367", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bc6ff920-1e29-4525-81e4-49b50a08ac33", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dd05e27a-7bd9-4c05-9893-f1f570f7e653", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "7780b597-6b1c-4262-b2b4-386607890983", "documentation": "Deletes a pay code", "method": "delete", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId", "responses": [ { "uuid": "a725451d-e986-49b4-926f-27e4f26467c1", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c7e70620-4664-4220-a1ca-7db326e24a25", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "49e94ac2-463c-40a8-ad15-6f719a6e2392", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "14d9d559-8aa1-40a6-ac95-f16ee7e029c1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e89f7b42-81b6-47c5-ab0d-cfdb0cce997d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b0ef528a-acb2-4083-8c2c-bc91852f7197", "documentation": "Gets the specified pay code from the employer", "method": "get", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId", "responses": [ { "uuid": "f9e709d7-c9ac-4a85-a9e4-496f6b75d702", "body": "{\n \"PayCode\": {\n \"Benefit\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"Description\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MetaData\": {},\n \"Niable\": {{faker 'datatype.boolean'}},\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"NonArrestable\": {{faker 'datatype.boolean'}},\n \"Notional\": {{faker 'datatype.boolean'}},\n \"Readonly\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"Taxable\": {{faker 'datatype.boolean'}},\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Type\": \"{{oneOf (array 'NotSet' 'Payment' 'Deduction')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "cb2abe8b-fae2-4fec-b089-ca5a57aa0185", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "706f8d6b-6095-4912-a294-878d0fb4d4bf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b7ff1f6a-12e3-4dde-9241-c241adf5d9f7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "37eff393-f6cc-4aa1-9d37-4b5ea5f53314", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b9f428fd-9afd-40ea-9154-88f7ef0e53fd", "documentation": "Patches the pay code", "method": "patch", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId", "responses": [ { "uuid": "80e99246-8716-4f1e-8f0f-d4e5443cce81", "body": "{\n \"PayCode\": {\n \"Benefit\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"Description\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MetaData\": {},\n \"Niable\": {{faker 'datatype.boolean'}},\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"NonArrestable\": {{faker 'datatype.boolean'}},\n \"Notional\": {{faker 'datatype.boolean'}},\n \"Readonly\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"Taxable\": {{faker 'datatype.boolean'}},\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Type\": \"{{oneOf (array 'NotSet' 'Payment' 'Deduction')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "7cf7ad50-7c09-4e04-ba07-9dd707895fde", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "615a94d7-5de2-4781-9cf9-eb6823fb5bae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f117734d-c25d-4161-9024-6fe138a8e64a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0c8bfaae-e372-46a6-ba5e-eac780e84acc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "63c3c3f0-383a-4b69-9edc-ee86ae620bf6", "documentation": "Updates a pay code", "method": "put", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId", "responses": [ { "uuid": "d1559a11-19e0-441f-be7b-31ee578dcb11", "body": "{\n \"PayCode\": {\n \"Benefit\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"Description\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MetaData\": {},\n \"Niable\": {{faker 'datatype.boolean'}},\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"NonArrestable\": {{faker 'datatype.boolean'}},\n \"Notional\": {{faker 'datatype.boolean'}},\n \"Readonly\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"Taxable\": {{faker 'datatype.boolean'}},\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Type\": \"{{oneOf (array 'NotSet' 'Payment' 'Deduction')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a7d3c482-b4bb-40fc-8cff-7edb16df5a8a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d9b6aa3c-0bdd-47e8-b9c9-54860869bfd5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "14c566d2-c722-4579-b2c3-98fc60e81396", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "064ef2fa-73b5-4d63-9548-8665afd75dcf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ea1c3a78-56a0-41af-86a5-7a33c89af0ef", "documentation": "Delete an PayCode revision matching the specified revision number.", "method": "delete", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Revision/:RevisionNumber", "responses": [ { "uuid": "f2b616da-e0ee-475c-bdcb-a5f9b81174ff", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "826b9dfb-85bc-4067-b452-b4d926e060dd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "496377af-2c6f-4f87-ab99-730a91135c98", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b0749fd6-eba9-4d01-bb14-872ba587a2b1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "75ca4ee3-f62c-4940-ae05-635826c65bb3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2a58025a-f73b-42ef-9e78-dbd7114b68ca", "documentation": "Gets the pay code by revision number", "method": "get", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Revision/:RevisionNumber", "responses": [ { "uuid": "161c482c-27dc-4bf5-9a87-706d7168917e", "body": "{\n \"PayCode\": {\n \"Benefit\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"Description\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MetaData\": {},\n \"Niable\": {{faker 'datatype.boolean'}},\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"NonArrestable\": {{faker 'datatype.boolean'}},\n \"Notional\": {{faker 'datatype.boolean'}},\n \"Readonly\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"Taxable\": {{faker 'datatype.boolean'}},\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Type\": \"{{oneOf (array 'NotSet' 'Payment' 'Deduction')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8f8060a3-04ec-4ce2-a8db-d5f27fb72271", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a4c721f1-ebb2-4f51-9a43-cc9b787eb331", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6df3eda1-c5db-4b1e-9164-709d018ba15e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cccbdb64-13dd-4798-9da0-09e4615bcaec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "8422df52-4063-4a9d-9cad-3086fdd7a48f", "documentation": "Get all revisions of the Pay Code", "method": "get", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Revisions", "responses": [ { "uuid": "36951c66-8160-48b9-b5ff-7c89bde354af", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8868bc4c-2177-4559-9286-9abf6ac803a9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fb4237e9-a865-4e35-829f-c828f905ed54", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "356bca38-1792-4f8d-a191-08a19800e3af", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "803a1543-59f8-4686-82b6-b73ddb702629", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "192e4228-25df-4aa9-a0a9-b93f450db8cb", "documentation": "Delete pay code tag", "method": "delete", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Tag/:TagId", "responses": [ { "uuid": "fb7e51cc-e06a-4d9f-b28b-69d81160eff5", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "7fac0833-4406-435e-9e98-bf7e26096112", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "73e72b00-c716-4dd8-ac07-e890a89d46be", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8903b32f-e773-467f-be9b-f9bdad2d9117", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "68d22dea-ec51-41f7-aa8b-2cf1b0985b37", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "694cc62e-9518-45e8-843c-4a7eaf33c367", "documentation": "Get pay code tag", "method": "get", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Tag/:TagId", "responses": [ { "uuid": "68b45110-1384-4909-b8ca-af8e5002c15e", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "10e1ee2b-0607-4bd0-b028-756dfe5b9162", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fbe2d03d-d54d-46ab-996f-607eeba3d7b2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0f5166d5-c1a3-4eb7-9812-1c72724de973", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ef485332-9009-4d6f-bab0-0d26ac417431", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2606e74c-e76a-49b7-85bc-9c66d9848e13", "documentation": "Insert pay code tag", "method": "put", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Tag/:TagId", "responses": [ { "uuid": "2ebf8376-0efc-4972-a6d4-045b4e35818e", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "f23e57c3-26e4-411b-b293-3a35191c1819", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b138b665-6086-4567-840c-1753c66a984c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "96c970cf-90ad-4931-842a-aa8b106d7b96", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4f7b5643-d156-47cf-961a-32045a31c1c3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a7c98022-c054-4d51-b7f9-5a43228681fc", "documentation": "Get all pay code tags", "method": "get", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/Tags", "responses": [ { "uuid": "c14b40f2-9668-4cb9-892a-7195e5356bb8", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "7176d270-8af2-42e6-92d9-f27dbe07327e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1fd5f730-5508-4a55-a9c1-e2713e77b948", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1d968d0c-9abb-46ed-bc90-f2f08fb44a71", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "16a36716-67be-487a-b51e-0344a1757e63", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "485eb002-c1d2-41b5-b7f9-30b4bb8eb6e9", "documentation": "Deletes a pay code revision", "method": "delete", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/:EffectiveDate", "responses": [ { "uuid": "b9aea4c1-579c-48b8-85e6-aa7a01394ec9", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "642fba8e-3dd4-4195-988a-97ea134aeba3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bf47826b-fdd6-4d8c-bedb-39d5445e3f36", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b7c4b8c5-f467-44ff-a67c-ea1d906755b6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9673a432-e5c7-4919-9b3e-5f8f7e776b8c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "65a0ba20-81fb-4bc0-9920-b77493d78203", "documentation": "Gets pay code for specified date", "method": "get", "endpoint": "Employer/:EmployerId/PayCode/:PayCodeId/:EffectiveDate", "responses": [ { "uuid": "ab871570-2006-405b-a02e-bb3b97a93ec9", "body": "{\n \"PayCode\": {\n \"Benefit\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"Description\": \"\",\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"MetaData\": {},\n \"Niable\": {{faker 'datatype.boolean'}},\n \"NominalCode\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"NonArrestable\": {{faker 'datatype.boolean'}},\n \"Notional\": {{faker 'datatype.boolean'}},\n \"Readonly\": {{faker 'datatype.boolean'}},\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"Taxable\": {{faker 'datatype.boolean'}},\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Type\": \"{{oneOf (array 'NotSet' 'Payment' 'Deduction')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay code object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4d9033c0-d3c9-4655-87e4-bec938f653a7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a61f5210-721b-4dc4-ad66-355b0404e909", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d516be4f-ecfa-42f2-ab0b-05186805742e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4ca75f34-9d35-414e-a65a-5e21476daab7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "fc4b03cf-d811-4d03-a6ca-ff2bdfb0b1a4", "documentation": "Gets the pay codes from the employer", "method": "get", "endpoint": "Employer/:EmployerId/PayCodes", "responses": [ { "uuid": "97f13e12-f086-4f2b-ab76-db6729d8223a", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a5792e33-c9f9-45e6-b917-dbdea59583db", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "99575580-7aaa-44ea-9928-2d6706d1c23a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0ba4c160-22af-4b2f-8fdb-5451d2343faf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9fb212fd-972b-4a62-9671-b13efffa2afd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "24cec12d-dda7-4a39-9e7c-4cfa1f345ab5", "documentation": "Create a new pay code", "method": "post", "endpoint": "Employer/:EmployerId/PayCodes", "responses": [ { "uuid": "a6edc4fb-e569-4f67-8b1e-639197cd99bf", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "7bb95a0f-848d-47e9-a13c-36628664c851", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "de40088e-9a1a-4262-87e3-48c59ba14429", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e3f8a532-7ed5-4be6-b131-c75fdc005cb9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "19a03fd9-025a-44f3-8288-bdc1d98ee59d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0a3c9785-c0e1-4771-95e2-70169b5f2ee5", "documentation": "Get pay codes with tag", "method": "get", "endpoint": "Employer/:EmployerId/PayCodes/Tag/:TagId", "responses": [ { "uuid": "b485a466-12e8-4443-a7a8-c2da024e667a", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9c55965c-3fa8-4b5b-b8b5-9b15e26a3e43", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "259ffa29-eef2-4fed-85fa-e09f2305e767", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bc2cc26b-82a3-461d-899f-b1c3e9d34d40", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ae6ba1be-6982-4a69-ba09-15ba53c9fa28", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "75713368-e68e-4883-8cb2-42a20a9c20fc", "documentation": "Get all pay code tags", "method": "get", "endpoint": "Employer/:EmployerId/PayCodes/Tags", "responses": [ { "uuid": "10e71ad5-c31a-43cb-b2cf-c09b3f467971", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a900b6a4-41ca-4fb8-a199-c8bd707fe5d6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0e86bd9b-cf6d-4dcc-83e8-a9b595ff0030", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "79b1f055-9e67-486d-8fd6-c2c18ee1a83b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "39f1ea88-0ff6-43c0-98e4-98b5755f22c9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "fdb37284-524c-4269-b1dd-2180823ca4be", "documentation": "Gets all pay codes for specified date", "method": "get", "endpoint": "Employer/:EmployerId/PayCodes/:EffectiveDate", "responses": [ { "uuid": "91bd23d4-7870-4bc7-a186-c2eaac74f1aa", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e7e9e552-ef01-43c4-9476-3db3e8573383", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "68a6ccf2-8bee-43e1-be9d-6fc3be8f4d8a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c551c9d1-8972-4d87-82ac-1d2e8931de7e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f9c4128d-1745-475e-bf31-81302fa4fd7b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "03546c05-cf1a-4e3e-b82e-d83b1c3b5494", "documentation": "Deletes a pay schedule", "method": "delete", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId", "responses": [ { "uuid": "48cbd474-373b-4eb4-94dd-48cfda0d1332", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "dcbbc764-f7b0-441b-91ba-187116b71863", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d66c9b85-7001-4354-9e16-bb7814266ba4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8fd43cda-8188-412a-97f3-837257532f53", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "05e4efb0-1413-4a96-b32f-de88700b5d65", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f22b74e8-dc86-4ca4-a6d6-ea5a54734eb0", "documentation": "Gets the specified pay schedule from the employer", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId", "responses": [ { "uuid": "e9ff54ec-d6c8-49bd-a778-033a989411b9", "body": "{\n \"PaySchedule\": {\n \"MetaData\": {},\n \"Name\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Weekly' 'Monthly' 'TwoWeekly' 'FourWeekly' 'Yearly')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay schedule object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "97c8bd1e-53b8-4ab3-bdf1-20d77759f303", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "14d145a8-b04c-4329-8684-a225479deff4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "21bc06cc-d6c5-4731-941c-93f2485a51d5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5b72d2be-a28d-40ad-b14c-96a8d1c2ba27", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "67999ae0-12e7-4882-b56e-ac3375565b68", "documentation": "Updates a pay schedule", "method": "put", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId", "responses": [ { "uuid": "6116c4d3-fe4d-49ad-b6c0-43fbcc16f9d0", "body": "{\n \"PaySchedule\": {\n \"MetaData\": {},\n \"Name\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Weekly' 'Monthly' 'TwoWeekly' 'FourWeekly' 'Yearly')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay schedule object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "13243d65-ec21-4b93-b512-21b8ea84311b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "db041313-e674-4943-abb9-ea70749f8346", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "59da9f22-cc30-40d3-960b-b808a7555b85", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "620120ec-a69c-4b42-81c4-a3307e46e65d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ea33d0f0-817e-4c41-a4d9-6b1d2c4337ed", "documentation": "Get all employees revisions from a pay schedule.", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/Employees", "responses": [ { "uuid": "657baba3-3dd7-4a19-bed0-933b29b6e86e", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "fefae4f1-3a79-46c2-9761-c73e63cd8e69", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "de515735-7bc4-456b-812d-12abad6ec25c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b8913032-f618-4af8-8402-8b5d4b4ee8bc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "16de9f9e-1ae9-44ec-bd68-b83e4cb6ede8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "76044c30-8929-44f2-999f-a60ba41e18d9", "documentation": "Get employees from a pay schedule on effective date.", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/Employees/:EffectiveDate", "responses": [ { "uuid": "e637375a-8ecb-434f-a21c-373741e97585", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "27c11633-2c63-4501-a8c7-71259adde40e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9e6ac519-20ef-42f8-8289-11300a6f9dc4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9931b609-7714-441a-b509-913c2c0ae76d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e70e7878-056f-4033-b91b-5821504ca954", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "12fce4ef-fe50-41ad-8879-dd7abcd8d5ce", "documentation": "Deletes a pay run", "method": "delete", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId", "responses": [ { "uuid": "5a8fb0e5-5c6b-4db7-8bca-32714a25b9e3", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a8dc02ce-142a-465a-bf40-3a75ec274847", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6d6be2e7-83ff-48c8-83a2-70191d4a195f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "228e6dc6-195b-46ca-af18-e388029330a9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dee0adb8-aa1b-4a74-a99f-778dda3cc7c0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "184302e4-4f70-4274-82b2-9ac13bd7a0ba", "documentation": "Gets the pay run from the pay schedule", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId", "responses": [ { "uuid": "15662f1a-0f2e-4e7a-999a-a26cd93261ec", "body": "{\n \"PayRun\": {\n \"Executed\": \"{{faker 'date.recent' 365}}\",\n \"IsSupplementary\": {{faker 'datatype.boolean'}},\n \"PayFrequency\": \"{{oneOf (array 'Weekly' 'Monthly' 'TwoWeekly' 'FourWeekly' 'Yearly')}}\",\n \"PaySchedule\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PaymentDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PeriodEnd\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PeriodStart\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"ProceedingPayRun\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Sequence\": {{faker 'datatype.number'}},\n \"TaxPeriod\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pay run object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3eea76d3-4fb3-4eb2-8708-71674ea73f9d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ce103837-bea8-4e3c-80e1-6be4a207f4ce", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "454f2e46-4c6f-4055-be37-4323abba6515", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5ad6bc2f-f1c4-4e6d-8f9a-ef1d0194f031", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f8091941-3208-400b-9f4e-f62a8fd25422", "documentation": "Get the auto enrolment assessments", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/AEAssessments", "responses": [ { "uuid": "45fbf2e4-a520-4d5c-bfe1-48171dbe6297", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3ce9ca58-1528-465a-92ce-af077b235567", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "16180ffe-d0b4-454e-ab93-420cd980f986", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "73782551-f269-4cb9-8d00-eb54d42e399d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ae63f68e-0841-48a4-aac6-dca45da5d3cf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "61bb1896-4f92-47b6-b21d-1de23905fa10", "documentation": "Get links to all commentaries for the specified pay run", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Commentaries", "responses": [ { "uuid": "bea197a2-2041-419f-882b-72261141a6c5", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "bd6f9870-a73c-4d2a-8419-b03d49694321", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ba1ec2aa-9284-4e1d-ad53-b51868b93f6b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7abc8ac0-078b-4804-b18b-5a2f022a008b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1c04e307-4803-4b89-9e36-6560a37c42c9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "a246ca40-3bf7-499b-a1ad-c841255dea4d", "documentation": "Deletes a pay run employee", "method": "delete", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Employee/:EmployeeId", "responses": [ { "uuid": "604ab41d-54bf-48b3-8232-944ff2f9fc0c", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "dfbcf58a-9a4f-497d-9905-49fba3c2104e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b1f6c335-9889-4350-8486-042f80f40964", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8bdf4909-4e2f-4510-ac6a-0ff9ba5551e4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a6782867-84fe-45c3-a8df-85fc54a7e8e6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e7abad41-3aee-462b-8d65-fbf6258559a4", "documentation": "Get commentary from payrun by specified employee.", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Employee/:EmployeeId/Commentary", "responses": [ { "uuid": "b606622d-e3fb-4bba-8f00-b88c6692fb41", "body": "{\n \"Commentary\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"Detail\": \"\",\n \"Employee\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PayRun\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The commentary object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "075a2b89-8e48-4115-8f6b-806f343215a4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e2475a6d-c719-4641-b5f6-1b0003155af0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "67e8e15f-d5ab-4dee-9fb6-19984ae800c7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3d20c35a-c960-43d2-9bc1-eb60f9c7ac71", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3120c964-605e-41e9-ac9c-9be009dfbdd3", "documentation": "Get employees from the pay run", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Employees", "responses": [ { "uuid": "e11ede65-7f27-41a6-a4f9-b7498f683d55", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "0e278b97-a0b6-49fc-adb8-ea996e11060c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fadfaee8-baf7-4d08-ad6c-91cc8d8f3f15", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2b9edb59-ddaf-42d2-92c4-bd0eb9b2de30", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "84cd0145-96c6-469c-a9ff-f88e1c5c17e5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "72500413-c6c3-46d9-be74-6ea2bcaf55cb", "documentation": "Gets the journal Lines from the specified pay run", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/JournalLines", "responses": [ { "uuid": "ddfdc120-1a49-4e47-814d-45a8288a1351", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "59acada5-a7d7-40b9-b6f1-d5dc672fb354", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4181ea66-8024-4c84-98a2-019c55eb4959", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "87185fde-5248-42cb-8fee-1a6b38e79204", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c240b7c1-7028-4d1a-acb5-8b25e0ba51cd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c27775e3-ce9a-4e4a-9835-4af40372a839", "documentation": "Gets the report lines from the specified pay run", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/ReportLines", "responses": [ { "uuid": "feff528c-981d-4081-9368-8a5fca3a80ab", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "41870412-fa67-4fed-b4d5-b66723e62035", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "039e9432-fc9a-4bf3-a0c3-aa839a4638ae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "76f28d2b-cffd-41d1-893e-26dbc1fe3567", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6e326076-7f79-4878-bd09-a933c6ec08f6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "178567df-60c6-4b6e-95e2-ae49b38041a6", "documentation": "Delete pay run tag", "method": "delete", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Tag/:TagId", "responses": [ { "uuid": "2d0bc54c-3a9f-4b29-a7ec-d9c1a49a2449", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4ffe9dc8-6f75-4357-bed6-ce37bf7cfe45", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "afbd49db-fa5b-4fd0-9231-eafda1c7f9ee", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fbf8b522-5bdf-422e-9008-d05d4239adb8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "207353a1-4e04-4124-be62-1c58970bf64d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "bad2d897-4ded-4b27-8dcc-700e0564c220", "documentation": "Get pay run tag", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Tag/:TagId", "responses": [ { "uuid": "b45665b0-735c-4285-84b6-18c6fa0231de", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "15a05017-da44-4037-a4d0-7ddee085d198", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "863d555d-12b3-4142-90f5-7e2df943da44", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "16c1cbe7-1ac0-4f92-9a86-8348ce07528a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "aceb7104-f56c-44ed-bcd0-c59c56bfbaf5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "5414cdfd-363b-4bfc-adc2-f9ade1ebcc01", "documentation": "Insert pay run tag", "method": "put", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Tag/:TagId", "responses": [ { "uuid": "f479cf0a-1d25-4682-a3fc-512d2effb9ad", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c65394b2-e0d8-4216-9601-3d3275738e29", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c0a0f2eb-6808-4635-b768-adba4312b724", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "973cb034-c8f3-41cb-8482-52f600838080", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9ab1ee28-5580-462d-a4e0-ef230e90288c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "91fbeaed-c9ab-47b3-bc38-30b609b74bc2", "documentation": "Get all pay run tags", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRun/:PayRunId/Tags", "responses": [ { "uuid": "3500c9b5-400e-41b3-9329-d6366b732458", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a584743f-ff21-4a87-92f2-49636240d679", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1df4e55b-c432-428a-83b9-2defb7c65a08", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fd34dfa6-4bc1-4078-87c0-70f2ff680bd7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9abda6df-f5c5-40eb-948e-be47f89321b3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2f06e842-8382-4d18-8896-fd8bdf33a6ea", "documentation": "Gets the pay runs from the pay schedule", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRuns", "responses": [ { "uuid": "c353622a-bf1d-4fac-b150-d2ba358001ff", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "105cf520-23e7-4eeb-924d-7f2057926599", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6a1bf737-52a4-4d70-bdc1-e6e65e836c13", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3a31df64-e864-471b-846f-eccd673b96b4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6f7532dd-5b66-44d0-a246-a21c4aa8365e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "591f4531-e8e9-4f63-b01b-0e3133a150ca", "documentation": "Get pay runs with tag", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRuns/Tag/:TagId", "responses": [ { "uuid": "7c6aaee2-edb6-4a91-9999-b08d6bd87249", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "970f40c4-a740-4bda-9908-23ca06f3ff3a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a0832586-02e7-4a71-a312-48a72c471ede", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3985219d-0d4d-4ba6-a179-6d6bfe6213c2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "edfd612c-76f9-4eac-9a83-60941903b0f0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "68cc20e3-ebea-49e7-837c-223005751cf1", "documentation": "Get all pay run tags", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/PayRuns/Tags", "responses": [ { "uuid": "8f01ce54-e408-4c2a-b5f1-3b87ebde80a1", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "cebc0fb0-67bb-4a67-ae2b-bf0246312175", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d6e1e3eb-69c3-4ac0-bc56-9c7b87a2700b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ddad6be2-9aa0-48c7-9a7c-ee9ca041540b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e8f58235-b5bf-44bb-83dd-38d9a6c402b7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "69885f30-2419-4c81-a95c-423f07aa439c", "documentation": "Delete pay schedule tag", "method": "delete", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/Tag/:TagId", "responses": [ { "uuid": "63e64256-ffef-43c0-aae5-bf02773c0e53", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "a3b8800c-66a9-44ab-8025-03e5f3f5134a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "036c5d71-cd48-4ff2-a2d5-ee74e05eeab2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "63b7bb5f-22a4-498d-af8d-d0c8732edb2f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "237f7c53-0a6a-4f30-910e-000992abac53", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "0b4ccb5a-111d-4fb7-9765-6f17263acb0b", "documentation": "Get pay schedule tag", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/Tag/:TagId", "responses": [ { "uuid": "7d9b2940-3f10-44bf-9c5f-d1ad4c047282", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "7cff7a8d-8629-4774-85ff-6b76c3dd0633", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e6d20d74-ac4c-4c35-9d25-0bedaf7ce5f3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9b808410-2d8b-4764-9671-f9fb439b87d4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f1b50275-57b7-4d94-9941-d998f9a72426", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "8ad6914c-0163-4bc2-9ee9-d1c40af72aae", "documentation": "Insert pay schedule tag", "method": "put", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/Tag/:TagId", "responses": [ { "uuid": "2e85e284-d434-41a8-becd-016ff211f44f", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "1167fff9-94e0-4c84-b643-593f8f7edf59", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e4b4c25b-855e-415c-b5c4-4e54fe328e4c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ee8b5197-8429-4b0f-b29c-2b01c8555078", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "873ee72a-fb7d-47f2-b762-775f4b642ca5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "1570d25f-2521-4119-9d2a-c74030027f80", "documentation": "Get all pay schedule tags", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedule/:PayScheduleId/Tags", "responses": [ { "uuid": "9a7259f0-f3d6-4f8b-a478-0b0c140f69d4", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "078bf169-305e-4aa9-878a-d6b25a1f5dc6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b0de40d6-ae57-445f-8bbe-55628a12d103", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "97b9bd51-0009-4d8e-9c92-430a21adb72a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ff822f73-7396-4227-9a6b-222f698c0df7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "132077cb-b73e-4705-a3ac-204304f2d73b", "documentation": "Gets the pay schedule from the specified employer", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedules", "responses": [ { "uuid": "89237d13-4cdf-4fa3-81da-440461cb3f9b", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "04e255b8-2f43-441a-8f59-e864e8b73c64", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4489d3af-bc88-403d-8d64-790ab018b2ef", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9e8fe3a1-6b4f-47dc-a356-cb169c6ca8b1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3834b3ab-0534-4bf3-a007-caafa991d1e6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "72f5a451-2840-4653-a0f2-6fbe31ff935b", "documentation": "Create a new pay schedule", "method": "post", "endpoint": "Employer/:EmployerId/PaySchedules", "responses": [ { "uuid": "314d6ea1-dddc-46e3-aff7-227203493893", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "16098a00-8e98-48d3-8645-c7f5619ef9d9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a92ba287-ce23-4303-acc6-478226e23151", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8054db67-a3c6-4af2-81f4-de09d0719895", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "440561bb-60bc-4d3e-b729-9a607b7f2f72", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "feb2e2f9-61fd-4b40-b5bb-645bb09d29f4", "documentation": "Get pay schedule with tag", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedules/Tag/:TagId", "responses": [ { "uuid": "020105cb-cd4d-45c9-9416-8414253a8d50", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "1ef8b6d3-516c-4014-8423-9945e23bee97", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "542212f3-e23e-42b1-bda3-d58522455349", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2557c995-73de-41d9-a26f-5ddeac4ed6e7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "433e7084-3d99-4d3e-807b-efdd210f53bb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b0c2e564-9eb8-4359-a547-43ca688dc1a3", "documentation": "Get all pay schedule tags", "method": "get", "endpoint": "Employer/:EmployerId/PaySchedules/Tags", "responses": [ { "uuid": "a14e61d8-bede-4abc-b210-11c9a8426420", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "af4591e1-15af-4d7b-ad3e-84250bbaf18a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b6a0f561-b424-4efc-a38b-e4e65b884d18", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "048af691-c37f-4428-9eaa-d7607fbfdc5f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "51de528d-2d9f-43fd-a10d-663a789a7b5c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "478a7f01-1e16-4825-9b81-9d3022225114", "documentation": "Delete a Pension", "method": "delete", "endpoint": "Employer/:EmployerId/Pension/:PensionId", "responses": [ { "uuid": "7d63bb90-5536-4fe7-8471-9264e748f144", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "f5a7a2af-86d6-4592-bb8e-f21e9e818986", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "342f0a6c-2bb4-4619-9217-4bf1854ede4e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5941783e-d7bb-4ced-85c3-4d8e263d05d0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9f752ea9-0728-4b2a-8b3f-175e98017835", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "6ece07e1-2dd9-40ec-8c99-07fe41a6efd5", "documentation": "Get pension from employer", "method": "get", "endpoint": "Employer/:EmployerId/Pension/:PensionId", "responses": [ { "uuid": "dc0b40a6-5f6a-4a5f-81c1-ef9d60216894", "body": "{\n \"Pension\": {\n \"AECompatible\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"ContributionDeductionDay\": {{faker 'datatype.number'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeeContributionCash\": {{faker 'datatype.float'}},\n \"EmployeeContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerContributionCash\": {{faker 'datatype.float'}},\n \"EmployerContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerNiSaving\": {{faker 'datatype.boolean'}},\n \"EmployerNiSavingPercentage\": {{faker 'datatype.float'}},\n \"Group\": \"\",\n \"LowerThreshold\": {{faker 'datatype.float'}},\n \"MetaData\": {},\n \"PensionablePayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"ProRataMethod\": \"{{oneOf (array 'NotSet' 'Annual260Days' 'Annual365Days' 'AnnualQualifyingDays' 'DaysPerCalendarMonth' 'DaysPerTaxPeriod' 'WorkingDaysPerCalendarMonth' 'WeekDaysPerCalendarMonth')}}\",\n \"ProviderEmployerRef\": \"\",\n \"ProviderName\": \"\",\n \"QualifyingPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"RasRoundingOverride\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RoundingOption\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"SalarySacrifice\": {{faker 'datatype.boolean'}},\n \"SchemeName\": \"\",\n \"SubGroup\": \"\",\n \"TaxationMethod\": \"{{oneOf (array 'NotSet' 'NetBased' 'ReliefAtSource' 'TaxReliefExcluded')}}\",\n \"UpperThreshold\": {{faker 'datatype.float'}},\n \"UseAEThresholds\": {{faker 'datatype.boolean'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pension object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "ef40fb11-0b7f-417c-a676-821544a89410", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bdaf190c-f2ae-4155-930f-28751702b4f1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "44e86f3e-f388-49f0-b516-c59ad5015cb3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a43e6bb6-a5ef-4a06-9740-8a806bf704a2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "5e9e3e62-5574-41b6-ab54-1713b8e5c8e9", "documentation": "Patches the pension", "method": "patch", "endpoint": "Employer/:EmployerId/Pension/:PensionId", "responses": [ { "uuid": "05d199aa-9b5a-43ec-aa9e-1d545be7cab5", "body": "{\n \"Pension\": {\n \"AECompatible\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"ContributionDeductionDay\": {{faker 'datatype.number'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeeContributionCash\": {{faker 'datatype.float'}},\n \"EmployeeContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerContributionCash\": {{faker 'datatype.float'}},\n \"EmployerContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerNiSaving\": {{faker 'datatype.boolean'}},\n \"EmployerNiSavingPercentage\": {{faker 'datatype.float'}},\n \"Group\": \"\",\n \"LowerThreshold\": {{faker 'datatype.float'}},\n \"MetaData\": {},\n \"PensionablePayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"ProRataMethod\": \"{{oneOf (array 'NotSet' 'Annual260Days' 'Annual365Days' 'AnnualQualifyingDays' 'DaysPerCalendarMonth' 'DaysPerTaxPeriod' 'WorkingDaysPerCalendarMonth' 'WeekDaysPerCalendarMonth')}}\",\n \"ProviderEmployerRef\": \"\",\n \"ProviderName\": \"\",\n \"QualifyingPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"RasRoundingOverride\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RoundingOption\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"SalarySacrifice\": {{faker 'datatype.boolean'}},\n \"SchemeName\": \"\",\n \"SubGroup\": \"\",\n \"TaxationMethod\": \"{{oneOf (array 'NotSet' 'NetBased' 'ReliefAtSource' 'TaxReliefExcluded')}}\",\n \"UpperThreshold\": {{faker 'datatype.float'}},\n \"UseAEThresholds\": {{faker 'datatype.boolean'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pension object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "ce1ea9f6-1485-4dd6-964c-24b7012e88c8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "74978772-b2d3-4c16-8a22-783dd9f60132", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b67695c9-b3ca-45b9-b8b0-24fc885aec2a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0c802508-6bd7-44c0-9a0c-37fdee9f85e2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "d3dac7c5-6a34-4d0b-8d64-7c8e3ddd4862", "documentation": "Updates the Pension", "method": "put", "endpoint": "Employer/:EmployerId/Pension/:PensionId", "responses": [ { "uuid": "896569a5-2b3f-44e2-a6c5-c0e5997dd245", "body": "{\n \"Pension\": {\n \"AECompatible\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"ContributionDeductionDay\": {{faker 'datatype.number'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeeContributionCash\": {{faker 'datatype.float'}},\n \"EmployeeContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerContributionCash\": {{faker 'datatype.float'}},\n \"EmployerContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerNiSaving\": {{faker 'datatype.boolean'}},\n \"EmployerNiSavingPercentage\": {{faker 'datatype.float'}},\n \"Group\": \"\",\n \"LowerThreshold\": {{faker 'datatype.float'}},\n \"MetaData\": {},\n \"PensionablePayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"ProRataMethod\": \"{{oneOf (array 'NotSet' 'Annual260Days' 'Annual365Days' 'AnnualQualifyingDays' 'DaysPerCalendarMonth' 'DaysPerTaxPeriod' 'WorkingDaysPerCalendarMonth' 'WeekDaysPerCalendarMonth')}}\",\n \"ProviderEmployerRef\": \"\",\n \"ProviderName\": \"\",\n \"QualifyingPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"RasRoundingOverride\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RoundingOption\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"SalarySacrifice\": {{faker 'datatype.boolean'}},\n \"SchemeName\": \"\",\n \"SubGroup\": \"\",\n \"TaxationMethod\": \"{{oneOf (array 'NotSet' 'NetBased' 'ReliefAtSource' 'TaxReliefExcluded')}}\",\n \"UpperThreshold\": {{faker 'datatype.float'}},\n \"UseAEThresholds\": {{faker 'datatype.boolean'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pension object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "40967167-f89b-43f1-ba10-f1b536759103", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "77af8ed9-4f8b-4b4b-9efe-d579eca38e6e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c62fc90f-9699-4b55-9450-36d83d233233", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a40e7654-16e4-40bb-9c21-098cdd0886b7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "93fe7144-8eca-47e4-b6aa-2608a699cc01", "documentation": "Delete an Pension revision matching the specified revision number.", "method": "delete", "endpoint": "Employer/:EmployerId/Pension/:PensionId/Revision/:RevisionNumber", "responses": [ { "uuid": "182f6509-9171-4aa9-855d-dd5b6c465ce0", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e87aa4e0-90fa-48fb-b193-06befc5feb7d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "660e7096-e507-4b3e-a312-a0399f365dda", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6a81d28a-aef9-4b2c-a8e2-5a562e305c7e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "82a30cf7-024c-4927-bd32-3f2eb883e453", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "21ff0f9a-1fa4-4c4c-af45-b4eb38ad231d", "documentation": "Gets the pension by revision number", "method": "get", "endpoint": "Employer/:EmployerId/Pension/:PensionId/Revision/:RevisionNumber", "responses": [ { "uuid": "bfe2fab5-cf71-4651-b936-930fe1966fd4", "body": "{\n \"Pension\": {\n \"AECompatible\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"ContributionDeductionDay\": {{faker 'datatype.number'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeeContributionCash\": {{faker 'datatype.float'}},\n \"EmployeeContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerContributionCash\": {{faker 'datatype.float'}},\n \"EmployerContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerNiSaving\": {{faker 'datatype.boolean'}},\n \"EmployerNiSavingPercentage\": {{faker 'datatype.float'}},\n \"Group\": \"\",\n \"LowerThreshold\": {{faker 'datatype.float'}},\n \"MetaData\": {},\n \"PensionablePayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"ProRataMethod\": \"{{oneOf (array 'NotSet' 'Annual260Days' 'Annual365Days' 'AnnualQualifyingDays' 'DaysPerCalendarMonth' 'DaysPerTaxPeriod' 'WorkingDaysPerCalendarMonth' 'WeekDaysPerCalendarMonth')}}\",\n \"ProviderEmployerRef\": \"\",\n \"ProviderName\": \"\",\n \"QualifyingPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"RasRoundingOverride\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RoundingOption\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"SalarySacrifice\": {{faker 'datatype.boolean'}},\n \"SchemeName\": \"\",\n \"SubGroup\": \"\",\n \"TaxationMethod\": \"{{oneOf (array 'NotSet' 'NetBased' 'ReliefAtSource' 'TaxReliefExcluded')}}\",\n \"UpperThreshold\": {{faker 'datatype.float'}},\n \"UseAEThresholds\": {{faker 'datatype.boolean'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pension object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e5b38766-352a-4d99-94cf-3a569b6a64c5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b10f9535-5edf-411e-b6fb-1ac5d9eaf4d6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ccc96674-7692-4334-b334-a8b1b8dbc6c5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7aa3e8be-6ab0-4b5e-ad0d-40727a9e3d43", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f7b94225-2deb-4582-8383-abb4bfcddce0", "documentation": "Get all pension revisions", "method": "get", "endpoint": "Employer/:EmployerId/Pension/:PensionId/Revisions", "responses": [ { "uuid": "6c0713d3-5220-4a4a-afe3-d1c527bab04b", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "475b1dff-96ad-4a14-b932-566cd6b15cba", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "97643901-637a-4e69-afd2-e9c5cf02df9f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9b75521f-c159-49b8-8d71-b1e34016ab2c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0d95b162-cbe9-438d-8f70-80efdf215c39", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "13f47ea8-aff2-47a2-ac6f-61a9e10f2fed", "documentation": "Delete an Pension revision matching the specified revision date.", "method": "delete", "endpoint": "Employer/:EmployerId/Pension/:PensionId/:EffectiveDate", "responses": [ { "uuid": "d1949787-f591-4efd-a734-e79235c5b6bd", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "0654098f-dd23-40bb-b602-59b4b0790513", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1f4ccdc0-c6b8-4164-a3a0-e0c7b3ae4d65", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a01a6d26-c8be-421f-8913-69cb6e2c50f8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "29ec2714-7391-47a6-88d5-cbaca19cb61d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2bc756bd-a32f-4d02-be8f-f42d4fa94306", "documentation": "Get pension by effective date.", "method": "get", "endpoint": "Employer/:EmployerId/Pension/:PensionId/:EffectiveDate", "responses": [ { "uuid": "0dcf2596-98ac-48df-97a3-65397c72289c", "body": "{\n \"Pension\": {\n \"AECompatible\": {{faker 'datatype.boolean'}},\n \"Code\": \"\",\n \"ContributionDeductionDay\": {{faker 'datatype.number'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"EmployeeContributionCash\": {{faker 'datatype.float'}},\n \"EmployeeContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerContributionCash\": {{faker 'datatype.float'}},\n \"EmployerContributionPercent\": {{faker 'datatype.float'}},\n \"EmployerNiSaving\": {{faker 'datatype.boolean'}},\n \"EmployerNiSavingPercentage\": {{faker 'datatype.float'}},\n \"Group\": \"\",\n \"LowerThreshold\": {{faker 'datatype.float'}},\n \"MetaData\": {},\n \"PensionablePayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"ProRataMethod\": \"{{oneOf (array 'NotSet' 'Annual260Days' 'Annual365Days' 'AnnualQualifyingDays' 'DaysPerCalendarMonth' 'DaysPerTaxPeriod' 'WorkingDaysPerCalendarMonth' 'WeekDaysPerCalendarMonth')}}\",\n \"ProviderEmployerRef\": \"\",\n \"ProviderName\": \"\",\n \"QualifyingPayCodes\": {\n \"PayCode\": [\n \"\"\n ]\n },\n \"RasRoundingOverride\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RoundingOption\": \"{{oneOf (array 'NotSet' 'PennyUp' 'PennyDown' 'Bankers' 'FiveUp' 'FiveDown' 'Floor' 'Ceiling')}}\",\n \"SalarySacrifice\": {{faker 'datatype.boolean'}},\n \"SchemeName\": \"\",\n \"SubGroup\": \"\",\n \"TaxationMethod\": \"{{oneOf (array 'NotSet' 'NetBased' 'ReliefAtSource' 'TaxReliefExcluded')}}\",\n \"UpperThreshold\": {{faker 'datatype.float'}},\n \"UseAEThresholds\": {{faker 'datatype.boolean'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The pension object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "51fb2ee6-15bd-421e-a256-7837e5df2286", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "39747358-faa7-4284-b848-07510211d139", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d47a5cd0-9250-4083-b1f0-61fe862b9569", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ae2418b7-9756-45cc-a49f-7c83d9e20215", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "29f7baa5-afb5-4ab2-9407-1da97fd50eb1", "documentation": "Get pensions from employer.", "method": "get", "endpoint": "Employer/:EmployerId/Pensions", "responses": [ { "uuid": "1fd6d0a6-7256-474d-b4f2-7faa693821d5", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "bbb5e5f3-527e-4b90-9397-183fabb14b39", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "44b4520b-7761-458f-bd46-b4c840eeae5f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d516c069-6aa8-4a69-bf3d-05d07441e334", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dc57b95f-58b0-43f5-8300-5ee4d024bc4d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b6ecf841-8b21-4e0e-bf0a-f03730a39529", "documentation": "Create a new Pension", "method": "post", "endpoint": "Employer/:EmployerId/Pensions", "responses": [ { "uuid": "df34f340-4395-4e07-a7d8-fa8652d786de", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "1ad07f54-e39c-405e-be11-75214e520fb4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "65cf77b7-29c1-4ba6-905b-b5add789d4f7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a375b7e1-2c1a-4812-9b73-c2569243be27", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d23b0b75-7ca4-4f6d-abf8-c02c48b875cc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c0655bc7-4e44-431e-9d77-fe9fce522b52", "documentation": "Get pensions from employer at a given effective date.", "method": "get", "endpoint": "Employer/:EmployerId/Pensions/:EffectiveDate", "responses": [ { "uuid": "ebac1659-2383-457a-9b15-a89084f2ef00", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "04ac5399-e9af-40ac-bb7c-26c4fa2e17f3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "800c16a6-45de-4291-9b2c-06e08655b662", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cb2f70ad-c0fe-4cb2-9f36-3110a3b15e52", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "97d61aeb-39fa-4920-b70a-7e52a6e06431", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "50d6a01c-6d32-4db6-a153-b883e9f97801", "documentation": "Gets the specified report line from the employer", "method": "get", "endpoint": "Employer/:EmployerId/ReportLine/:ReportLineId", "responses": [ { "uuid": "cb62549c-361e-4310-b1d5-3b6075f6cc9a", "body": "{\n \"ReportLine\": {\n \"Description\": \"\",\n \"Generated\": \"{{faker 'date.recent' 365}}\",\n \"TaxMonth\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The report line object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "25656ea8-d19b-45d3-b9d2-eaa6b39d84de", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dd7a4965-08d6-4747-8594-02166a40beec", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9e015c20-78a5-4471-9366-d1fba915f8d6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "28a50646-21d0-4f80-8fab-bd9badc35a4a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2e557151-a631-432d-8ea4-0c39215fbba4", "documentation": "Gets the report lines from the specified employer", "method": "get", "endpoint": "Employer/:EmployerId/ReportLines", "responses": [ { "uuid": "75d1032a-5c0a-4b52-ac74-33c80c64580e", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "f036d292-1ae4-42e4-a0ca-b26541c3cb3a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "490059f0-27ca-40e3-b6d2-e554cf81ca59", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "54690b7d-689b-4ea1-af66-4d75207a8f44", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "067b21cd-2a6c-4beb-93a5-16621462096b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "67bf6670-7662-4e6a-8331-30a994e51c16", "documentation": "Deletes a reporting instruction", "method": "delete", "endpoint": "Employer/:EmployerId/ReportingInstruction/:ReportingInstructionId", "responses": [ { "uuid": "a0631668-388b-44c2-8f58-b891e0120d68", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "39897909-e276-4e00-9661-bcdfb9427e6f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9d4e074a-0edd-491e-95b1-14469269a337", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e93d6cbd-44d1-49c1-bb6e-545ab99bc233", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "443654fe-f155-401d-96c8-343eb4440dc2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "fed8588c-dd3d-410e-b142-a495f89314a5", "documentation": "Gets the specified reporting instruction from the employer", "method": "get", "endpoint": "Employer/:EmployerId/ReportingInstruction/:ReportingInstructionId", "responses": [ { "uuid": "731d6fa9-bbcc-4b37-8ba8-489cd7f40fb9", "body": "{\n \"ReportingInstruction\": {\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"TaxMonth\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The reporting instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "20325ea0-8ad0-4c72-8942-51b5c561ced8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8c879665-a75e-47fe-b527-2bc1e37760bc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d167bf0f-ea61-425d-81f0-650fee27ca64", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "649a9113-4162-44c8-8793-730c68797688", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "98cca7fc-2bbc-4270-b26f-5c198e34594b", "documentation": "Update a reporting Instruction", "method": "put", "endpoint": "Employer/:EmployerId/ReportingInstruction/:ReportingInstructionId", "responses": [ { "uuid": "9596c792-fa25-40df-8f3f-1778ca9221de", "body": "{\n \"ReportingInstruction\": {\n \"EndDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"StartDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"TaxMonth\": {{faker 'datatype.number'}},\n \"TaxYear\": {{faker 'datatype.number'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The reporting instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "1e8d552f-2ea1-461c-ad9e-9a57427526ff", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7ec5ec16-8c77-472d-a039-06c8f8b78973", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "781355b4-13f0-46c3-939a-b7940c0f4c97", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "840a2feb-21fa-41bf-887b-c8620e6da289", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ec2a9b9f-f62c-431d-a6f7-b267b4517706", "documentation": "Gets the reporting instructions from the specified employer", "method": "get", "endpoint": "Employer/:EmployerId/ReportingInstructions", "responses": [ { "uuid": "f2abd7ed-e99a-4492-8148-d43c460e87e9", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "49cc5ce6-bc55-4edc-a676-e01d1ce05e1e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7763a98a-65d6-4b21-85e6-dd2c9fa3055b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c1ee89e9-d36b-4cf6-b743-ee06b3b6bb0a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1ec9977f-f292-44b5-9f00-fe12870dab33", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "baaab939-b402-4ed2-85be-608a3c197ead", "documentation": "Creates a new Reporting Instruction", "method": "post", "endpoint": "Employer/:EmployerId/ReportingInstructions", "responses": [ { "uuid": "452da141-65ed-425b-afd0-ba0196a3c467", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "46c14208-ea4f-4d34-b390-7d23927241b5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f2811ab5-99f3-4b61-acb8-8d6cc092c0ef", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "34a10d51-58e2-42b2-ba4b-86118ca67f0b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7b1a6840-f9d8-471f-9b6d-bcf12c3abdd7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2ada2b01-be82-4b43-8f0f-2b397cdfc532", "documentation": "Delete an Employer revision matching the specified revision number.", "method": "delete", "endpoint": "Employer/:EmployerId/Revision/:RevisionNumber", "responses": [ { "uuid": "184d9ffa-1b11-438c-9cf1-9aaf246dde69", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "34d5cac4-cb2a-4079-89b2-e34b58d4b9c4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2422185c-9b1a-4ec8-8dfc-04e121794e9e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "81c6f883-bd62-4da2-9a94-5b3a2676a152", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6c28f284-0c78-429b-8a37-1216880bb2fb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3f5917d1-e548-471d-9ba7-fa9379da891f", "documentation": "Gets the employer by revision number", "method": "get", "endpoint": "Employer/:EmployerId/Revision/:RevisionNumber", "responses": [ { "uuid": "73726530-ae45-4c5f-91aa-75ab49351bf7", "body": "{\n \"Employer\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"ApprenticeshipLevyAllowance\": {{faker 'datatype.float'}},\n \"AutoEnrolment\": {\n \"Pension\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"PostponementDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"PrimaryEmail\": \"\",\n \"PrimaryFirstName\": \"\",\n \"PrimaryJobTitle\": \"\",\n \"PrimaryLastName\": \"\",\n \"PrimaryTelephone\": \"\",\n \"ReEnrolmentDayOffset\": {{faker 'datatype.number'}},\n \"ReEnrolmentMonthOffset\": {{faker 'datatype.number'}},\n \"SecondaryEmail\": \"\",\n \"SecondaryFirstName\": \"\",\n \"SecondaryJobTitle\": \"\",\n \"SecondaryLastName\": \"\",\n \"SecondaryTelephone\": \"\",\n \"StagingDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\"\n },\n \"BacsServiceUserNumber\": \"\",\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"CalculateApprenticeshipLevy\": {{faker 'datatype.boolean'}},\n \"ClaimEmploymentAllowance\": {{faker 'datatype.boolean'}},\n \"ClaimSmallEmployerRelief\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"HmrcSettings\": {\n \"AccountingOfficeRef\": \"\",\n \"COTAXRef\": \"\",\n \"ContactEmail\": \"\",\n \"ContactFax\": \"\",\n \"ContactFirstName\": \"\",\n \"ContactLastName\": \"\",\n \"ContactTelephone\": \"\",\n \"EmploymentAllowanceOverride\": {{faker 'datatype.float'}},\n \"Password\": \"\",\n \"SAUTR\": \"\",\n \"Sender\": \"{{oneOf (array 'Employer' 'Individual' 'Company' 'Agent' 'Bureau' 'Partnership' 'Trust' 'Government' 'ActingInCapacity' 'Other')}}\",\n \"SenderId\": \"\",\n \"StateAidSector\": \"{{oneOf (array 'Agriculture' 'FisheriesAquaculture' 'RoadTransport' 'Industrial' 'NotApplicable')}}\",\n \"TaxOfficeNumber\": \"\",\n \"TaxOfficeReference\": \"\"\n },\n \"MetaData\": {},\n \"Name\": \"\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"RuleExclusions\": \"{{oneOf (array 'None' 'NiMissingPayInstructionRule' 'TaxMissingPayInstructionRule' 'TaxCodeUpliftRule' 'NiSetExpectedLetterRule' 'NiDateOfBirthChangeRetrospectiveCRule' 'NiDefermentStatusChangeRule' 'NiEndContractedOutTransferRule' 'PaymentAfterLeavingRule' 'LeaverEndInstructionsRule' 'P45StudentLoanInstructionRule' 'P45TaxInstructionRule' 'P45YtdTaxRule' 'YtdInstructionRule' 'TaxCodeRegionChangeRule' 'AutoEnrolmentStatusChangeRule' 'EmployeeDeceasedRule' 'BenefitInstructionAutoEndRule')}}\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employer object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "13b1195f-29fa-4c9a-be05-45f4d6c6e1f0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b6355af1-95ff-48b1-a970-5d3295fc07e5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dc35f27b-aed3-40c5-95d7-f1bc98b6dc68", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "72d32a6b-48a9-4d89-97df-0a37641a41a4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e092750d-e959-422b-8dc7-4c41742c4afe", "documentation": "Gets the employer revisions", "method": "get", "endpoint": "Employer/:EmployerId/Revisions", "responses": [ { "uuid": "e6a32bf8-ba99-456a-8dc4-99011c8020ea", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "802336c0-df01-4c6f-b5c3-71261daacc81", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "231dc93f-5a64-48ad-a5d8-4fb161985f72", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fe7448b2-ea00-4a36-a7a9-2dcdb8ec64e4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2f4e149b-939b-4d19-9e78-53fe3fa29310", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "59f5a87e-620a-44a7-a8cc-98a96658c039", "documentation": "Delete the RTI transaction", "method": "delete", "endpoint": "Employer/:EmployerId/RtiTransaction/:RtiTransactionId", "responses": [ { "uuid": "cf25de05-fcb0-4908-945c-301cab705fbc", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6444ecbd-0996-4ea8-8e67-af6733cc1435", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3f91a424-6369-4ed8-a0ad-955340290c47", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f0551710-2ff5-453c-aef0-d70bd93d4753", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4b7a7d4e-99f1-4450-bcb9-731b30ec8713", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "d19679bd-d05a-4648-909e-0d1762a88bd8", "documentation": "Get the RTI transaction", "method": "get", "endpoint": "Employer/:EmployerId/RtiTransaction/:RtiTransactionId", "responses": [ { "uuid": "4c627075-4b5a-4809-b7b9-7180a4e99dd3", "body": "{\n \"RtiTransactionBase\": {\n \"EmployerCore\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"RequestData\": \"\",\n \"ResponseData\": \"\",\n \"RtiType\": \"\",\n \"TaxYear\": {{faker 'datatype.number'}},\n \"Timestamp\": \"{{faker 'date.recent' 365}}\",\n \"TransactionStatus\": \"{{oneOf (array 'New' 'RequestGenerated' 'CompletedWithError' 'CompletedWithSuccess' 'TimeOut')}}\",\n \"TransmissionDate\": \"{{faker 'date.recent' 365}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The rti transaction base object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "966efb22-339e-4927-b866-10c28cb9b0c1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0c8c2ba7-e126-4773-8476-d70a2bf557b5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0c08812a-40aa-47e8-b88d-e1db06c44fa3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dd4337c8-724c-4966-8360-ee4f88d28c45", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "1c9d1904-af06-4ae5-b9e8-2f0f2092cdf3", "documentation": "Delete RTI transaction tag", "method": "delete", "endpoint": "Employer/:EmployerId/RtiTransaction/:RtiTransactionId/Tag/:TagId", "responses": [ { "uuid": "522af493-42bf-4f5e-94f9-7eb362fe95a5", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6e4726fd-5d56-4c11-af65-fed8231a36cc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "21011b68-337d-4095-b981-2ccbb36ebd9c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "baba1ded-523e-4bef-9433-3c2c3cff5469", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e19c39dc-ab7e-4b60-8c85-f0ec16dc1a0c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "7b2ea5c1-1bca-4a89-a2a4-112e4d0978bd", "documentation": "Get RTI transaction tag", "method": "get", "endpoint": "Employer/:EmployerId/RtiTransaction/:RtiTransactionId/Tag/:TagId", "responses": [ { "uuid": "b78f3210-16e1-43d9-a273-7a52348e381e", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9714a589-58fd-4644-b316-95af1ad973a9", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7657b070-f518-4154-923a-1e54d31840d0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9d7eff70-8ac1-42b0-a5bc-5ecf71f33031", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4496833a-a740-4ed4-ba6e-f94ec83f110d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "8fd04f91-30d9-4fed-b787-e377d4735f00", "documentation": "Insert RTI transaction tag", "method": "put", "endpoint": "Employer/:EmployerId/RtiTransaction/:RtiTransactionId/Tag/:TagId", "responses": [ { "uuid": "309e2f9d-65bb-4751-902d-4965ae5bc7f7", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c3694ecb-d987-41b0-988b-96a6c1dab761", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "205adaff-c8be-4553-ae06-fbe21ede9042", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fc156d8e-f0b3-4831-9763-c77968f93d11", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dc97fec8-4c96-43b1-aaa2-b76d78c70838", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "51237cc8-5218-4023-9d80-d95e7ab0fd94", "documentation": "Get all tags from RTI transaction", "method": "get", "endpoint": "Employer/:EmployerId/RtiTransaction/:RtiTransactionId/Tags", "responses": [ { "uuid": "b58f3267-1365-4046-b3e4-41fa6219c3da", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6c2de669-5df8-4612-b57c-73095b5543f1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "9ab50d48-7e04-4d0e-9870-b26d4651758e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "398df2f9-8948-4b0a-977c-e65296b9cf37", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "67b73763-ccdc-4b6c-8bbc-0212c18cac09", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b42587f4-abb7-4eca-b73d-6a9d3c467ddd", "documentation": "Get all RTI transactions for the employer", "method": "get", "endpoint": "Employer/:EmployerId/RtiTransactions", "responses": [ { "uuid": "8d125a1c-5749-4782-b3d6-369abac74353", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "9eaa7818-5443-4bbd-ba3b-121b3b43fb07", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bdec715d-0a59-456d-975f-a1b2e79f8424", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a5265026-9484-4b60-8c34-40a7a41393b3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1686b73a-acd3-443b-8a5a-a397903b188f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "414b6a88-3109-4df9-a1c7-5c3f5f021793", "documentation": "Get RTI transactions with tag", "method": "get", "endpoint": "Employer/:EmployerId/RtiTransactions/Tag/:TagId", "responses": [ { "uuid": "baf980e5-4b4a-4d83-83a0-224b6e1ecfb2", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e0b90735-5e44-40f4-96c9-40faa5a5d1a1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2f87d6d0-9c12-41d1-9dfb-9fd5f0282eb4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0e5271c1-2d8f-4009-9146-b3ae0895ddab", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "605c0a48-3783-445a-999c-8e25c3d5c767", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2d786934-4c71-4813-8ef4-15a350d2ad9f", "documentation": "Get all RTI transaction tags", "method": "get", "endpoint": "Employer/:EmployerId/RtiTransactions/Tags", "responses": [ { "uuid": "1adcfbc9-d37c-4e7d-831f-315b03904144", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "ed08deff-74df-4af2-bd67-3addac9dd8eb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8ed6fb82-364f-4ce2-9102-fa6648a4901c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f2fe558d-9c64-4d52-8d35-374f69283795", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0030c0af-f906-40b8-9fcc-a2746f8e7825", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2e114899-00a5-43ca-8ff4-ce62ca685a33", "documentation": "Deletes employer secret", "method": "delete", "endpoint": "Employer/:EmployerId/Secret/:SecretId", "responses": [ { "uuid": "93b0374f-eda2-43f6-8dcc-b296738dcb11", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "6d20f9b8-eb4e-435a-aba3-854d800ef9bb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f6b09d07-bc53-4d32-976a-1bda5f26fa8f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "22c461eb-8a4b-461f-b4c8-21f9b731e733", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a1d135d4-2223-4637-91ae-babd35a41c7c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c64a2b1d-e1f8-4a61-b8c3-ef880f6c605b", "documentation": "Get employer secret", "method": "get", "endpoint": "Employer/:EmployerId/Secret/:SecretId", "responses": [ { "uuid": "54a69197-35d4-4ccd-be59-c7fb7f24ab9f", "body": "{\n \"EmployerSecret\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"Name\": \"\",\n \"Value\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The employer secret object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2c15f865-6cb2-432e-a121-1aa18d58d0eb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2c5a77bb-99ff-4442-b090-7e83d75bf99b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e0d1fa86-8438-4a0d-8a94-bdaf1276eaf0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2af736d3-d9fd-4753-b609-1ce0954fad82", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "73e8de7d-431d-4d81-ad3d-38c58e18d26e", "documentation": "Create a new employer secret", "method": "put", "endpoint": "Employer/:EmployerId/Secret/:SecretId", "responses": [ { "uuid": "bf668ad4-80cf-47ac-919c-44a4b8d556e6", "body": "{\n \"EmployerSecret\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"Name\": \"\",\n \"Value\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The employer secret object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "234b8bf3-775c-4c9c-9a1b-3d6f95968ad7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "08e72ec6-370f-4b41-96c6-c2dab40f9561", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e330b611-deab-47fb-a322-00a75dab6d18", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b1413b70-f7e2-4d43-adae-6dd5a589aeb5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "f6449820-4cae-43f8-906f-b3416f9e782f", "documentation": "Get all employer secret links", "method": "get", "endpoint": "Employer/:EmployerId/Secrets", "responses": [ { "uuid": "39e6f7c6-2145-4bac-ad8b-f8ac27f626fe", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2bf578bb-7cf1-4ca6-876c-76c150310a8f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6a377019-a9ea-4b6e-a21a-0640cf36a46d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "a172a620-dd49-4b28-a506-42b628749f83", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fe60df0c-e612-4c06-8626-916805d037a5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "7af9f32e-1d57-4cb5-88c3-f120be5c99ad", "documentation": "Create a new employer secret", "method": "post", "endpoint": "Employer/:EmployerId/Secrets", "responses": [ { "uuid": "d6300634-6220-4abd-9740-77a801b37515", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "18e107e9-4678-4c51-a274-0baf8d7e578d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dddf2fc2-46fc-4d0b-a025-00237ddaaeae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6e27cd28-cfe4-4612-8f1b-66f214ea6c17", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bca59336-0e70-4562-9047-1d86ef1fd3d1", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9d1e3403-cfac-4deb-8c44-9fb50e2f6ffe", "documentation": "Delete an sub contractor", "method": "delete", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId", "responses": [ { "uuid": "1292c724-a492-4d8c-a8d3-251198a61061", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "bcc21c6f-c7bb-4dbd-8586-53facc304fae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "986a768c-35d9-438c-9b16-bd95d257fd31", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "4cf9a4a6-61da-4fc5-a201-eaa33fc9a940", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "fdb2e3ed-d9d1-468a-988e-97150a6045ae", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9e43f4f3-6a2f-4e9f-9b4b-a1c65a0cf060", "documentation": "Get sub contractor from employer", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId", "responses": [ { "uuid": "c967d8f4-cf82-4929-9250-e5450c370b97", "body": "{\n \"SubContractor\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"BusinessType\": \"{{oneOf (array 'SoleTrader' 'Company' 'Partnership' 'Trust')}}\",\n \"CompanyName\": \"\",\n \"CompanyRegistrationNumber\": \"\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"PartnershipName\": \"\",\n \"PartnershipUniqueTaxReference\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"TaxationStatus\": \"{{oneOf (array 'Unmatched' 'Net' 'Gross')}}\",\n \"Telephone\": \"\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"TradingName\": \"\",\n \"UniqueTaxReference\": \"\",\n \"VatRegistered\": {{faker 'datatype.boolean'}},\n \"VatRegistrationNumber\": \"\",\n \"VerificationDate\": \"{{faker 'date.recent' 365}}\",\n \"VerificationNumber\": \"\",\n \"WorksNumber\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The sub contractor object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "350ac809-3c34-4b0c-808a-5f84f5d0f3fb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "54536f1a-5e1c-4bc2-9d1d-11aa7fd44911", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "25ef25f7-331c-4796-a036-bc925af2d7a2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "186d2b86-efb0-4813-9688-bc5a96a33332", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "b8b5e28c-4ce9-435e-b963-251b21525413", "documentation": "Patches the sub contractor", "method": "patch", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId", "responses": [ { "uuid": "1d19fbd2-658d-4368-a988-4f8365c43462", "body": "{\n \"SubContractor\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"BusinessType\": \"{{oneOf (array 'SoleTrader' 'Company' 'Partnership' 'Trust')}}\",\n \"CompanyName\": \"\",\n \"CompanyRegistrationNumber\": \"\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"PartnershipName\": \"\",\n \"PartnershipUniqueTaxReference\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"TaxationStatus\": \"{{oneOf (array 'Unmatched' 'Net' 'Gross')}}\",\n \"Telephone\": \"\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"TradingName\": \"\",\n \"UniqueTaxReference\": \"\",\n \"VatRegistered\": {{faker 'datatype.boolean'}},\n \"VatRegistrationNumber\": \"\",\n \"VerificationDate\": \"{{faker 'date.recent' 365}}\",\n \"VerificationNumber\": \"\",\n \"WorksNumber\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The sub contractor object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8329a322-dea9-4dc8-9e32-a1bd567890fa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e1ba9cde-1617-44ba-aea5-f85b76fbbb92", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d8cf27af-b009-4722-b7e9-8338b9a0eb2e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "43109a65-7901-41e7-b303-605e2ceef822", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2ef40f36-8f34-40c7-89bb-c9bfd6a035e4", "documentation": "Updates the sub contractor", "method": "put", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId", "responses": [ { "uuid": "f949bdd5-951a-45bf-b776-1c40e806c05e", "body": "{\n \"SubContractor\": {\n \"Address\": {\n \"Address1\": \"\",\n \"Address2\": \"\",\n \"Address3\": \"\",\n \"Address4\": \"\",\n \"Country\": \"\",\n \"Postcode\": \"\"\n },\n \"BankAccount\": {\n \"AccountName\": \"\",\n \"AccountNumber\": \"\",\n \"Reference\": \"\",\n \"SortCode\": \"\"\n },\n \"BusinessType\": \"{{oneOf (array 'SoleTrader' 'Company' 'Partnership' 'Trust')}}\",\n \"CompanyName\": \"\",\n \"CompanyRegistrationNumber\": \"\",\n \"Deactivated\": {{faker 'datatype.boolean'}},\n \"EffectiveDate\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"FirstName\": \"\",\n \"Initials\": \"\",\n \"LastName\": \"\",\n \"MetaData\": {},\n \"MiddleName\": \"\",\n \"NiNumber\": \"\",\n \"PartnershipName\": \"\",\n \"PartnershipUniqueTaxReference\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"PaymentMethod\": \"{{oneOf (array 'NotSet' 'Cash' 'Cheque' 'BACS' 'FasterPayments' 'Other')}}\",\n \"Region\": \"{{oneOf (array 'NotSet' 'England' 'Scotland' 'Wales')}}\",\n \"Revision\": {{faker 'datatype.number'}},\n \"TaxationStatus\": \"{{oneOf (array 'Unmatched' 'Net' 'Gross')}}\",\n \"Telephone\": \"\",\n \"Territory\": \"{{oneOf (array 'UnitedKingdom')}}\",\n \"Title\": \"\",\n \"TradingName\": \"\",\n \"UniqueTaxReference\": \"\",\n \"VatRegistered\": {{faker 'datatype.boolean'}},\n \"VatRegistrationNumber\": \"\",\n \"VerificationDate\": \"{{faker 'date.recent' 365}}\",\n \"VerificationNumber\": \"\",\n \"WorksNumber\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The sub contractor object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "fcd1895c-2eef-480e-beae-ae493f2766a4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "33ecd4b0-d3f0-47b4-804e-d2ae18a55e09", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5df069f4-7b02-440e-af2e-5479cea38f76", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c975d690-bf79-40a0-9166-72a60e426cab", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "ea9894f8-fa2e-4ba1-ade2-65f010b0290a", "documentation": "Delete a CIS instruction", "method": "delete", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId", "responses": [ { "uuid": "77509ef8-575d-46d4-9879-b44e5206955a", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "e4301f23-3e93-4918-a76a-a6ff033b6061", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "da4ed0de-1fb5-4554-86aa-4e11987d3293", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f149a20f-b28b-43c3-a487-437c6de4724b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "068d7162-eef4-4a3b-9d51-1c247672dcf5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "8ae1f516-b0ae-4f16-8e70-e8bf0315ba40", "documentation": "Get CIS instruction from sub contractor", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId", "responses": [ { "uuid": "8258d133-b0c7-4d02-81a4-f6e4415f29fc", "body": "{\n \"CisInstruction\": {\n \"CisLineTag\": \"\",\n \"CisLineType\": \"\",\n \"Description\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"PeriodEnd\": {{faker 'datatype.number'}},\n \"PeriodStart\": {{faker 'datatype.number'}},\n \"TaxYearEnd\": {{faker 'datatype.number'}},\n \"TaxYearStart\": {{faker 'datatype.number'}},\n \"UOM\": \"{{oneOf (array 'NotSet' 'Minute' 'Hour' 'Day' 'Week' 'Month' 'Year' 'Unit')}}\",\n \"Units\": {{faker 'datatype.float'}},\n \"VAT\": {{faker 'datatype.float'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4662e5a2-296c-434b-bc84-056b7472be75", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5264d5dc-4e3f-4dc8-a2c4-331df4e9b3aa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d6737295-330f-4fd6-860f-dd0177edda4c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "26d4ad3b-c71a-4ec9-afdd-4ddf55548ecd", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "39827b48-2809-47ca-8c18-93941be10521", "documentation": "Patches the CIS instruction", "method": "patch", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId", "responses": [ { "uuid": "aba64927-6adf-4937-8db2-780b9cab3ac9", "body": "{\n \"CisInstruction\": {\n \"CisLineTag\": \"\",\n \"CisLineType\": \"\",\n \"Description\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"PeriodEnd\": {{faker 'datatype.number'}},\n \"PeriodStart\": {{faker 'datatype.number'}},\n \"TaxYearEnd\": {{faker 'datatype.number'}},\n \"TaxYearStart\": {{faker 'datatype.number'}},\n \"UOM\": \"{{oneOf (array 'NotSet' 'Minute' 'Hour' 'Day' 'Week' 'Month' 'Year' 'Unit')}}\",\n \"Units\": {{faker 'datatype.float'}},\n \"VAT\": {{faker 'datatype.float'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "2bf26daa-17b6-4b4f-b0fb-b34572f8066a", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e4053299-ee3f-48e5-9835-0c0a209829b2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "634206b2-dc79-44b6-97a8-6d5a8c05ef13", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b309efcd-063e-4648-81c4-67715823b39c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "de98ced1-435a-43f8-86a7-4b8ddd99d969", "documentation": "Updates the CIS instruction", "method": "put", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId", "responses": [ { "uuid": "6a0b4207-a10d-4cc2-82ae-d38af4de8384", "body": "{\n \"CisInstruction\": {\n \"CisLineTag\": \"\",\n \"CisLineType\": \"\",\n \"Description\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"PeriodEnd\": {{faker 'datatype.number'}},\n \"PeriodStart\": {{faker 'datatype.number'}},\n \"TaxYearEnd\": {{faker 'datatype.number'}},\n \"TaxYearStart\": {{faker 'datatype.number'}},\n \"UOM\": \"{{oneOf (array 'NotSet' 'Minute' 'Hour' 'Day' 'Week' 'Month' 'Year' 'Unit')}}\",\n \"Units\": {{faker 'datatype.float'}},\n \"VAT\": {{faker 'datatype.float'}},\n \"Value\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis instruction object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "c7752caf-4135-4d1c-9991-2e321f2d525c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6c40ad43-848e-40ea-9e73-fa287f3a2713", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "8e2ffcef-54ea-48f9-bb20-59312573069f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e574fcb2-ae4b-443b-8aba-adbac80c4f28", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "e786c8b7-1903-462c-9e8f-9477542061f5", "documentation": "Delete CIS instruction tag", "method": "delete", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId/Tag/:TagId", "responses": [ { "uuid": "a08adb0a-2603-4a0b-929f-77348450b9f7", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "06d0719f-7245-4fb6-9a8b-ac6a76366c3e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ba3f2aad-15d2-4942-91eb-2119b107b367", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d34c877b-2a01-459d-a420-23812c3349a7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ee1913d5-1845-4720-92c5-d698b9d7b87d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2bde1098-a584-4481-bd8a-d13b476580c1", "documentation": "Get CIS instruction tag", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId/Tag/:TagId", "responses": [ { "uuid": "32edbdf2-afef-4da4-804d-9b7414a5014a", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "5efafd7d-2afb-4b01-bcea-87e1e8c85115", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "94e0b953-552d-42c1-8766-78aa77015212", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "69d06291-26ec-4637-b691-3ccef16af25f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "517e6114-09c8-4973-a8b2-ad9bd637e289", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "9eac134b-9070-46c2-9a71-dbc7d470ba53", "documentation": "Insert CIS instruction tag", "method": "put", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId/Tag/:TagId", "responses": [ { "uuid": "bc115033-86b0-42ac-ba87-90ce0199634e", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "dc8fe533-b7f6-4b03-b7c1-0f901e76f8ef", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "566e656a-60d0-4221-a348-946e92a36c91", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "bd649827-0b29-4974-b4c3-5892042fcbeb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "08f42f1f-2689-41dd-8206-44863938eca6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "5f59113f-8f98-4dc9-b8de-5c78d1dc1754", "documentation": "Get all tags from the CIS instruction", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstruction/:CisInstructionId/Tags", "responses": [ { "uuid": "d98646d5-68cf-41e6-b649-70a314c6a587", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "b9ab8283-e66b-4ea6-ad36-c6c216d5d805", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "66155351-71f3-4ddf-9de9-5fc9377b5d65", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "49990a52-99ef-46de-9231-41daa01cd283", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f740f813-9cc5-481e-8ba5-b9eab21ec5b6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "47901507-d7ce-4c54-940d-ccf21371cddb", "documentation": "Get CIS instructions from sub contractor.", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstructions", "responses": [ { "uuid": "68ead345-e0ca-42cd-8ac0-82ba09afd87a", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "b9d22ac7-ab66-4b51-9b14-c44c1608039f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c6559d05-ebe6-4ad9-8ec9-b13c194f2f2e", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "5666cb4f-8bdd-48f3-a5e5-42fe6ce412fa", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "548497da-65f9-43b9-9a15-421226107ae0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "db9c4455-414c-45a1-991b-9503e30369b4", "documentation": "Create a new CIS instruction", "method": "post", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstructions", "responses": [ { "uuid": "8fb74c7f-cd90-4773-8242-e7f9fa36037f", "body": "{\n \"Link\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The link object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d7c8820e-94c7-4ddb-8419-d1a3d1006161", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "e6b0b639-504d-42f5-a525-76fd5d5a181d", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c96cf0ab-8044-4c7b-beac-e13e2564021c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "d7b0759b-3ec9-45a0-9e44-62ba9d07b04f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "018d00e9-75e5-426c-b827-d2e89be5bfc9", "documentation": "Get CIS instructions with tag", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstructions/Tag/:TagId", "responses": [ { "uuid": "0a044d74-2c4d-4e5b-b86c-f24a6550d07d", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "5b382dd4-b3fd-4ac5-b251-35543b9b2d26", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "dd179706-8888-44e6-9edb-3f641ee04ab2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7888e45a-f5b2-4837-9572-d148236096cf", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7ecdf615-378c-498e-898e-a4b438436ed5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "faead895-c0a7-4833-9d98-46c5e6f7c810", "documentation": "Get all CIS instruction tags", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisInstructions/Tags", "responses": [ { "uuid": "f3f49b33-3234-437b-80c0-2d68291d3f42", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "43d8bbda-8729-49bc-87e9-4c701ab4e1e8", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f4035d63-f7bf-40cc-8fd9-7c2d8d30bdc7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "55356c0a-fb1f-4aa3-b863-8113121aa0f2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "983a795b-0d0f-4a65-bd75-c3ed6c3cf45f", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "c4db16c7-6e56-45bc-898a-c432f6bd3cdf", "documentation": "Delete a CIS line", "method": "delete", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLine/:CisLineId", "responses": [ { "uuid": "9be333bf-2a10-4b7a-8edd-55718c3455ff", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "4a8f8a2a-6854-44d5-823d-86b095eee1bb", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ee02eb81-ab32-47e9-b5b1-c8174c62f2e2", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "344c9f6d-4001-4df9-ae2d-4a26e825a985", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1cbdd3b3-3688-47a5-ac60-9bef7f1d62ff", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "2bf1527b-d0a3-4988-aa27-620fb54004f4", "documentation": "Get CIS line from sub contractor", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLine/:CisLineId", "responses": [ { "uuid": "cee437b1-472f-4529-9949-61a0073c49b7", "body": "{\n \"CisLine\": {\n \"CisDeduction\": {{faker 'datatype.float'}},\n \"CisLineType\": \"\",\n \"Description\": \"\",\n \"Generated\": \"{{faker 'date.recent' 365}}\",\n \"GrossPay\": {{faker 'datatype.float'}},\n \"NominalCodeKey\": \"\",\n \"PayFrequency\": \"{{oneOf (array 'Monthly' 'Weekly')}}\",\n \"TaxMonth\": {{faker 'datatype.number'}},\n \"TaxPeriod\": {{faker 'datatype.number'}},\n \"TaxTreatment\": \"{{oneOf (array 'Taxable' 'NonTaxable' 'Notional' 'Materials')}}\",\n \"TaxYear\": {{faker 'datatype.number'}},\n \"UOM\": \"{{oneOf (array 'NotSet' 'Minute' 'Hour' 'Day' 'Week' 'Month' 'Year' 'Unit')}}\",\n \"UnitRate\": {{faker 'datatype.float'}},\n \"Units\": {{faker 'datatype.float'}},\n \"VAT\": {{faker 'datatype.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The cis line object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3202a6f9-30b5-42f0-8bb0-72378ea57d22", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3ecf9330-7992-46ce-a28c-c6a0a41b9e09", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ed4f6941-a0a7-4009-a3b3-c057a081ddd3", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "c945223a-47bf-4d76-9c93-723214e607f0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "6426612b-608b-4745-82de-fd592c5d098c", "documentation": "Delete CIS line tag", "method": "delete", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLine/:CisLineId/Tag/:TagId", "responses": [ { "uuid": "d6fafc38-f7f9-4b7d-9d4b-ee4ebc247ae9", "body": "", "latency": 0, "statusCode": 200, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "8a6eac13-5aaf-4def-98e9-1fafa9cc5265", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7223d94e-2210-4709-89b6-57badb2072b7", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "ce54e985-15bf-48fd-923a-f88a8a2f3d6b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "0215bb81-ddf2-4901-92c7-0e3e22706676", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "49ddccaa-6fa5-43b1-ab26-1a67bbc72a48", "documentation": "Get CIS line tag", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLine/:CisLineId/Tag/:TagId", "responses": [ { "uuid": "004bb203-2cfb-44f2-8280-0387d157a1fa", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "646f3aaf-3889-411a-9917-a5be3a210c4b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "74cf7552-5616-4693-b4f6-de1bebc076f6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "cc852404-b4c4-4908-8d01-517918114429", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "72ef1a8f-74e5-494a-9875-be40cc8d9516", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "3ddebda4-645b-49c9-929b-6fb47381014f", "documentation": "Insert CIS line tag", "method": "put", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLine/:CisLineId/Tag/:TagId", "responses": [ { "uuid": "143ad570-9761-4be8-b32f-6f72d669fa51", "body": "{\n \"Tag\": {\n \"Created\": \"{{faker 'date.recent' 365}}\",\n \"TaggedItem\": {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n },\n \"Text\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The tag object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "3ec7e86b-6d79-4f10-a211-11c7b8fed7f5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2382966a-46dd-4795-9931-9d8cae40ae56", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "1a8a0d5c-11f6-4a55-bede-064fa1c4dcd4", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "f5a2f7e6-a17a-4a16-8d25-91813bd5aaf0", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "82523d27-44b6-4d0c-9fce-2d064d17ac02", "documentation": "Get all tags from the CIS line", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLine/:CisLineId/Tags", "responses": [ { "uuid": "87d92707-c036-48ef-af56-e4a7d8277128", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "ec7a32a0-65c3-4c29-a34c-469ee0b5e6c5", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7667ceb2-ecfa-4ce8-9726-de7a7e825300", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6251ab9d-fe6a-40c3-a516-e308d9811b9b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "7acb2d1a-3c1d-41b8-83fd-30d179ac09bc", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "281b9564-738b-489f-a885-5775094883e9", "documentation": "Get CIS lines from sub contractor.", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLines", "responses": [ { "uuid": "f2470d59-e998-4a01-b04b-d7abad648963", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "d1d6d763-03d6-48b0-a653-d785cc8b85d6", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "2a77f4cf-b193-46e7-833d-6d01fab9c439", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "3197c6d8-7968-4e34-9d16-d58fd7dfa4be", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "6b186503-e17b-4247-bb23-54d2e02f9f3c", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false } ], "enabled": true, "responseMode": null }, { "uuid": "d578575c-c4e6-4880-8c2f-39838134552e", "documentation": "Get CIS lines with tag", "method": "get", "endpoint": "Employer/:EmployerId/SubContractor/:SubContractorId/CisLines/Tag/:TagId", "responses": [ { "uuid": "df943377-b533-4f81-a437-3e1f30a4b4d8", "body": "{\n \"LinkCollection\": {\n \"Links\": {\n \"Link\": [\n {\n \"@href\": \"\",\n \"@rel\": \"\",\n \"@title\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The link collection object.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true }, { "uuid": "12c77521-0a21-4594-ad07-8b6e47420496", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "95e796e2-3a01-4a82-8f79-0611987a6c68", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false }, { "uuid": "b7377ed4-a0ee-43e5-b773-304f4ae7d34b", "body": "{\n \"ErrorModel\": {\n \"Description\": \"\",\n \"ErrorCategory\": \"{{oneOf (array 'General' 'NotFound' 'NotAuthorised' 'ValidationFailure')}}\",\n \"Errors\": {\n \"Error\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json