Copy with children configuration

POST /api-v1/payslip/{id}/copy-with-children

Headers

Path parameters

  • id integer Required

    id

Body Required

copyRequest

Responses

POST /api-v1/payslip/{id}/copy-with-children
curl \
 -X POST http://wyzio.app/api-v1/payslip/{id}/copy-with-children \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string" \
 -d '{"calendarYear":42,"endDate":"string","startDate":"string"}'
Request example
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string

# Payload
{
  "calendarYear": 42,
  "endDate": "string",
  "startDate": "string"
}