POST api/v1/hR_SalaryItem
Request Information
URI Parameters
None.
Body Parameters
HR_SalaryItemVMName | Description | Type | Additional information |
---|---|---|---|
salaryItemId | integer |
None. |
|
salaryItemTypeId | integer |
None. |
|
salaryItemName | string |
None. |
|
beneficiaryId | integer |
None. |
|
isTaxable | boolean |
None. |
|
isCalculatedBasedOnPercentage | boolean |
None. |
|
percentage | decimal number |
None. |
|
dateCreated | date |
None. |
|
tenantId | integer |
None. |
|
createdBy | integer |
None. |
|
salaryItemTypeName | string |
None. |
|
beneficiaryName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "salaryItemId": 1, "salaryItemTypeId": 1, "salaryItemName": "sample string 2", "beneficiaryId": 1, "isTaxable": true, "isCalculatedBasedOnPercentage": true, "percentage": 1.1, "dateCreated": "2024-11-24T08:54:17.3217357-08:00", "tenantId": 1, "createdBy": 1, "salaryItemTypeName": "sample string 5", "beneficiaryName": "sample string 6" }
application/xml, text/xml
Sample:
<HR_SalaryItemVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <beneficiaryId>1</beneficiaryId> <beneficiaryName>sample string 6</beneficiaryName> <createdBy>1</createdBy> <dateCreated>2024-11-24T08:54:17.3217357-08:00</dateCreated> <isCalculatedBasedOnPercentage>true</isCalculatedBasedOnPercentage> <isTaxable>true</isTaxable> <percentage>1.1</percentage> <salaryItemId>1</salaryItemId> <salaryItemName>sample string 2</salaryItemName> <salaryItemTypeId>1</salaryItemTypeId> <salaryItemTypeName>sample string 5</salaryItemTypeName> <tenantId>1</tenantId> </HR_SalaryItemVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.