POST v1/imports/benefit-plans?action={action}&allowSameFile={allowSameFile}
Import Benefit Plans
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
action |
The import action. |
ImportAction |
Default value is Insert |
allowSameFile |
Determines if the import allows the content to be imported multiple times |
boolean |
Default value is True |
Body Parameters
The items to import.
Collection of DivisionBenefitPlanImportDTOName | Description | Type | Additional information |
---|---|---|---|
PlanName | string |
None. |
|
PlanDescription | string |
None. |
|
PlanType | string |
None. |
|
GroupNumber | string |
None. |
|
PlanNumber | string |
None. |
|
Notes | string |
None. |
|
BenefitPlanType | BenefitPlanType |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
IsSelfInsured | boolean |
None. |
|
IsMinimumEssentialCoverage | boolean |
None. |
|
IsMinimumValueCoverage | boolean |
None. |
|
EmployeeCategoryFilterOption | EmployeeCategoryFilterOption |
None. |
|
ACAStatusFilter | ACAStatusFilter |
None. |
|
IsOffered | boolean |
None. |
|
BenefitPlanEmployeeCostType | BenefitPlanEmployeeCostType |
None. |
|
IsConditionalOffer | boolean |
None. |
|
CoverageLevels | Collection of DivisionBenefitPlanCoverageLevelSubImportDTO |
None. |
|
EligibilityRules | Collection of DivisionBenefitPlanEligibilityRuleSubImportDTO |
None. |
|
EmployeeCostDeductionCode | string |
None. |
|
EmployerCostDeductionCode | string |
None. |
|
IsICHRAPlan | boolean |
None. |
|
ICHRAAffordabilityOption | ICHRAAffordabilityOption |
None. |
|
DivisionCode | string |
None. |
|
CompanyCode | string |
Required |
Request Formats
application/json, text/json
Sample:
[ { "planName": "sample string 1", "planDescription": "sample string 2", "planType": "sample string 3", "groupNumber": "sample string 4", "planNumber": "sample string 5", "notes": "sample string 6", "benefitPlanType": "Other", "startDate": "0001-02-03", "endDate": "0001-02-03", "isSelfInsured": true, "isMinimumEssentialCoverage": true, "isMinimumValueCoverage": true, "employeeCategoryFilterOption": "All", "acaStatusFilter": "All", "isOffered": true, "benefitPlanEmployeeCostType": "Flat", "isConditionalOffer": true, "coverageLevels": [ { "coverageLevel": "EmployeeOnly", "employeeCost": 1.0, "employerCost": 1.0 }, { "coverageLevel": "EmployeeOnly", "employeeCost": 1.0, "employerCost": 1.0 } ], "eligibilityRules": [ { "employeeCategoryCode": "sample string 1" }, { "employeeCategoryCode": "sample string 1" } ], "employeeCostDeductionCode": "sample string 7", "employerCostDeductionCode": "sample string 8", "isICHRAPlan": true, "ichraAffordabilityOption": "NotAffordable", "divisionCode": "sample string 9", "companyCode": "sample string 10" }, { "planName": "sample string 1", "planDescription": "sample string 2", "planType": "sample string 3", "groupNumber": "sample string 4", "planNumber": "sample string 5", "notes": "sample string 6", "benefitPlanType": "Other", "startDate": "0001-02-03", "endDate": "0001-02-03", "isSelfInsured": true, "isMinimumEssentialCoverage": true, "isMinimumValueCoverage": true, "employeeCategoryFilterOption": "All", "acaStatusFilter": "All", "isOffered": true, "benefitPlanEmployeeCostType": "Flat", "isConditionalOffer": true, "coverageLevels": [ { "coverageLevel": "EmployeeOnly", "employeeCost": 1.0, "employerCost": 1.0 }, { "coverageLevel": "EmployeeOnly", "employeeCost": 1.0, "employerCost": 1.0 } ], "eligibilityRules": [ { "employeeCategoryCode": "sample string 1" }, { "employeeCategoryCode": "sample string 1" } ], "employeeCostDeductionCode": "sample string 7", "employerCostDeductionCode": "sample string 8", "isICHRAPlan": true, "ichraAffordabilityOption": "NotAffordable", "divisionCode": "sample string 9", "companyCode": "sample string 10" } ]
text/xml
Sample:
<ArrayOfDivisionBenefitPlanImportDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models"> <DivisionBenefitPlanImportDTO> <CompanyCode>sample string 10</CompanyCode> <DivisionCode>sample string 9</DivisionCode> <ACAStatusFilter>All</ACAStatusFilter> <BenefitPlanEmployeeCostType>Flat</BenefitPlanEmployeeCostType> <BenefitPlanType>Other</BenefitPlanType> <CoverageLevels> <DivisionBenefitPlanCoverageLevelSubImportDTO> <CoverageLevel>EmployeeOnly</CoverageLevel> <EmployeeCost>1</EmployeeCost> <EmployerCost>1</EmployerCost> </DivisionBenefitPlanCoverageLevelSubImportDTO> <DivisionBenefitPlanCoverageLevelSubImportDTO> <CoverageLevel>EmployeeOnly</CoverageLevel> <EmployeeCost>1</EmployeeCost> <EmployerCost>1</EmployerCost> </DivisionBenefitPlanCoverageLevelSubImportDTO> </CoverageLevels> <EligibilityRules> <DivisionBenefitPlanEligibilityRuleSubImportDTO> <EmployeeCategoryCode>sample string 1</EmployeeCategoryCode> </DivisionBenefitPlanEligibilityRuleSubImportDTO> <DivisionBenefitPlanEligibilityRuleSubImportDTO> <EmployeeCategoryCode>sample string 1</EmployeeCategoryCode> </DivisionBenefitPlanEligibilityRuleSubImportDTO> </EligibilityRules> <EmployeeCategoryFilterOption>All</EmployeeCategoryFilterOption> <EmployeeCostDeductionCode>sample string 7</EmployeeCostDeductionCode> <EmployerCostDeductionCode>sample string 8</EmployerCostDeductionCode> <EndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> </EndDate> <GroupNumber>sample string 4</GroupNumber> <ICHRAAffordabilityOption>NotAffordable</ICHRAAffordabilityOption> <IsConditionalOffer>true</IsConditionalOffer> <IsICHRAPlan>true</IsICHRAPlan> <IsMinimumEssentialCoverage>true</IsMinimumEssentialCoverage> <IsMinimumValueCoverage>true</IsMinimumValueCoverage> <IsOffered>true</IsOffered> <IsSelfInsured>true</IsSelfInsured> <Notes>sample string 6</Notes> <PlanDescription>sample string 2</PlanDescription> <PlanName>sample string 1</PlanName> <PlanNumber>sample string 5</PlanNumber> <PlanType>sample string 3</PlanType> <StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> </StartDate> </DivisionBenefitPlanImportDTO> <DivisionBenefitPlanImportDTO> <CompanyCode>sample string 10</CompanyCode> <DivisionCode>sample string 9</DivisionCode> <ACAStatusFilter>All</ACAStatusFilter> <BenefitPlanEmployeeCostType>Flat</BenefitPlanEmployeeCostType> <BenefitPlanType>Other</BenefitPlanType> <CoverageLevels> <DivisionBenefitPlanCoverageLevelSubImportDTO> <CoverageLevel>EmployeeOnly</CoverageLevel> <EmployeeCost>1</EmployeeCost> <EmployerCost>1</EmployerCost> </DivisionBenefitPlanCoverageLevelSubImportDTO> <DivisionBenefitPlanCoverageLevelSubImportDTO> <CoverageLevel>EmployeeOnly</CoverageLevel> <EmployeeCost>1</EmployeeCost> <EmployerCost>1</EmployerCost> </DivisionBenefitPlanCoverageLevelSubImportDTO> </CoverageLevels> <EligibilityRules> <DivisionBenefitPlanEligibilityRuleSubImportDTO> <EmployeeCategoryCode>sample string 1</EmployeeCategoryCode> </DivisionBenefitPlanEligibilityRuleSubImportDTO> <DivisionBenefitPlanEligibilityRuleSubImportDTO> <EmployeeCategoryCode>sample string 1</EmployeeCategoryCode> </DivisionBenefitPlanEligibilityRuleSubImportDTO> </EligibilityRules> <EmployeeCategoryFilterOption>All</EmployeeCategoryFilterOption> <EmployeeCostDeductionCode>sample string 7</EmployeeCostDeductionCode> <EmployerCostDeductionCode>sample string 8</EmployerCostDeductionCode> <EndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> </EndDate> <GroupNumber>sample string 4</GroupNumber> <ICHRAAffordabilityOption>NotAffordable</ICHRAAffordabilityOption> <IsConditionalOffer>true</IsConditionalOffer> <IsICHRAPlan>true</IsICHRAPlan> <IsMinimumEssentialCoverage>true</IsMinimumEssentialCoverage> <IsMinimumValueCoverage>true</IsMinimumValueCoverage> <IsOffered>true</IsOffered> <IsSelfInsured>true</IsSelfInsured> <Notes>sample string 6</Notes> <PlanDescription>sample string 2</PlanDescription> <PlanName>sample string 1</PlanName> <PlanNumber>sample string 5</PlanNumber> <PlanType>sample string 3</PlanType> <StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntireOne.Shared.Dates"> <d3p1:Year>1</d3p1:Year> <d3p1:Month>2</d3p1:Month> <d3p1:Day>3</d3p1:Day> </StartDate> </DivisionBenefitPlanImportDTO> </ArrayOfDivisionBenefitPlanImportDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The result of the import.
ImportResultDTOName | 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.