POST api/Payroll/GetContactSalarySlipDetails
Request Information
URI Parameters
None.
Body Parameters
SalarySlipRequestInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| UserId | integer |
None. |
|
| UserType | string |
None. |
|
| CustomerId | integer |
None. |
|
| ContactId | integer |
None. |
|
| TokenId | string |
None. |
|
| dbOperation | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Month": 1,
"Year": 2,
"UserId": 3,
"UserType": "sample string 4",
"CustomerId": 5,
"ContactId": 6,
"TokenId": "sample string 7",
"dbOperation": "sample string 8"
}
application/xml, text/xml
Sample:
<SalarySlipRequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo"> <ContactId>6</ContactId> <CustomerId>5</CustomerId> <TokenId>sample string 7</TokenId> <UserId>3</UserId> <UserType>sample string 4</UserType> <dbOperation>sample string 8</dbOperation> <Month>1</Month> <Year>2</Year> </SalarySlipRequestInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SalarySlipResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| objSalarySlipInfoList | Collection of SalarySlipInfo |
None. |
|
| objSalarySlipEarningHeadInfo | Collection of SalarySlipHeadInfo |
None. |
|
| objSalarySlipDeductionHeadInfo | Collection of SalarySlipHeadInfo |
None. |
|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"objSalarySlipInfoList": [
{
"SalarySlipId": 1,
"ContactId": 2,
"ContactName": "sample string 3",
"MonthId": 4,
"Month": "sample string 5",
"Year": 6,
"Designation": "sample string 7",
"PANNo": "sample string 8",
"DaysPresent": 9.1,
"DaysPaid": 10.1,
"PaidOff": 11.1,
"SickLeave": 12.1,
"CasualLeave": 13.1,
"PaidLeave": 14.1,
"CompOff": 15.1,
"OtherLeave": 16.1,
"TotalEarnings": 17.1,
"TotalDeductions": 18.1,
"NetPayment": 19.1,
"Code": "sample string 20",
"Department": "sample string 21",
"AmountInWords": "sample string 22",
"SalarySlipPath": "sample string 23",
"SalarySlipURL": "sample string 24"
},
{
"SalarySlipId": 1,
"ContactId": 2,
"ContactName": "sample string 3",
"MonthId": 4,
"Month": "sample string 5",
"Year": 6,
"Designation": "sample string 7",
"PANNo": "sample string 8",
"DaysPresent": 9.1,
"DaysPaid": 10.1,
"PaidOff": 11.1,
"SickLeave": 12.1,
"CasualLeave": 13.1,
"PaidLeave": 14.1,
"CompOff": 15.1,
"OtherLeave": 16.1,
"TotalEarnings": 17.1,
"TotalDeductions": 18.1,
"NetPayment": 19.1,
"Code": "sample string 20",
"Department": "sample string 21",
"AmountInWords": "sample string 22",
"SalarySlipPath": "sample string 23",
"SalarySlipURL": "sample string 24"
}
],
"objSalarySlipEarningHeadInfo": [
{
"SalaryHeadName": "sample string 1",
"GrossAmount": 2.1,
"Amount": 3.1
},
{
"SalaryHeadName": "sample string 1",
"GrossAmount": 2.1,
"Amount": 3.1
}
],
"objSalarySlipDeductionHeadInfo": [
{
"SalaryHeadName": "sample string 1",
"GrossAmount": 2.1,
"Amount": 3.1
},
{
"SalaryHeadName": "sample string 1",
"GrossAmount": 2.1,
"Amount": 3.1
}
],
"Status": 1,
"Message": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<SalarySlipResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo">
<Exception>sample string 3</Exception>
<Message>sample string 2</Message>
<Status>1</Status>
<objSalarySlipDeductionHeadInfo>
<SalarySlipHeadInfo>
<Amount>3.1</Amount>
<GrossAmount>2.1</GrossAmount>
<SalaryHeadName>sample string 1</SalaryHeadName>
</SalarySlipHeadInfo>
<SalarySlipHeadInfo>
<Amount>3.1</Amount>
<GrossAmount>2.1</GrossAmount>
<SalaryHeadName>sample string 1</SalaryHeadName>
</SalarySlipHeadInfo>
</objSalarySlipDeductionHeadInfo>
<objSalarySlipEarningHeadInfo>
<SalarySlipHeadInfo>
<Amount>3.1</Amount>
<GrossAmount>2.1</GrossAmount>
<SalaryHeadName>sample string 1</SalaryHeadName>
</SalarySlipHeadInfo>
<SalarySlipHeadInfo>
<Amount>3.1</Amount>
<GrossAmount>2.1</GrossAmount>
<SalaryHeadName>sample string 1</SalaryHeadName>
</SalarySlipHeadInfo>
</objSalarySlipEarningHeadInfo>
<objSalarySlipInfoList>
<SalarySlipInfo>
<AmountInWords>sample string 22</AmountInWords>
<CasualLeave>13.1</CasualLeave>
<Code>sample string 20</Code>
<CompOff>15.1</CompOff>
<ContactId>2</ContactId>
<ContactName>sample string 3</ContactName>
<DaysPaid>10.1</DaysPaid>
<DaysPresent>9.1</DaysPresent>
<Department>sample string 21</Department>
<Designation>sample string 7</Designation>
<Month>sample string 5</Month>
<MonthId>4</MonthId>
<NetPayment>19.1</NetPayment>
<OtherLeave>16.1</OtherLeave>
<PANNo>sample string 8</PANNo>
<PaidLeave>14.1</PaidLeave>
<PaidOff>11.1</PaidOff>
<SalarySlipId>1</SalarySlipId>
<SalarySlipPath>sample string 23</SalarySlipPath>
<SalarySlipURL>sample string 24</SalarySlipURL>
<SickLeave>12.1</SickLeave>
<TotalDeductions>18.1</TotalDeductions>
<TotalEarnings>17.1</TotalEarnings>
<Year>6</Year>
</SalarySlipInfo>
<SalarySlipInfo>
<AmountInWords>sample string 22</AmountInWords>
<CasualLeave>13.1</CasualLeave>
<Code>sample string 20</Code>
<CompOff>15.1</CompOff>
<ContactId>2</ContactId>
<ContactName>sample string 3</ContactName>
<DaysPaid>10.1</DaysPaid>
<DaysPresent>9.1</DaysPresent>
<Department>sample string 21</Department>
<Designation>sample string 7</Designation>
<Month>sample string 5</Month>
<MonthId>4</MonthId>
<NetPayment>19.1</NetPayment>
<OtherLeave>16.1</OtherLeave>
<PANNo>sample string 8</PANNo>
<PaidLeave>14.1</PaidLeave>
<PaidOff>11.1</PaidOff>
<SalarySlipId>1</SalarySlipId>
<SalarySlipPath>sample string 23</SalarySlipPath>
<SalarySlipURL>sample string 24</SalarySlipURL>
<SickLeave>12.1</SickLeave>
<TotalDeductions>18.1</TotalDeductions>
<TotalEarnings>17.1</TotalEarnings>
<Year>6</Year>
</SalarySlipInfo>
</objSalarySlipInfoList>
</SalarySlipResponseInfo>