Picture

/api/v2/payrolls/epp

Picture

Authorization Bearer Token

Token
<access_token>

Request Parameter

Name
Type
Required
Description
userID
String
Required
User ID
purchaseAmount
Numeric
Required
Purchase total amount
totalPeriod
Numeric
Required
Period terms
remark
String
Required
Remark
documentNo
String
Required
Document No

Example Request

curl --location --request POST 'https: //api.veniocrm.com/empeo/api/v2/payrolls/epp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode '{
    "userID": "4807D3AD-4B4B-4A6D-BA2D-EA652DCFDD95",
    "purchaseAmount": 50000,
    "totalPeriod": 6,
    "remark": "Remark",
    "documentNo": "Doc10000"
}='
Download postman Collection

Response

Name
Type
Description
status
Status
data
Any Object
Response

Status

Name
Type
Description
code
Numeric
Http status code
description
String
status description

Example Response

{
"status": {
"code": 201,
"description": "Payroll created Success!"
},
"data": {}
}
© Copyright 2021 Gofive Co., Ltd. All right reserved.