GetPayCodes


Description:

Request Pay Code details information for given Company or PayCodeType that the requester is authorized to view


Request:

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


Request parameters:

Name

In

Required

Type

Description

 companyId

template

true

string

string

 payCodeType

template

true

string

string



Request headers:

Name

Required

Type

Description

Authorization

Yes

string

access token


Response example:


Response: 200 OK


{
       "payDedCode": "string",
       "payDedCodeDescription": "string",
       "payDedCodeType": "string",

      "type": "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: Write eBooks for the Kindle