POST api/PayrollComponentTransaction/AddTransaction
Request Information
URI Parameters
None.
Body Parameters
RequestPayrollComponentTransactionCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| PayrollPeriodId | integer |
None. |
|
| ComponentId | integer |
None. |
|
| SourceReferenceType | string |
None. |
|
| SourceReferenceId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| Rate | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| Reason | string |
None. |
|
| AttachmentPath | string |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"PayrollPeriodId": 2,
"ComponentId": 3,
"SourceReferenceType": "sample string 4",
"SourceReferenceId": 1,
"Quantity": 1.0,
"Rate": 1.0,
"Amount": 5.0,
"Reason": "sample string 6",
"AttachmentPath": "sample string 7",
"CreatedBy": 8
}
application/xml, text/xml
Sample:
<RequestPayrollComponentTransactionCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <Amount>5</Amount> <AttachmentPath>sample string 7</AttachmentPath> <ComponentId>3</ComponentId> <CreatedBy>8</CreatedBy> <EmployeeId>1</EmployeeId> <PayrollPeriodId>2</PayrollPeriodId> <Quantity>1</Quantity> <Rate>1</Rate> <Reason>sample string 6</Reason> <SourceReferenceId>1</SourceReferenceId> <SourceReferenceType>sample string 4</SourceReferenceType> </RequestPayrollComponentTransactionCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />