POST api/networkplans/{id}/copyplan
Creates a copy of an existing network plan
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The identifier of the network plan to be copied |
integer |
Required |
Body Parameters
The model containing information about the new network plan to be created
NetworkPlanCopyPlanModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateNo |
Gets or sets the Template ID |
integer |
None. |
| OverrideTemplate |
Gets or sets the Override Template field |
boolean |
None. |
| NewPlanName |
The order in which this address should appear in a list |
string |
None. |
| StartDate |
Gets or sets the Start Date |
date |
None. |
| EndDate |
Gets or sets the End Date |
date |
None. |
| CopyGeneralOptionsRules |
Gets or sets the Copy General Options Rules boolean. |
boolean |
None. |
| CopyGeneralOptionsByDrugRules |
Gets or sets the Copy General Options By Drug Rules boolean. |
boolean |
None. |
| CopyOverrideRules |
Gets or sets the Copy Override Rules boolean. |
boolean |
None. |
| CopyStandardFormularyRules |
Gets or sets the Copy Standard Formulary Rules boolean. |
boolean |
None. |
| CopyDAWRules |
Gets or sets the Copy DAW Rules boolean. |
boolean |
None. |
| CopyPlanFormularyRules |
Gets or sets the Copy Plan Formulary Rules boolean. |
boolean |
None. |
| CopyPharmacyFormularyRules |
Gets or sets the Copy Pharmacy Formulary Rules boolean. |
boolean |
None. |
| CopyMemberFormularyRules |
Gets or sets the Copy Member Formualry Rules boolean. |
boolean |
None. |
| CopyPrescriberFormularyRules |
Gets or sets the Copy Prescriber Formulary Rules boolean. |
boolean |
None. |
| CopyStepTherapyRules |
Gets or sets the Copy Step Therapy Rules boolean. |
boolean |
None. |
| CopyClaimLimitRules |
Gets or sets the Copy Claim Limit Rules boolean. |
boolean |
None. |
| CopyClaimLimitDefaultRules |
Gets or sets the Copy ClaimLimitDefault Rules boolean. |
boolean |
None. |
| CopyDrugOptionsRules |
Gets or sets the Copy Drug Options Rules boolean. |
boolean |
None. |
| CopyClaimOptionsRules |
Gets or sets the Copy Claim Options Rules boolean. |
boolean |
None. |
| CopyFinalFormularyRules |
Gets or sets the Copy Final Formulary Rules boolean. |
boolean |
None. |
| CopyBenefitsRules |
Gets or sets the Copy Benefits Rules boolean. |
boolean |
None. |
| CopyPostPricingRules |
Gets or sets the Copy Post Pricing Rules boolean. |
boolean |
None. |
Request Formats
application/json, text/json, application/json-patch+json
{
"templateNo": 1,
"overrideTemplate": true,
"newPlanName": "sample string 1",
"startDate": "2025-12-09T20:11:28.0336132-06:00",
"endDate": "2025-12-09T20:11:28.0336132-06:00",
"copyGeneralOptionsRules": true,
"copyGeneralOptionsByDrugRules": true,
"copyOverrideRules": true,
"copyStandardFormularyRules": true,
"copyDAWRules": true,
"copyPlanFormularyRules": true,
"copyPharmacyFormularyRules": true,
"copyMemberFormularyRules": true,
"copyPrescriberFormularyRules": true,
"copyStepTherapyRules": true,
"copyClaimLimitRules": true,
"copyClaimLimitDefaultRules": true,
"copyDrugOptionsRules": true,
"copyClaimOptionsRules": true,
"copyFinalFormularyRules": true,
"copyBenefitsRules": true,
"copyPostPricingRules": true
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
An IHttpActionResult representing the outcome of the operation: - Ok() if the copy operation is successful. - BadRequest with errors if validation fails or the network plan is not eligible for copying. - NotFound if the specified network plan or related entities are not found. - InternalServerError in case of an exception.
None.