PostBasicNewStarter


Description:

Inserts submitted new worker basic details, if requester, is authorized to do so.


Request:

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


Request headers:

Name

Required

Type

Description

Authorization

Yes

string

access token


Request body:


{

  "payrollCompanyCode": "string",

  "idNumber": "string",

  "hrEmployeeId": "string",

  "title": "string",

  "surname": "string",

  "firstForename": "string",

  "addressLine1": "string",

  "addressLine2": "string",

  "country": "string",

  "dateOfBirth": "string",

  "startDate": "string",

  "maritalStatus": "string",

  "gender": "string",

  "annualSalary": 0,

  "personalMobileNumber": "string",

  "personalEmailAddress": "string"

}


Response example:


Response: 200 OK

{ "responseMessage": "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: Produce electronic books easily