POST api/benefit-program/coverage/{coverageId}/contract?vendorContractExistingId={vendorContractExistingId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
coverageId

integer

Required

vendorContractExistingId

integer

Required

Body Parameters

VendorContractSubModel
NameDescriptionTypeAdditional information
VendorId

integer

None.

ServicesProvidedByVendor

string

None.

PolicyContractNumber

string

None.

ContractEffectiveDate

date

None.

NatureOfContract

integer

None.

MarketingExercise

boolean

None.

ContractDuration

decimal number

None.

NextRenewalDate

date

None.

TacitRenewal

boolean

None.

NoticePeriod

string

None.

FreeCoverLimit

string

None.

MaximumBenefit

decimal number

None.

LocalExperienceRating

boolean

None.

ExperienceRatingFormula

string

None.

CommunityRating

boolean

None.

VendorCompensationBasis

string

None.

VendorAnnualCompensation

decimal number

None.

VendorEmployeesDeployedToCompany

integer

None.

CurrencyId

integer

None.

OtherVendorContractDetails

string

None.

CommissionRate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorId": 1,
  "ServicesProvidedByVendor": "sample string 2",
  "PolicyContractNumber": "sample string 3",
  "ContractEffectiveDate": "2024-12-14T22:26:54.5900018+00:00",
  "NatureOfContract": 1,
  "MarketingExercise": true,
  "ContractDuration": 1.0,
  "NextRenewalDate": "2024-12-14T22:26:54.5900018+00:00",
  "TacitRenewal": true,
  "NoticePeriod": "sample string 6",
  "FreeCoverLimit": "sample string 7",
  "MaximumBenefit": 1.0,
  "LocalExperienceRating": true,
  "ExperienceRatingFormula": "sample string 9",
  "CommunityRating": true,
  "VendorCompensationBasis": "sample string 11",
  "VendorAnnualCompensation": 1.0,
  "VendorEmployeesDeployedToCompany": 1,
  "CurrencyId": 1,
  "OtherVendorContractDetails": "sample string 12",
  "CommissionRate": 1.0
}

application/xml, text/xml

Sample:
<VendorContractSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <CommissionRate>1</CommissionRate>
  <CommunityRating>true</CommunityRating>
  <ContractDuration>1</ContractDuration>
  <ContractEffectiveDate>2024-12-14T22:26:54.5900018+00:00</ContractEffectiveDate>
  <CurrencyId>1</CurrencyId>
  <ExperienceRatingFormula>sample string 9</ExperienceRatingFormula>
  <FreeCoverLimit>sample string 7</FreeCoverLimit>
  <LocalExperienceRating>true</LocalExperienceRating>
  <MarketingExercise>true</MarketingExercise>
  <MaximumBenefit>1</MaximumBenefit>
  <NatureOfContract>1</NatureOfContract>
  <NextRenewalDate>2024-12-14T22:26:54.5900018+00:00</NextRenewalDate>
  <NoticePeriod>sample string 6</NoticePeriod>
  <OtherVendorContractDetails>sample string 12</OtherVendorContractDetails>
  <PolicyContractNumber>sample string 3</PolicyContractNumber>
  <ServicesProvidedByVendor>sample string 2</ServicesProvidedByVendor>
  <TacitRenewal>true</TacitRenewal>
  <VendorAnnualCompensation>1</VendorAnnualCompensation>
  <VendorCompensationBasis>sample string 11</VendorCompensationBasis>
  <VendorEmployeesDeployedToCompany>1</VendorEmployeesDeployedToCompany>
  <VendorId>1</VendorId>
</VendorContractSubModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VendorContractSubModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.