Payrun
Tool for the payrun API.
- Base URL:
https://api.test.payrun.io - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getemployer— GET /Employer/{EmployerId} — Gets the employergetcislinetypefromemployer— GET /Employer/{EmployerId}/CisLineType/{CisLineTypeId} — Get CIS line type from employergettagfromcislinetype— GET /Employer/{EmployerId}/CisLineType/{CisLineTypeId}/Tag/{TagId} — Get CIS line type taggettagsfromcislinetype— GET /Employer/{EmployerId}/CisLineType/{CisLineTypeId}/Tags — Get all tags from the CIS line typegetcislinetypesfromemployer— GET /Employer/{EmployerId}/CisLineTypes — Get CIS line types from employer.getcislinetypeswithtag— GET /Employer/{EmployerId}/CisLineTypes/Tag/{TagId} — Get CIS line types with tag
Inputs
apiKey— your payrun API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getemployer
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: getemployer, getcislinetypefromemployer, gettagfromcislinetype, gettagsfromcislinetype, getcislinetypesfromemployer, getcislinetypeswithtag |
CisLineTypeId |
string | no | — | Path parameter CisLineTypeId (required by some operations). |
EmployerId |
string | no | — | Path parameter EmployerId (required by some operations). |
TagId |
string | no | — | Path parameter TagId (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |