GET api/PayAdvicePDF
Request Information
URI Parameters
(i.e.queryString parameters in the form ?param1={param1}¶m2={param2})
Name | Description | Type | Additional information |
---|---|---|---|
empCode | string |
Required |
|
periodEndDate | date |
Required |
|
payAdvicePDFId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PayAdvicePDFViewName | Description | Type | Additional information |
---|---|---|---|
idPayAdvicePDF | integer |
None. |
|
EmpCode | string |
Required |
|
AdviceNumber | integer |
Required |
|
PeriodStart | date |
Required |
|
PeriodEnd | date |
Required |
|
PeriodID | integer |
Required |
|
DateCreated | date |
None. |
|
PDFContents | Collection of Byte[] |
Required |
|
PayAdviceDate | date |
Required |
|
TotalGross | decimal number |
Required |
|
TotalSuper | decimal number |
Required |
|
TotalTax | decimal number |
Required |
|
TotalNet | decimal number |
Required |
Response Formats
application/json, text/json
Sample:
{ "idPayAdvicePDF": 1, "empCode": "sample string 2", "adviceNumber": 3, "periodStart": "2024-11-22T00:19:42.9670374+11:00", "periodEnd": "2024-11-22T00:19:42.9670374+11:00", "periodID": 6, "dateCreated": "2024-11-22T00:19:42.9670374+11:00", "pdfContents": "QEA=", "payAdviceDate": "2024-11-22T00:19:42.9670374+11:00", "totalGross": 1.1, "totalSuper": 1.1, "totalTax": 1.1, "totalNet": 1.1 }
application/xml, text/xml
Sample:
<PayAdvicePDFView xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <idPayAdvicePDF>1</idPayAdvicePDF> <EmpCode>sample string 2</EmpCode> <AdviceNumber>3</AdviceNumber> <PeriodStart>2024-11-22T00:19:42.9670374+11:00</PeriodStart> <PeriodEnd>2024-11-22T00:19:42.9670374+11:00</PeriodEnd> <PeriodID>6</PeriodID> <DateCreated>2024-11-22T00:19:42.9670374+11:00</DateCreated> <PDFContents>QEA=</PDFContents> <PayAdviceDate>2024-11-22T00:19:42.9670374+11:00</PayAdviceDate> <TotalGross>1.1</TotalGross> <TotalSuper>1.1</TotalSuper> <TotalTax>1.1</TotalTax> <TotalNet>1.1</TotalNet> </PayAdvicePDFView>