GET api/CopaymentRates?companyId={companyId}&benefitPlanId={benefitPlanId}&includeInactive={includeInactive}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

None.

benefitPlanId

integer

None.

includeInactive

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ServiceResultTypedOfListOfCopaymentRate
NameDescriptionTypeAdditional information
Code

integer

None.

Errors

Collection of string

None.

Data

Collection of CopaymentRate

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Data": [
    {
      "CopaymentRateId": 1,
      "CompanyId": 1,
      "BenefitPlanId": 2,
      "StartDate": "2026-06-28T16:33:20.1039216+07:00",
      "EndDate": "2026-06-28T16:33:20.1039216+07:00",
      "Payrate": 1.0,
      "IsActive": true,
      "CreatedDtm": "2026-06-28T16:33:20.1039216+07:00",
      "CreatedByUserId": 5,
      "UpdatedDtm": "2026-06-28T16:33:20.1039216+07:00",
      "UpdatedByUserId": 1,
      "UsageCount": 6,
      "IsUsed": true
    },
    {
      "CopaymentRateId": 1,
      "CompanyId": 1,
      "BenefitPlanId": 2,
      "StartDate": "2026-06-28T16:33:20.1039216+07:00",
      "EndDate": "2026-06-28T16:33:20.1039216+07:00",
      "Payrate": 1.0,
      "IsActive": true,
      "CreatedDtm": "2026-06-28T16:33:20.1039216+07:00",
      "CreatedByUserId": 5,
      "UpdatedDtm": "2026-06-28T16:33:20.1039216+07:00",
      "UpdatedByUserId": 1,
      "UsageCount": 6,
      "IsUsed": true
    }
  ]
}

text/html

Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":[{"CopaymentRateId":1,"CompanyId":1,"BenefitPlanId":2,"StartDate":"2026-06-28T16:33:20.1039216+07:00","EndDate":"2026-06-28T16:33:20.1039216+07:00","Payrate":1.0,"IsActive":true,"CreatedDtm":"2026-06-28T16:33:20.1039216+07:00","CreatedByUserId":5,"UpdatedDtm":"2026-06-28T16:33:20.1039216+07:00","UpdatedByUserId":1,"UsageCount":6,"IsUsed":true},{"CopaymentRateId":1,"CompanyId":1,"BenefitPlanId":2,"StartDate":"2026-06-28T16:33:20.1039216+07:00","EndDate":"2026-06-28T16:33:20.1039216+07:00","Payrate":1.0,"IsActive":true,"CreatedDtm":"2026-06-28T16:33:20.1039216+07:00","CreatedByUserId":5,"UpdatedDtm":"2026-06-28T16:33:20.1039216+07:00","UpdatedByUserId":1,"UsageCount":6,"IsUsed":true}]}

application/xml, text/xml

Sample:
<ServiceResultTypedOfArrayOfCopaymentRateYj8O1tFc 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:CopaymentRate>
      <d2p1:BenefitPlanId>2</d2p1:BenefitPlanId>
      <d2p1:CompanyId>1</d2p1:CompanyId>
      <d2p1:CopaymentRateId>1</d2p1:CopaymentRateId>
      <d2p1:CreatedByUserId>5</d2p1:CreatedByUserId>
      <d2p1:CreatedDtm>2026-06-28T16:33:20.1039216+07:00</d2p1:CreatedDtm>
      <d2p1:EndDate>2026-06-28T16:33:20.1039216+07:00</d2p1:EndDate>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsUsed>true</d2p1:IsUsed>
      <d2p1:Payrate>1</d2p1:Payrate>
      <d2p1:StartDate>2026-06-28T16:33:20.1039216+07:00</d2p1:StartDate>
      <d2p1:UpdatedByUserId>1</d2p1:UpdatedByUserId>
      <d2p1:UpdatedDtm>2026-06-28T16:33:20.1039216+07:00</d2p1:UpdatedDtm>
      <d2p1:UsageCount>6</d2p1:UsageCount>
    </d2p1:CopaymentRate>
    <d2p1:CopaymentRate>
      <d2p1:BenefitPlanId>2</d2p1:BenefitPlanId>
      <d2p1:CompanyId>1</d2p1:CompanyId>
      <d2p1:CopaymentRateId>1</d2p1:CopaymentRateId>
      <d2p1:CreatedByUserId>5</d2p1:CreatedByUserId>
      <d2p1:CreatedDtm>2026-06-28T16:33:20.1039216+07:00</d2p1:CreatedDtm>
      <d2p1:EndDate>2026-06-28T16:33:20.1039216+07:00</d2p1:EndDate>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsUsed>true</d2p1:IsUsed>
      <d2p1:Payrate>1</d2p1:Payrate>
      <d2p1:StartDate>2026-06-28T16:33:20.1039216+07:00</d2p1:StartDate>
      <d2p1:UpdatedByUserId>1</d2p1:UpdatedByUserId>
      <d2p1:UpdatedDtm>2026-06-28T16:33:20.1039216+07:00</d2p1:UpdatedDtm>
      <d2p1:UsageCount>6</d2p1:UsageCount>
    </d2p1:CopaymentRate>
  </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>
</ServiceResultTypedOfArrayOfCopaymentRateYj8O1tFc>