GET api/Payslip/GetPayslip
Request Information
URI Parameters
None.
Body Parameters
PostObjectGetOfPayslipDomain| Name | Description | Type | Additional information |
|---|---|---|---|
| StartVersion | string |
None. |
|
| EndVersion | string |
None. |
|
| Domain | PayslipDomain |
None. |
|
| Config | Config |
None. |
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetResultsOfPayslipModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Collection of PayslipModel |
None. |
|
| ErrorMessage | string |
None. |
|
| Checksum | integer |
None. |
|
| TokenString | string |
None. |
|
| CurrentVersion | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": [
{
"PersonelCode": "sample string 1",
"PersonelName": "sample string 2",
"PersonelFamily": "sample string 3",
"PayslipYear": 4,
"PayslipMonth": 5,
"Workday": 1.0,
"WorkSalary": 1.0,
"Absent": 1.0,
"LessWork": 1.0,
"NightWork": 1.0,
"NightWorkAmount": 6.0,
"ExtraWork1": 1.0,
"ExtraWork2": 1.0,
"ExtraWork3": 1.0,
"ExtraWork1Amount": 1.0,
"ExtraWork2Amount": 1.0,
"ExtraWork3Amount": 1.0,
"Rest": 1.0,
"Lunch": 1.0,
"LunchAmount": 1.0,
"InsuranceBase": 1.0,
"Insurance": 1.0,
"TaxBase": 1.0,
"Tax": 1.0,
"imprest": 1.0,
"MonthSalary": 1.0,
"LessWorkAmount": 1.0,
"NetSalary": 1.0,
"GrossSalaries": 1.0,
"AbsentAmount": 1.0,
"ShiftWork1": 1.0,
"ShiftWorkAmount1": 1.0,
"ShiftWork2": 1.0,
"ShiftWorkAmount2": 1.0,
"ShiftWork3": 1.0,
"ShiftWorkAmount3": 1.0,
"Overs": [
{
"OverName": "sample string 1",
"OverBase": 2.0,
"OverAmount": 3.0
},
{
"OverName": "sample string 1",
"OverBase": 2.0,
"OverAmount": 3.0
}
],
"Additions": [
{
"AdditionName": "sample string 1",
"AdditionAmount": 2.0
},
{
"AdditionName": "sample string 1",
"AdditionAmount": 2.0
}
],
"Deductions": [
{
"DeductionName": "sample string 1",
"DeductionAmount": 2.0
},
{
"DeductionName": "sample string 1",
"DeductionAmount": 2.0
}
]
},
{
"PersonelCode": "sample string 1",
"PersonelName": "sample string 2",
"PersonelFamily": "sample string 3",
"PayslipYear": 4,
"PayslipMonth": 5,
"Workday": 1.0,
"WorkSalary": 1.0,
"Absent": 1.0,
"LessWork": 1.0,
"NightWork": 1.0,
"NightWorkAmount": 6.0,
"ExtraWork1": 1.0,
"ExtraWork2": 1.0,
"ExtraWork3": 1.0,
"ExtraWork1Amount": 1.0,
"ExtraWork2Amount": 1.0,
"ExtraWork3Amount": 1.0,
"Rest": 1.0,
"Lunch": 1.0,
"LunchAmount": 1.0,
"InsuranceBase": 1.0,
"Insurance": 1.0,
"TaxBase": 1.0,
"Tax": 1.0,
"imprest": 1.0,
"MonthSalary": 1.0,
"LessWorkAmount": 1.0,
"NetSalary": 1.0,
"GrossSalaries": 1.0,
"AbsentAmount": 1.0,
"ShiftWork1": 1.0,
"ShiftWorkAmount1": 1.0,
"ShiftWork2": 1.0,
"ShiftWorkAmount2": 1.0,
"ShiftWork3": 1.0,
"ShiftWorkAmount3": 1.0,
"Overs": [
{
"OverName": "sample string 1",
"OverBase": 2.0,
"OverAmount": 3.0
},
{
"OverName": "sample string 1",
"OverBase": 2.0,
"OverAmount": 3.0
}
],
"Additions": [
{
"AdditionName": "sample string 1",
"AdditionAmount": 2.0
},
{
"AdditionName": "sample string 1",
"AdditionAmount": 2.0
}
],
"Deductions": [
{
"DeductionName": "sample string 1",
"DeductionAmount": 2.0
},
{
"DeductionName": "sample string 1",
"DeductionAmount": 2.0
}
]
}
],
"ErrorMessage": "sample string 1",
"Checksum": 1,
"TokenString": "sample string 2",
"CurrentVersion": "sample string 3"
}
application/xml, text/xml
Sample:
<GetResultsOfPayslipModel_SjiQf1i8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NR.Shygun.WS.Provider">
<Checksum>1</Checksum>
<CurrentVersion>sample string 3</CurrentVersion>
<ErrorMessage>sample string 1</ErrorMessage>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shygun.Payroll.ClientModels.Models.Payslip">
<d2p1:PayslipModel>
<d2p1:Absent>1</d2p1:Absent>
<d2p1:AbsentAmount>1</d2p1:AbsentAmount>
<d2p1:Additions>
<d2p1:EzafatModel>
<d2p1:AdditionAmount>2</d2p1:AdditionAmount>
<d2p1:AdditionName>sample string 1</d2p1:AdditionName>
</d2p1:EzafatModel>
<d2p1:EzafatModel>
<d2p1:AdditionAmount>2</d2p1:AdditionAmount>
<d2p1:AdditionName>sample string 1</d2p1:AdditionName>
</d2p1:EzafatModel>
</d2p1:Additions>
<d2p1:Deductions>
<d2p1:DeductionModel>
<d2p1:DeductionAmount>2</d2p1:DeductionAmount>
<d2p1:DeductionName>sample string 1</d2p1:DeductionName>
</d2p1:DeductionModel>
<d2p1:DeductionModel>
<d2p1:DeductionAmount>2</d2p1:DeductionAmount>
<d2p1:DeductionName>sample string 1</d2p1:DeductionName>
</d2p1:DeductionModel>
</d2p1:Deductions>
<d2p1:ExtraWork1>1</d2p1:ExtraWork1>
<d2p1:ExtraWork1Amount>1</d2p1:ExtraWork1Amount>
<d2p1:ExtraWork2>1</d2p1:ExtraWork2>
<d2p1:ExtraWork2Amount>1</d2p1:ExtraWork2Amount>
<d2p1:ExtraWork3>1</d2p1:ExtraWork3>
<d2p1:ExtraWork3Amount>1</d2p1:ExtraWork3Amount>
<d2p1:GrossSalaries>1</d2p1:GrossSalaries>
<d2p1:Insurance>1</d2p1:Insurance>
<d2p1:InsuranceBase>1</d2p1:InsuranceBase>
<d2p1:LessWork>1</d2p1:LessWork>
<d2p1:LessWorkAmount>1</d2p1:LessWorkAmount>
<d2p1:Lunch>1</d2p1:Lunch>
<d2p1:LunchAmount>1</d2p1:LunchAmount>
<d2p1:MonthSalary>1</d2p1:MonthSalary>
<d2p1:NetSalary>1</d2p1:NetSalary>
<d2p1:NightWork>1</d2p1:NightWork>
<d2p1:NightWorkAmount>6</d2p1:NightWorkAmount>
<d2p1:Overs>
<d2p1:MazayaModel>
<d2p1:OverAmount>3</d2p1:OverAmount>
<d2p1:OverBase>2</d2p1:OverBase>
<d2p1:OverName>sample string 1</d2p1:OverName>
</d2p1:MazayaModel>
<d2p1:MazayaModel>
<d2p1:OverAmount>3</d2p1:OverAmount>
<d2p1:OverBase>2</d2p1:OverBase>
<d2p1:OverName>sample string 1</d2p1:OverName>
</d2p1:MazayaModel>
</d2p1:Overs>
<d2p1:PayslipMonth>5</d2p1:PayslipMonth>
<d2p1:PayslipYear>4</d2p1:PayslipYear>
<d2p1:PersonelCode>sample string 1</d2p1:PersonelCode>
<d2p1:PersonelFamily>sample string 3</d2p1:PersonelFamily>
<d2p1:PersonelName>sample string 2</d2p1:PersonelName>
<d2p1:Rest>1</d2p1:Rest>
<d2p1:ShiftWork1>1</d2p1:ShiftWork1>
<d2p1:ShiftWork2>1</d2p1:ShiftWork2>
<d2p1:ShiftWork3>1</d2p1:ShiftWork3>
<d2p1:ShiftWorkAmount1>1</d2p1:ShiftWorkAmount1>
<d2p1:ShiftWorkAmount2>1</d2p1:ShiftWorkAmount2>
<d2p1:ShiftWorkAmount3>1</d2p1:ShiftWorkAmount3>
<d2p1:Tax>1</d2p1:Tax>
<d2p1:TaxBase>1</d2p1:TaxBase>
<d2p1:WorkSalary>1</d2p1:WorkSalary>
<d2p1:Workday>1</d2p1:Workday>
<d2p1:imprest>1</d2p1:imprest>
</d2p1:PayslipModel>
<d2p1:PayslipModel>
<d2p1:Absent>1</d2p1:Absent>
<d2p1:AbsentAmount>1</d2p1:AbsentAmount>
<d2p1:Additions>
<d2p1:EzafatModel>
<d2p1:AdditionAmount>2</d2p1:AdditionAmount>
<d2p1:AdditionName>sample string 1</d2p1:AdditionName>
</d2p1:EzafatModel>
<d2p1:EzafatModel>
<d2p1:AdditionAmount>2</d2p1:AdditionAmount>
<d2p1:AdditionName>sample string 1</d2p1:AdditionName>
</d2p1:EzafatModel>
</d2p1:Additions>
<d2p1:Deductions>
<d2p1:DeductionModel>
<d2p1:DeductionAmount>2</d2p1:DeductionAmount>
<d2p1:DeductionName>sample string 1</d2p1:DeductionName>
</d2p1:DeductionModel>
<d2p1:DeductionModel>
<d2p1:DeductionAmount>2</d2p1:DeductionAmount>
<d2p1:DeductionName>sample string 1</d2p1:DeductionName>
</d2p1:DeductionModel>
</d2p1:Deductions>
<d2p1:ExtraWork1>1</d2p1:ExtraWork1>
<d2p1:ExtraWork1Amount>1</d2p1:ExtraWork1Amount>
<d2p1:ExtraWork2>1</d2p1:ExtraWork2>
<d2p1:ExtraWork2Amount>1</d2p1:ExtraWork2Amount>
<d2p1:ExtraWork3>1</d2p1:ExtraWork3>
<d2p1:ExtraWork3Amount>1</d2p1:ExtraWork3Amount>
<d2p1:GrossSalaries>1</d2p1:GrossSalaries>
<d2p1:Insurance>1</d2p1:Insurance>
<d2p1:InsuranceBase>1</d2p1:InsuranceBase>
<d2p1:LessWork>1</d2p1:LessWork>
<d2p1:LessWorkAmount>1</d2p1:LessWorkAmount>
<d2p1:Lunch>1</d2p1:Lunch>
<d2p1:LunchAmount>1</d2p1:LunchAmount>
<d2p1:MonthSalary>1</d2p1:MonthSalary>
<d2p1:NetSalary>1</d2p1:NetSalary>
<d2p1:NightWork>1</d2p1:NightWork>
<d2p1:NightWorkAmount>6</d2p1:NightWorkAmount>
<d2p1:Overs>
<d2p1:MazayaModel>
<d2p1:OverAmount>3</d2p1:OverAmount>
<d2p1:OverBase>2</d2p1:OverBase>
<d2p1:OverName>sample string 1</d2p1:OverName>
</d2p1:MazayaModel>
<d2p1:MazayaModel>
<d2p1:OverAmount>3</d2p1:OverAmount>
<d2p1:OverBase>2</d2p1:OverBase>
<d2p1:OverName>sample string 1</d2p1:OverName>
</d2p1:MazayaModel>
</d2p1:Overs>
<d2p1:PayslipMonth>5</d2p1:PayslipMonth>
<d2p1:PayslipYear>4</d2p1:PayslipYear>
<d2p1:PersonelCode>sample string 1</d2p1:PersonelCode>
<d2p1:PersonelFamily>sample string 3</d2p1:PersonelFamily>
<d2p1:PersonelName>sample string 2</d2p1:PersonelName>
<d2p1:Rest>1</d2p1:Rest>
<d2p1:ShiftWork1>1</d2p1:ShiftWork1>
<d2p1:ShiftWork2>1</d2p1:ShiftWork2>
<d2p1:ShiftWork3>1</d2p1:ShiftWork3>
<d2p1:ShiftWorkAmount1>1</d2p1:ShiftWorkAmount1>
<d2p1:ShiftWorkAmount2>1</d2p1:ShiftWorkAmount2>
<d2p1:ShiftWorkAmount3>1</d2p1:ShiftWorkAmount3>
<d2p1:Tax>1</d2p1:Tax>
<d2p1:TaxBase>1</d2p1:TaxBase>
<d2p1:WorkSalary>1</d2p1:WorkSalary>
<d2p1:Workday>1</d2p1:Workday>
<d2p1:imprest>1</d2p1:imprest>
</d2p1:PayslipModel>
</Result>
<TokenString>sample string 2</TokenString>
</GetResultsOfPayslipModel_SjiQf1i8>