5.0.0 • Published 5 years ago

@datafire/payrun v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/payrun

Client library for PayRun.IO

Installation and Usage

npm install --save @datafire/payrun
let payrun = require('@datafire/payrun').create();

.then(data => {
  console.log(data);
});

Description

Open, scableable, transparent payroll API.

Actions

DeleteEmployer

Delete the specified employer

payrun.DeleteEmployer({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetEmployer

Get the specified employer object

payrun.GetEmployer({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PatchEmployer

Patches the specified employer with the supplied values

payrun.PatchEmployer({
  "Employer": {},
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • Employer required Employer
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutEmployer

Updates the existing specified employer object

payrun.PutEmployer({
  "EmployerId": "",
  "Employer": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Employer required Employer
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetCisLineTypeWithTag

Gets the CIS line types with the tag

payrun.GetCisLineTypeWithTag({
  "EmployerId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteCisLineType

Delete the specified CIS line type

payrun.DeleteCisLineType({
  "EmployerId": "",
  "CisLineTypeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetCisLineTypeFromEmployer

Gets the specified CIS line type from employer.

payrun.GetCisLineTypeFromEmployer({
  "EmployerId": "",
  "CisLineTypeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutCisLineTypeIntoEmployer

Updates the existing specified CIS line type object

payrun.PutCisLineTypeIntoEmployer({
  "EmployerId": "",
  "CisLineTypeId": "",
  "CisLineType": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • CisLineType required CisLineType
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteCisLineTypeTag

Deletes a tag from the CIS line type

payrun.DeleteCisLineTypeTag({
  "EmployerId": "",
  "CisLineTypeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetTagFromCisLineType

Gets the tag from the CIS line type

payrun.GetTagFromCisLineType({
  "EmployerId": "",
  "CisLineTypeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutCisLineTypeTag

Inserts a new tag on the CIS line type

payrun.PutCisLineTypeTag({
  "EmployerId": "",
  "CisLineTypeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetTagsFromCisLineType

Gets all the tags from the CIS line type

payrun.GetTagsFromCisLineType({
  "EmployerId": "",
  "CisLineTypeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineTypeId required string: The CIS line type unique identifier. E.g. TYPEA
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetCisLineTypesFromEmployer

Get links to all CIS line types for the specified employer.

payrun.GetCisLineTypesFromEmployer({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PostCisLineTypeIntoEmployer

Create a new CIS line type object

payrun.PostCisLineTypeIntoEmployer({
  "EmployerId": "",
  "CisLineType": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisLineType required CisLineType
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetCisLineTypesWithTag

Gets the CIS line type with the tag

payrun.GetCisLineTypesWithTag({
  "EmployerId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetAllCisLineTypeTags

Gets all the CIS line type tags

payrun.GetAllCisLineTypeTags({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteCisTransaction

Deletes the specified CIS transaction

payrun.DeleteCisTransaction({
  "EmployerId": "",
  "CisTransactionId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisTransactionId required string: The CIS transaction unique identifier. E.g. CISTRAN001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetCisTransactionFromEmployer

Returns the specified CIS transaction

payrun.GetCisTransactionFromEmployer({
  "EmployerId": "",
  "CisTransactionId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • CisTransactionId required string: The CIS transaction unique identifier. E.g. CISTRAN001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetCisTransactionsFromEmployer

Get links for all CIS transactions for the specified employer

payrun.GetCisTransactionsFromEmployer({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteDpsMessage

Deletes the DPS message

payrun.DeleteDpsMessage({
  "EmployerId": "",
  "DpsMessageId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • DpsMessageId required string: The DPS message unique identifier. E.g. DPS001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetDpsMessageFromEmployer

Gets the DPS message

payrun.GetDpsMessageFromEmployer({
  "EmployerId": "",
  "DpsMessageId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • DpsMessageId required string: The DPS message unique identifier. E.g. DPS001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PatchDpsMessage

Patches the specified DPS message with the supplied values

payrun.PatchDpsMessage({
  "EmployerId": "",
  "DpsMessageId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • DpsMessageId required string: The DPS message unique identifier. E.g. DPS001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetDpsMessagesFromEmployer

Gets the DPS message links

payrun.GetDpsMessagesFromEmployer({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteEmployee

Delete the specified employee

payrun.DeleteEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetEmployeeFromEmployer

Gets the specified employee from employer by employee code.

payrun.GetEmployeeFromEmployer({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PatchEmployee

Patches the specified employee with the supplied values

payrun.PatchEmployee({
  "Employee": {},
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • Employee required Employee
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutEmployeeIntoEmployer

Updates the existing specified employee object

payrun.PutEmployeeIntoEmployer({
  "EmployerId": "",
  "EmployeeId": "",
  "Employee": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Employee required Employee
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteAEAssessment

Deletes an existing auto enrolment assessment for the employee. Used to remove historical assessments

payrun.DeleteAEAssessment({
  "EmployerId": "",
  "EmployeeId": "",
  "AEAssessmentId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • AEAssessmentId required string: The auto enrolment assessment unique identifier. E.g. AE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetAEAssessmentFromEmployee

Gets the auto enrolment assessment from the specified employee

payrun.GetAEAssessmentFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "AEAssessmentId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • AEAssessmentId required string: The auto enrolment assessment unique identifier. E.g. AE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutNewAEAssessment

Creates a new auto enrolment assessment for the employee. Used to insert historical assessments

payrun.PutNewAEAssessment({
  "EmployerId": "",
  "EmployeeId": "",
  "AEAssessmentId": "",
  "AEAssessment": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • AEAssessmentId required string: The auto enrolment assessment unique identifier. E.g. AE001
    • AEAssessment required AEAssessment
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetAEAssessmentsFromEmployee

Gets all auto enrolment assessments from the specified employee

payrun.GetAEAssessmentsFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PostNewAEAssessment

Creates a new auto enrolment assessment for the employee. Used to insert historical assessments

payrun.PostNewAEAssessment({
  "EmployerId": "",
  "EmployeeId": "",
  "AEAssessment": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • AEAssessment required AEAssessment
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetCommentariesFromEmployee

Get links to all commentaries for the specified employee.

payrun.GetCommentariesFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetCommentaryFromEmployee

Gets the specified commentary report from the employee

payrun.GetCommentaryFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "CommentaryId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • CommentaryId required string: The commentary unique identifier. E.g. C001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayInstructionWithTag

Gets the pay instructions with the tag

payrun.GetPayInstructionWithTag({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeletePayInstruction

Delete the specified pay instruction

payrun.DeletePayInstruction({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetPayInstructionFromEmployee

Returns the specified pay instruction from employee

payrun.GetPayInstructionFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PatchPayInstruction

Patches the specified pay instruction with the supplied values

payrun.PatchPayInstruction({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "PayInstruction": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • PayInstruction required PayInstruction
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutPayInstruction

Updates the existing specified pay instruction object

payrun.PutPayInstruction({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "PayInstruction": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • PayInstruction required PayInstruction
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeletePayInstructionTag

Deletes a tag from the pay instruction

payrun.DeletePayInstructionTag({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetTagFromPayInstruction

Gets the tag from the pay instruction

payrun.GetTagFromPayInstruction({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutPayInstructionTag

Inserts a new tag on the pay instruction

payrun.PutPayInstructionTag({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetTagsFromPayInstruction

Gets all the tags from the pay instruction

payrun.GetTagsFromPayInstruction({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstructionId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstructionId required string: The pay instruction unique identifier. E.g. SAL001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayInstructionsFromEmployee

Get links to all pay instructions for the specified employee

payrun.GetPayInstructionsFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PostPayInstruction

Creates a new pay instruction object

payrun.PostPayInstruction({
  "EmployerId": "",
  "EmployeeId": "",
  "PayInstruction": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayInstruction required PayInstruction
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayInstructionsWithTag

Gets the pay instructions with the tag

payrun.GetPayInstructionsWithTag({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetAllPayInstructionTags

Gets all the pay instruction tags

payrun.GetAllPayInstructionTags({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayLineWithTag

Gets the pay lines with the tag

payrun.GetPayLineWithTag({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayLineFromEmployee

Returns the specified pay line from employee

payrun.GetPayLineFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "PayLineId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayLineId required string: The pay line unique identifier. E.g. PL001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeletePayLineTag

Deletes a tag from the pay line

payrun.DeletePayLineTag({
  "EmployerId": "",
  "EmployeeId": "",
  "PayLineId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayLineId required string: The pay line unique identifier. E.g. PL001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetTagFromPayLine

Gets the tag from the pay line

payrun.GetTagFromPayLine({
  "EmployerId": "",
  "EmployeeId": "",
  "PayLineId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayLineId required string: The pay line unique identifier. E.g. PL001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutPayLineTag

Inserts a new tag on the pay line

payrun.PutPayLineTag({
  "EmployerId": "",
  "EmployeeId": "",
  "PayLineId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayLineId required string: The pay line unique identifier. E.g. PL001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetTagsFromPayLine

Gets all the tags from the pay line

payrun.GetTagsFromPayLine({
  "EmployerId": "",
  "EmployeeId": "",
  "PayLineId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • PayLineId required string: The pay line unique identifier. E.g. PL001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayLinesFromEmployee

Get links to all pay lines for the specified employee

payrun.GetPayLinesFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayLinesWithTag

Gets the pay line with the tag

payrun.GetPayLinesWithTag({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetAllPayLineTags

Gets all the pay line tags

payrun.GetAllPayLineTags({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetPayRunsFromEmployee

Get links to all pay runs for the specified employee.

payrun.GetPayRunsFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteEmployeeRevisionByNumber

Deletes the specified employee revision for the matching revision number

payrun.DeleteEmployeeRevisionByNumber({
  "EmployerId": "",
  "EmployeeId": "",
  "RevisionNumber": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • RevisionNumber required string: The revision number. E.g. 1
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetEmployeeRevisionByNumber

Get the employee revision matching the specified revision number

payrun.GetEmployeeRevisionByNumber({
  "EmployerId": "",
  "EmployeeId": "",
  "RevisionNumber": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • RevisionNumber required string: The revision number. E.g. 1
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetEmployeeRevisions

Gets links to all employee revisions

payrun.GetEmployeeRevisions({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteEmployeeSecret

Deletes an employee secret from the given resource location

payrun.DeleteEmployeeSecret({
  "EmployerId": "",
  "EmployeeId": "",
  "SecretId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • SecretId required string: The secret unique identifier. E.g ERSEC001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetEmployeeSecret

Get the public visible employee secret object

payrun.GetEmployeeSecret({
  "EmployerId": "",
  "EmployeeId": "",
  "SecretId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • SecretId required string: The secret unique identifier. E.g ERSEC001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutEmployeeSecret

Create / update an employee secret at the given resource location

payrun.PutEmployeeSecret({
  "EmployerId": "",
  "EmployeeId": "",
  "SecretId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • SecretId required string: The secret unique identifier. E.g ERSEC001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetEmployeeSecrets

Get all the employee secret links

payrun.GetEmployeeSecrets({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PostEmployeeSecret

Create new employee secret using auto generated resource location key

payrun.PostEmployeeSecret({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteEmployeeTag

Deletes a tag from the employee

payrun.DeleteEmployeeTag({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetTagFromEmployee

Gets the tag from the employee

payrun.GetTagFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutEmployeeTag

Inserts a new tag on the employee

payrun.PutEmployeeTag({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetTagFromEmployeeRevision

Gets the tag from the employee revision

payrun.GetTagFromEmployeeRevision({
  "EmployerId": "",
  "EmployeeId": "",
  "TagId": "",
  "EffectiveDate": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • EffectiveDate required string: The effective date to be applied. E.g 2016-04-06
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetTagsFromEmployee

Gets all the tags from the employee

payrun.GetTagsFromEmployee({
  "EmployerId": "",
  "EmployeeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetTagsFromEmployeeRevision

Gets all the tags from the employee revision

payrun.GetTagsFromEmployeeRevision({
  "EmployerId": "",
  "EmployeeId": "",
  "EffectiveDate": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • EffectiveDate required string: The effective date to be applied. E.g 2016-04-06
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteEmployeeRevision

Deletes the specified employee revision for the matching revision date

payrun.DeleteEmployeeRevision({
  "EmployerId": "",
  "EmployeeId": "",
  "EffectiveDate": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • EffectiveDate required string: The effective date to be applied. E.g 2016-04-06
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetEmployeeByEffectiveDate

Returns the employee's state at the specified effective date.

payrun.GetEmployeeByEffectiveDate({
  "EmployerId": "",
  "EmployeeId": "",
  "EffectiveDate": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EmployeeId required string: The employees' unique identifier. E.g EE001
    • EffectiveDate required string: The effective date to be applied. E.g 2016-04-06
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetEmployeesFromEmployer

Get links to all employees for the specified employer.

payrun.GetEmployeesFromEmployer({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PostEmployeeIntoEmployer

Create a new employee object

payrun.PostEmployeeIntoEmployer({
  "EmployerId": "",
  "Employee": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Employee required Employee
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetEmployeesWithTag

Gets the employees with the tag

payrun.GetEmployeesWithTag({
  "EmployerId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetAllEmployeeTags

Gets all the employee tags

payrun.GetAllEmployeeTags({
  "EmployerId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetEmployeesByEffectiveDate

Get links to all employees for the employer on specified effective date.

payrun.GetEmployeesByEffectiveDate({
  "EmployerId": "",
  "EffectiveDate": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • EffectiveDate required string: The effective date to be applied. E.g 2016-04-06
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetHolidaySchemeWithTag

Gets the holiday schemes with the tag

payrun.GetHolidaySchemeWithTag({
  "EmployerId": "",
  "TagId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • TagId required string: The tag unique identifier. E.g. MyTag
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteHolidayScheme

Delete the specified holiday scheme

payrun.DeleteHolidayScheme({
  "EmployerId": "",
  "HolidaySchemeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • HolidaySchemeId required string: The holiday schemes' unique identifier. E.g HOLSCH001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetHolidaySchemeFromEmployer

Gets the specified holiday scheme from employer.

payrun.GetHolidaySchemeFromEmployer({
  "EmployerId": "",
  "HolidaySchemeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • HolidaySchemeId required string: The holiday schemes' unique identifier. E.g HOLSCH001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PatchHolidayScheme

Patches the specified holiday scheme with the supplied values

payrun.PatchHolidayScheme({
  "HolidayScheme": {},
  "EmployerId": "",
  "HolidaySchemeId": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • HolidayScheme required HolidayScheme
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • HolidaySchemeId required string: The holiday schemes' unique identifier. E.g HOLSCH001
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

PutHolidaySchemeIntoEmployer

Updates the existing specified holiday scheme object

payrun.PutHolidaySchemeIntoEmployer({
  "EmployerId": "",
  "HolidaySchemeId": "",
  "HolidayScheme": {},
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • HolidaySchemeId required string: The holiday schemes' unique identifier. E.g HOLSCH001
    • HolidayScheme required HolidayScheme
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

DeleteHolidaySchemeRevisionByNumber

Deletes the specified holiday scheme revision for the matching revision number

payrun.DeleteHolidaySchemeRevisionByNumber({
  "EmployerId": "",
  "HolidaySchemeId": "",
  "RevisionNumber": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • HolidaySchemeId required string: The holiday schemes' unique identifier. E.g HOLSCH001
    • RevisionNumber required string: The revision number. E.g. 1
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

Output schema unknown

GetHolidaySchemeRevisionByNumber

Get the holiday scheme revision matching the specified revision number

payrun.GetHolidaySchemeRevisionByNumber({
  "EmployerId": "",
  "HolidaySchemeId": "",
  "RevisionNumber": "",
  "Authorization": "",
  "Api-Version": ""
}, context)

Input

  • input object
    • EmployerId required string: The employers' unique identifier. E.g ER001
    • HolidaySchemeId required string: The holiday schemes' unique identifier. E.g HOLSCH001
    • RevisionNumber required string: The revision number. E.g. 1
    • Authorization required string: The OAuth 1 authorization header. 'Auto' enables auto complete.
    • Api-Version required string: The version of the api to target. Omit or set as 'default' to target the current api version.

Output

GetHolidaySchemeRevisions

Gets links to all the holiday scheme revisions

payrun.GetHolidaySchemeRevisions({
  "EmployerId": "",
  "HolidaySchemeId": "",
  "Authorization": "",
  "Ap
5.0.0

5 years ago

4.0.0

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago