POST api/Reports/Fund

Request Information

URI Parameters

None.

Body Parameters

ReportFundSearch
NameDescriptionTypeAdditional information
SearchText

string

None.

FinancialYearId

integer

None.

PageSize

integer

None.

CurrentPage

integer

None.

SortBy

string

None.

SortType

string

None.

IsExport

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchText": "sample string 1",
  "FinancialYearId": 2,
  "PageSize": 3,
  "CurrentPage": 4,
  "SortBy": "sample string 5",
  "SortType": "sample string 6",
  "IsExport": true
}

text/html

Sample:
{"SearchText":"sample string 1","FinancialYearId":2,"PageSize":3,"CurrentPage":4,"SortBy":"sample string 5","SortType":"sample string 6","IsExport":true}

application/xml, text/xml

Sample:
<ReportFundSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
  <CurrentPage>4</CurrentPage>
  <FinancialYearId>2</FinancialYearId>
  <IsExport>true</IsExport>
  <PageSize>3</PageSize>
  <SearchText>sample string 1</SearchText>
  <SortBy>sample string 5</SortBy>
  <SortType>sample string 6</SortType>
</ReportFundSearch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultTypedOfReportFundResult
NameDescriptionTypeAdditional information
Code

integer

None.

Errors

Collection of string

None.

Data

ReportFundResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Data": {
    "TotalRows": 1,
    "EmployeeList": [
      {
        "FinancialYearId": 1,
        "FinancialYearName": "sample string 2",
        "FinancialYearStartDtm": "2026-04-01T16:39:26.9296061+07:00",
        "FinancialYearEndDtm": "2026-04-01T16:39:26.9296061+07:00",
        "EmployeeId": 5,
        "EmployeeNo": "sample string 6",
        "EmployeeFullName": "sample string 7",
        "ActiveDate": "2026-04-01T16:39:26.9296061+07:00",
        "FundName": "sample string 9",
        "FundTotalAmount": 1.0,
        "FundSpendAmount": 1.0,
        "FundRemainAmount": 1.0
      },
      {
        "FinancialYearId": 1,
        "FinancialYearName": "sample string 2",
        "FinancialYearStartDtm": "2026-04-01T16:39:26.9296061+07:00",
        "FinancialYearEndDtm": "2026-04-01T16:39:26.9296061+07:00",
        "EmployeeId": 5,
        "EmployeeNo": "sample string 6",
        "EmployeeFullName": "sample string 7",
        "ActiveDate": "2026-04-01T16:39:26.9296061+07:00",
        "FundName": "sample string 9",
        "FundTotalAmount": 1.0,
        "FundSpendAmount": 1.0,
        "FundRemainAmount": 1.0
      }
    ]
  }
}

text/html

Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":{"TotalRows":1,"EmployeeList":[{"FinancialYearId":1,"FinancialYearName":"sample string 2","FinancialYearStartDtm":"2026-04-01T16:39:26.9296061+07:00","FinancialYearEndDtm":"2026-04-01T16:39:26.9296061+07:00","EmployeeId":5,"EmployeeNo":"sample string 6","EmployeeFullName":"sample string 7","ActiveDate":"2026-04-01T16:39:26.9296061+07:00","FundName":"sample string 9","FundTotalAmount":1.0,"FundSpendAmount":1.0,"FundRemainAmount":1.0},{"FinancialYearId":1,"FinancialYearName":"sample string 2","FinancialYearStartDtm":"2026-04-01T16:39:26.9296061+07:00","FinancialYearEndDtm":"2026-04-01T16:39:26.9296061+07:00","EmployeeId":5,"EmployeeNo":"sample string 6","EmployeeFullName":"sample string 7","ActiveDate":"2026-04-01T16:39:26.9296061+07:00","FundName":"sample string 9","FundTotalAmount":1.0,"FundSpendAmount":1.0,"FundRemainAmount":1.0}]}}

application/xml, text/xml

Sample:
<ServiceResultTypedOfReportFundResultYj8O1tFc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSW.Common.Models">
  <Code>1</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels">
    <d2p1:EmployeeList>
      <d2p1:ReportFundResultItem>
        <d2p1:ActiveDate>2026-04-01T16:39:26.9296061+07:00</d2p1:ActiveDate>
        <d2p1:EmployeeFullName>sample string 7</d2p1:EmployeeFullName>
        <d2p1:EmployeeId>5</d2p1:EmployeeId>
        <d2p1:EmployeeNo>sample string 6</d2p1:EmployeeNo>
        <d2p1:FinancialYearEndDtm>2026-04-01T16:39:26.9296061+07:00</d2p1:FinancialYearEndDtm>
        <d2p1:FinancialYearId>1</d2p1:FinancialYearId>
        <d2p1:FinancialYearName>sample string 2</d2p1:FinancialYearName>
        <d2p1:FinancialYearStartDtm>2026-04-01T16:39:26.9296061+07:00</d2p1:FinancialYearStartDtm>
        <d2p1:FundName>sample string 9</d2p1:FundName>
        <d2p1:FundRemainAmount>1</d2p1:FundRemainAmount>
        <d2p1:FundSpendAmount>1</d2p1:FundSpendAmount>
        <d2p1:FundTotalAmount>1</d2p1:FundTotalAmount>
      </d2p1:ReportFundResultItem>
      <d2p1:ReportFundResultItem>
        <d2p1:ActiveDate>2026-04-01T16:39:26.9296061+07:00</d2p1:ActiveDate>
        <d2p1:EmployeeFullName>sample string 7</d2p1:EmployeeFullName>
        <d2p1:EmployeeId>5</d2p1:EmployeeId>
        <d2p1:EmployeeNo>sample string 6</d2p1:EmployeeNo>
        <d2p1:FinancialYearEndDtm>2026-04-01T16:39:26.9296061+07:00</d2p1:FinancialYearEndDtm>
        <d2p1:FinancialYearId>1</d2p1:FinancialYearId>
        <d2p1:FinancialYearName>sample string 2</d2p1:FinancialYearName>
        <d2p1:FinancialYearStartDtm>2026-04-01T16:39:26.9296061+07:00</d2p1:FinancialYearStartDtm>
        <d2p1:FundName>sample string 9</d2p1:FundName>
        <d2p1:FundRemainAmount>1</d2p1:FundRemainAmount>
        <d2p1:FundSpendAmount>1</d2p1:FundSpendAmount>
        <d2p1:FundTotalAmount>1</d2p1:FundTotalAmount>
      </d2p1:ReportFundResultItem>
    </d2p1:EmployeeList>
    <d2p1:TotalRows>1</d2p1:TotalRows>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
</ServiceResultTypedOfReportFundResultYj8O1tFc>