PUT api/CopaymentRates
Request Information
URI Parameters
None.
Body Parameters
CopaymentRate| Name | Description | Type | Additional information |
|---|---|---|---|
| CopaymentRateId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BenefitPlanId | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Payrate | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedDtm | date |
None. |
|
| CreatedByUserId | integer |
None. |
|
| UpdatedDtm | date |
None. |
|
| UpdatedByUserId | integer |
None. |
|
| UsageCount | integer |
None. |
|
| IsUsed | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CopaymentRateId": 1,
"CompanyId": 1,
"BenefitPlanId": 2,
"StartDate": "2026-06-28T16:28:29.9574499+07:00",
"EndDate": "2026-06-28T16:28:29.9574499+07:00",
"Payrate": 1.0,
"IsActive": true,
"CreatedDtm": "2026-06-28T16:28:29.9574499+07:00",
"CreatedByUserId": 5,
"UpdatedDtm": "2026-06-28T16:28:29.9574499+07:00",
"UpdatedByUserId": 1,
"UsageCount": 6,
"IsUsed": true
}
text/html
Sample:
{"CopaymentRateId":1,"CompanyId":1,"BenefitPlanId":2,"StartDate":"2026-06-28T16:28:29.9574499+07:00","EndDate":"2026-06-28T16:28:29.9574499+07:00","Payrate":1.0,"IsActive":true,"CreatedDtm":"2026-06-28T16:28:29.9574499+07:00","CreatedByUserId":5,"UpdatedDtm":"2026-06-28T16:28:29.9574499+07:00","UpdatedByUserId":1,"UsageCount":6,"IsUsed":true}
application/xml, text/xml
Sample:
<CopaymentRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels"> <BenefitPlanId>2</BenefitPlanId> <CompanyId>1</CompanyId> <CopaymentRateId>1</CopaymentRateId> <CreatedByUserId>5</CreatedByUserId> <CreatedDtm>2026-06-28T16:28:29.9574499+07:00</CreatedDtm> <EndDate>2026-06-28T16:28:29.9574499+07:00</EndDate> <IsActive>true</IsActive> <IsUsed>true</IsUsed> <Payrate>1</Payrate> <StartDate>2026-06-28T16:28:29.9574499+07:00</StartDate> <UpdatedByUserId>1</UpdatedByUserId> <UpdatedDtm>2026-06-28T16:28:29.9574499+07:00</UpdatedDtm> <UsageCount>6</UsageCount> </CopaymentRate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultTypedOfCopaymentRate| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | 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:28:29.9634531+07:00",
"EndDate": "2026-06-28T16:28:29.9634531+07:00",
"Payrate": 1.0,
"IsActive": true,
"CreatedDtm": "2026-06-28T16:28:29.9634531+07:00",
"CreatedByUserId": 5,
"UpdatedDtm": "2026-06-28T16:28:29.9634531+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:28:29.9634531+07:00","EndDate":"2026-06-28T16:28:29.9634531+07:00","Payrate":1.0,"IsActive":true,"CreatedDtm":"2026-06-28T16:28:29.9634531+07:00","CreatedByUserId":5,"UpdatedDtm":"2026-06-28T16:28:29.9634531+07:00","UpdatedByUserId":1,"UsageCount":6,"IsUsed":true}}
application/xml, text/xml
Sample:
<ServiceResultTypedOfCopaymentRateYj8O1tFc 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:BenefitPlanId>2</d2p1:BenefitPlanId>
<d2p1:CompanyId>1</d2p1:CompanyId>
<d2p1:CopaymentRateId>1</d2p1:CopaymentRateId>
<d2p1:CreatedByUserId>5</d2p1:CreatedByUserId>
<d2p1:CreatedDtm>2026-06-28T16:28:29.9634531+07:00</d2p1:CreatedDtm>
<d2p1:EndDate>2026-06-28T16:28:29.9634531+07:00</d2p1:EndDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsUsed>true</d2p1:IsUsed>
<d2p1:Payrate>1</d2p1:Payrate>
<d2p1:StartDate>2026-06-28T16:28:29.9634531+07:00</d2p1:StartDate>
<d2p1:UpdatedByUserId>1</d2p1:UpdatedByUserId>
<d2p1:UpdatedDtm>2026-06-28T16:28:29.9634531+07:00</d2p1:UpdatedDtm>
<d2p1:UsageCount>6</d2p1:UsageCount>
</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>
</ServiceResultTypedOfCopaymentRateYj8O1tFc>