GET api/InsurancePremiumPlant/{companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultTypedOfInsurancePremiumPlantResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | InsurancePremiumPlantResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": {
"PlantId": 1,
"CompanyId": 2,
"PlantStartDate": "2026-04-01T16:49:43.3854334+07:00",
"PlantEndDate": "2026-04-01T16:49:43.3854334+07:00",
"EmployeePlantAmount": 3.0,
"FamilyPlantAmount": 4.0,
"CreatedBy": "sample string 5",
"CreatedDate": "2026-04-01T16:49:43.3854334+07:00",
"UpdatedBy": "sample string 6",
"UpdatedDate": "2026-04-01T16:49:43.3854334+07:00",
"CreatedByUserId": 7,
"UpdatedByUserId": 1,
"IsActive": 1
}
}
text/html
Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":{"PlantId":1,"CompanyId":2,"PlantStartDate":"2026-04-01T16:49:43.3854334+07:00","PlantEndDate":"2026-04-01T16:49:43.3854334+07:00","EmployeePlantAmount":3.0,"FamilyPlantAmount":4.0,"CreatedBy":"sample string 5","CreatedDate":"2026-04-01T16:49:43.3854334+07:00","UpdatedBy":"sample string 6","UpdatedDate":"2026-04-01T16:49:43.3854334+07:00","CreatedByUserId":7,"UpdatedByUserId":1,"IsActive":1}}
application/xml, text/xml
Sample:
<ServiceResultTypedOfInsurancePremiumPlantResultYj8O1tFc 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:CompanyId>2</d2p1:CompanyId>
<d2p1:CreatedBy>sample string 5</d2p1:CreatedBy>
<d2p1:CreatedByUserId>7</d2p1:CreatedByUserId>
<d2p1:CreatedDate>2026-04-01T16:49:43.3854334+07:00</d2p1:CreatedDate>
<d2p1:EmployeePlantAmount>3</d2p1:EmployeePlantAmount>
<d2p1:FamilyPlantAmount>4</d2p1:FamilyPlantAmount>
<d2p1:IsActive>1</d2p1:IsActive>
<d2p1:PlantEndDate>2026-04-01T16:49:43.3854334+07:00</d2p1:PlantEndDate>
<d2p1:PlantId>1</d2p1:PlantId>
<d2p1:PlantStartDate>2026-04-01T16:49:43.3854334+07:00</d2p1:PlantStartDate>
<d2p1:UpdatedBy>sample string 6</d2p1:UpdatedBy>
<d2p1:UpdatedByUserId>1</d2p1:UpdatedByUserId>
<d2p1:UpdatedDate>2026-04-01T16:49:43.3854334+07:00</d2p1:UpdatedDate>
</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>
</ServiceResultTypedOfInsurancePremiumPlantResultYj8O1tFc>