Create Deduction
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Creates a Deduction on a particular Employee Check, using a Deduction Template, for a Company.
Returns
| attributes | types | description |
|---|---|---|
| success | boolean | Response status |
| data | object | Newly created Deduction Object |
| errors | array | Contains list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
Parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
| companyID | string | required | ID of Company |
| employeeCheckID | string | required | ID of EmployeeCheck to attach Deduction to |
| deductionTemplateID | string | required | ID of Deduction Template used to create this deduction |
| deduction | object | required | The deduction object |
Response Codes
``200 200
``400 400
Sample Request
curl --request POST \
--url https://api.zeal.com/deductions \
--header 'accept: application/json' \
--header 'content-type: application/json'
Sample Response
application/json
200 - Result
400 - Result
Updated 7 months ago.