UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 539 kB
{"openapi":"3.0.0","info":{"contact":{"x-twitter":"PayRun_io"},"description":"Open, scableable, transparent payroll API.","title":"PayRun.IO","version":"19.20.1.40","x-apisguru-categories":["financial"],"x-logo":{"url":"https://twitter.com/PayRun_io/profile_image?size=original"},"x-origin":[{"format":"swagger","url":"https://api.test.payrun.io/swagger/json","version":"2.0"}],"x-providerName":"payrun.io"},"externalDocs":{"description":"External Documents","url":"https://developer.test.payrun.io/docs"},"paths":{"/Employer/{EmployerId}":{"delete":{"description":"Delete the specified employer","operationId":"DeleteEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Delete an Employer","tags":["Employer"]},"get":{"description":"Get the specified employer object","operationId":"GetEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The employer object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employer"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the employer","tags":["Employer"]},"patch":{"description":"Patches the specified employer with the supplied values","operationId":"PatchEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/Employer"},"responses":{"200":{"description":"The employer object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employer"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Patches the employer","tags":["Employer"]},"put":{"description":"Updates the existing specified employer object","operationId":"PutEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/Employer"},"responses":{"200":{"description":"The employer object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employer"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Updates the Employer","tags":["Employer"]}},"/Employer/{EmployerId}/CisLineType/Tag/{TagId}":{"get":{"description":"Gets the CIS line types with the tag","operationId":"GetCisLineTypeWithTag","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The tag unique identifier. E.g. MyTag","in":"path","name":"TagId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get CIS line types with tag","tags":["Tagging","CIS"]}},"/Employer/{EmployerId}/CisLineType/{CisLineTypeId}":{"delete":{"description":"Delete the specified CIS line type","operationId":"DeleteCisLineType","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Delete an CIS line type","tags":["CIS"]},"get":{"description":"Gets the specified CIS line type from employer.","operationId":"GetCisLineTypeFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The cis line type object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CisLineType"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get CIS line type from employer","tags":["CIS"]},"put":{"description":"Updates the existing specified CIS line type object","operationId":"PutCisLineTypeIntoEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/CisLineType"},"responses":{"200":{"description":"The cis line type object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CisLineType"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Updates the CIS line type","tags":["CIS"]}},"/Employer/{EmployerId}/CisLineType/{CisLineTypeId}/Tag/{TagId}":{"delete":{"description":"Deletes a tag from the CIS line type","operationId":"DeleteCisLineTypeTag","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The tag unique identifier. E.g. MyTag","in":"path","name":"TagId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Delete CIS line type tag","tags":["Tagging","CIS"]},"get":{"description":"Gets the tag from the CIS line type","operationId":"GetTagFromCisLineType","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The tag unique identifier. E.g. MyTag","in":"path","name":"TagId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The tag object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get CIS line type tag","tags":["Tagging","CIS"]},"put":{"description":"Inserts a new tag on the CIS line type","operationId":"PutCisLineTypeTag","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The tag unique identifier. E.g. MyTag","in":"path","name":"TagId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The tag object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Insert CIS line type tag","tags":["Tagging","CIS"]}},"/Employer/{EmployerId}/CisLineType/{CisLineTypeId}/Tags":{"get":{"description":"Gets all the tags from the CIS line type","operationId":"GetTagsFromCisLineType","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS line type unique identifier. E.g. TYPEA","in":"path","name":"CisLineTypeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get all tags from the CIS line type","tags":["Tagging","CIS"]}},"/Employer/{EmployerId}/CisLineTypes":{"get":{"description":"Get links to all CIS line types for the specified employer.","operationId":"GetCisLineTypesFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get CIS line types from employer.","tags":["CIS"]},"post":{"description":"Create a new CIS line type object","operationId":"PostCisLineTypeIntoEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/CisLineType"},"responses":{"201":{"description":"The link object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Link"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Create a new CIS line type","tags":["CIS"]}},"/Employer/{EmployerId}/CisLineTypes/Tag/{TagId}":{"get":{"description":"Gets the CIS line type with the tag","operationId":"GetCisLineTypesWithTag","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The tag unique identifier. E.g. MyTag","in":"path","name":"TagId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get CIS line types with tag","tags":["Tagging","CIS"]}},"/Employer/{EmployerId}/CisLineTypes/Tags":{"get":{"description":"Gets all the CIS line type tags","operationId":"GetAllCisLineTypeTags","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get all CIS line type tags","tags":["Tagging","CIS"]}},"/Employer/{EmployerId}/CisTransaction/{CisTransactionId}":{"delete":{"description":"Deletes the specified CIS transaction","operationId":"DeleteCisTransaction","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS transaction unique identifier. E.g. CISTRAN001","in":"path","name":"CisTransactionId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Delete the CIS transaction","tags":["CIS"]},"get":{"description":"Returns the specified CIS transaction","operationId":"GetCisTransactionFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The CIS transaction unique identifier. E.g. CISTRAN001","in":"path","name":"CisTransactionId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The cis transaction object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CisTransaction"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get the CIS transaction","tags":["CIS"]}},"/Employer/{EmployerId}/CisTransactions":{"get":{"description":"Get links for all CIS transactions for the specified employer","operationId":"GetCisTransactionsFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get all CIS transactions for the employer","tags":["CIS"]}},"/Employer/{EmployerId}/DpsMessage/{DpsMessageId}":{"delete":{"description":"Deletes the DPS message","operationId":"DeleteDpsMessage","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The DPS message unique identifier. E.g. DPS001","in":"path","name":"DpsMessageId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Deletes the DPS message","tags":["DpsMessage"]},"get":{"description":"Gets the DPS message","operationId":"GetDpsMessageFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The DPS message unique identifier. E.g. DPS001","in":"path","name":"DpsMessageId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The dps message object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DpsMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the DPS message","tags":["DpsMessage"]},"patch":{"description":"Patches the specified DPS message with the supplied values","operationId":"PatchDpsMessage","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The DPS message unique identifier. E.g. DPS001","in":"path","name":"DpsMessageId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The dps message object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DpsMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Patches the DPS message","tags":["DpsMessage"]}},"/Employer/{EmployerId}/DpsMessages":{"get":{"description":"Gets the DPS message links","operationId":"GetDpsMessagesFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Gets the DPS messages","tags":["DpsMessage"]}},"/Employer/{EmployerId}/Employee/{EmployeeId}":{"delete":{"description":"Delete the specified employee","operationId":"DeleteEmployee","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Delete an Employee","tags":["Employee"]},"get":{"description":"Gets the specified employee from employer by employee code.","operationId":"GetEmployeeFromEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The employee object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employee"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get employee from employer","tags":["Employee"]},"patch":{"description":"Patches the specified employee with the supplied values","operationId":"PatchEmployee","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/Employee"},"responses":{"200":{"description":"The employee object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employee"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Patches the employee","tags":["Employee"]},"put":{"description":"Updates the existing specified employee object","operationId":"PutEmployeeIntoEmployer","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/Employee"},"responses":{"200":{"description":"The employee object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Employee"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Updates the Employee","tags":["Employee"]}},"/Employer/{EmployerId}/Employee/{EmployeeId}/AEAssessment/{AEAssessmentId}":{"delete":{"description":"Deletes an existing auto enrolment assessment for the employee. Used to remove historical assessments","operationId":"DeleteAEAssessment","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The auto enrolment assessment unique identifier. E.g. AE001","in":"path","name":"AEAssessmentId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Delete auto enrolment assessment","tags":["AEAssessment"]},"get":{"description":"Gets the auto enrolment assessment from the specified employee","operationId":"GetAEAssessmentFromEmployee","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The auto enrolment assessment unique identifier. E.g. AE001","in":"path","name":"AEAssessmentId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The a e assessment object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AEAssessment"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get the auto enrolment assessment","tags":["AEAssessment","Employee"]},"put":{"description":"Creates a new auto enrolment assessment for the employee. Used to insert historical assessments","operationId":"PutNewAEAssessment","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The auto enrolment assessment unique identifier. E.g. AE001","in":"path","name":"AEAssessmentId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/AEAssessment"},"responses":{"200":{"description":"The a e assessment object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AEAssessment"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Insert new auto enrolment assessment","tags":["AEAssessment"]}},"/Employer/{EmployerId}/Employee/{EmployeeId}/AEAssessments":{"get":{"description":"Gets all auto enrolment assessments from the specified employee","operationId":"GetAEAssessmentsFromEmployee","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"responses":{"200":{"description":"The link collection object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCollection"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}}},"summary":"Get the auto enrolment assessments","tags":["AEAssessment","Employee"]},"post":{"description":"Creates a new auto enrolment assessment for the employee. Used to insert historical assessments","operationId":"PostNewAEAssessment","parameters":[{"description":"The employers' unique identifier. E.g ER001","in":"path","name":"EmployerId","required":true,"schema":{"type":"string"}},{"description":"The employees' unique identifier. E.g EE001","in":"path","name":"EmployeeId","required":true,"schema":{"type":"string"}},{"description":"The OAuth 1 authorization header. 'Auto' enables auto complete.","in":"header","name":"Authorization","required":true,"schema":{"type":"string","format":"string","default":"Auto"}},{"description":"The version of the api to target. Omit or set as 'default' to target the current api version.","in":"header","name":"Api-Version","required":true,"schema":{"type":"string","format":"string","default":"default"}}],"requestBody":{"$ref":"#/components/requestBodies/AEAssessment"},"responses":{"200":{"description":"The link object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Link"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":