Edit worker's pay item

This interface is used to edit worker's pay item.

Edit worker's pay item

POST /edit-ee-pay-item

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Required
Description

ee_pay_item_id

number

Marco worker pay item's id

effective_date

date

Pay item effective date

end_date

string

Pay item end date

frequency

string

Valid value: Hourly Daily Weekly Bi-weekly Semi-Monthly Monthly Quarterly Half-Yearly Yearly One-Time

type

string

Format as Gross Net CTC

currency

string

The currency of this pay item

amount

number

The amount of this pay item

notes

string

The notes or details of this pay item

files

list of file resource

Related files

Parameter Example

{
  "ee_pay_item_id": "3865",
  "frequency": "Monthly",
  "currency": "USD",
  "amount": "5000",
  "effective_date": "2024-05-01",
  "end_date": "2024-12-21",
  "files_path": "",
  "notes": "qwq",
  "type": "Gross"
}

Request Example

Response

{
    "id": 3865,
    "pay_item": 2556,
    "effective_date": "2024-05-01",
    "end_date": "2024-12-21",
    "gross_net": "Gross",
    "customer_id": 1,
    "value": 5000,
    "currency": "USD",
    "frequency": "Monthly",
    "doc_list": [],
    "notes": "qwq",
    "user": 1820,
    "platform_email": "[email protected]"
}

Last updated