RunInterCompanyTransfer


Description:

Allows transfer of an employee from one company to another.


Request:

https://dev02-api-gateway.moorepay.co.uk/workers/v1/Worker/RunInterCompanyTransfer


Request headers:

Name

Required

Type

Description

Authorization

Yes

string

access token


Request body:

{
    "employeeNumber": 0.0,
    "hrEmployeeId": 0.0,
    "companyFrom": 0.0,
    "companyTo": 0.0,
    "occupationCodeTo": 0.0,
    "costCentreTo": "string",
    "payPeriodDueTo": 0.0,
    "gradeTo": "string",
    "deptTo": "string"
}

Response example:


Response: 200 OK

{
    "employeeNumber": 0.0,
    "hrEmployeeId": 0.0,
    "companyFrom": 0.0,
    "companyTo": 0.0,
    "occupationCodeTo": 0.0,
    "costCentreTo": "string",
    "payPeriodDueTo": 0.0,
    "gradeTo": "string",
    "deptTo": "string"
}

Response: 400 Bad Request

Bad Request


Response: 401 Unauthorized

Unauthorized


Response: 404 Not Found

Not Found


Response: 405 Method Not Allowed

Method Not Allowed


Response: 500 Internal Server Error

Internal Server Error

Created with the Personal Edition of HelpNDoc: Effortlessly Create Professional Documentation with HelpNDoc's Clean UI