POST v1/copy/companies/{companyCode}/divisions/{divisionCode}/benefit-plans/{planName}?targetCompanyCode={targetCompanyCode}&targetDivisionCode={targetDivisionCode}&targetOptionalPlanName={targetOptionalPlanName}&targetOptionalPlanDescription={targetOptionalPlanDescription}&importAction={importAction}
Copy Benefit Plan
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode |
the source CompanyCode. |
string |
Required |
| divisionCode |
the source DivisionCode. |
string |
Required |
| planName |
the source PlanName |
string |
Required |
| targetCompanyCode |
the target CompanyCode |
string |
Required |
| targetDivisionCode |
the target DivisionCode |
string |
Required |
| targetOptionalPlanName |
the optional target PlanName |
string |
Default value is |
| targetOptionalPlanDescription |
the optional target PlanDescription |
string |
Default value is |
| importAction |
the import Action. |
ImportAction |
Default value is Insert |
Body Parameters
None.
Response Information
Resource Description
The results of the copy.
ImportResultDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| NewRecords | integer |
None. |
|
| UpdatedRecords | integer |
None. |
|
| Errors | Collection of ImportErrorDTO |
None. |
|
| NewRecordKeys | Collection of ImportKeyDTO |
None. |
|
| UpdatedRecordKeys | Collection of ImportKeyDTO |
None. |
|
| ImportKey | GlobalEntityKeyOfIImportSubmission |
None. |
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.