GET api/STMBenefit/CurrentFy
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ServiceResultTypedOfSTMBenefit| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | STMBenefit |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": {
"StmBenefitId": 1,
"StmBenefitName": "sample string 2",
"StmFiscalYearId": 3,
"StmBenefitYear": "sample string 4",
"StmBenefitDateText": "sample string 5",
"StmBenefitStartDtm": "2026-04-01T16:39:29.9352625+07:00",
"StmBenefitEndDtm": "2026-04-01T16:39:29.9352625+07:00",
"StmBenefitAmount": 6.0,
"StmBenefitExchangeAmount": 7.0,
"IsActive": true,
"IsUsed": true
}
}
text/html
Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":{"StmBenefitId":1,"StmBenefitName":"sample string 2","StmFiscalYearId":3,"StmBenefitYear":"sample string 4","StmBenefitDateText":"sample string 5","StmBenefitStartDtm":"2026-04-01T16:39:29.9352625+07:00","StmBenefitEndDtm":"2026-04-01T16:39:29.9352625+07:00","StmBenefitAmount":6.0,"StmBenefitExchangeAmount":7.0,"IsActive":true,"IsUsed":true}}
application/xml, text/xml
Sample:
<ServiceResultTypedOfSTMBenefitYj8O1tFc 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:IsActive>true</d2p1:IsActive>
<d2p1:IsUsed>true</d2p1:IsUsed>
<d2p1:StmBenefitAmount>6</d2p1:StmBenefitAmount>
<d2p1:StmBenefitDateText>sample string 5</d2p1:StmBenefitDateText>
<d2p1:StmBenefitEndDtm>2026-04-01T16:39:29.9352625+07:00</d2p1:StmBenefitEndDtm>
<d2p1:StmBenefitExchangeAmount>7</d2p1:StmBenefitExchangeAmount>
<d2p1:StmBenefitId>1</d2p1:StmBenefitId>
<d2p1:StmBenefitName>sample string 2</d2p1:StmBenefitName>
<d2p1:StmBenefitStartDtm>2026-04-01T16:39:29.9352625+07:00</d2p1:StmBenefitStartDtm>
<d2p1:StmBenefitYear>sample string 4</d2p1:StmBenefitYear>
<d2p1:StmFiscalYearId>3</d2p1:StmFiscalYearId>
</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>
</ServiceResultTypedOfSTMBenefitYj8O1tFc>