# Create or Update Batch SubscriberFlex Create or Update multiple SubscriberFlex at once. If the entity exists, it will be updated. If the entity does not exist, it will be created. Endpoint: PUT /subscribers/{subscriberID}/groups/{groupID}/plans/{planID}/flexes-batch Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Path parameters: - `subscriberID` (string, required) Subscriber ID - `groupID` (string, required) Group ID - `planID` (string, required) Plan ID ## Request fields (application/json): - `subscriber_ID` (string, required) References Subscribers.Subscriber_ID value on the parent record. - `group_ID` (string, required) Identifier assigned to the Group associated with this Flex account. This is automatically populated by right-clicking inside of the field and selecting 'Lookup' from the context menu. - `plan_ID` (string, required) Unique identifier assigned to the plan. This is automatically populated by right-clicking inside of the field and selecting 'Lookup' from the context menu. - `calendar_Year` (string, required) Calendar year that is associated with the flex account. This is automatically populated by right-clicking inside of the field and selecting 'Lookup' from the context menu. - `effective_Date` (string, required) Date when the selected Flex account becomes/became active. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `auto_Create_Flex` (boolean, required) Indicates if this configuration would like to have flex claims auto created as part of the claims processing based on configured member responsibility amounts. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `cobrA_Rate` (number,null) Identifies the COBRA rate of the Flex account. - `card_Status` (string,null) Identifies the status of the Member's Flex account card. - `custom_Election_Info_Only` (boolean, required) Identifies that the Flex account information is informational only. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `election` (number,null) Specifies the Member's election amount toward the Flex account. - `entry_Date` (string) Date when the record was first added to the system. - `entry_User` (string,null) User that first added the record to the system. - `full_Election_For_Partial_Year` (boolean, required) Identifies if the amount enetered in to the Election field is a full or partial year election amount. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `gross_Salary` (number,null) Specifies the Member's gross salary for the year associated with the Flex account. - `net_Salary` (number,null) Specifies the Member's net salary for the year associated with the Flex account. - `purse_Status` (string,null) References FlexVendorPurseStatus.Purse_Status for code list. - `term_Date` (string, required) Date when the selected Flex account expires/expired. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `update_Date` (string) Date when the record was last updated in the system. - `update_User` (string,null) User that last updated the record in the system. ## Response 207 fields (text/plain): - `data` (array,null) - `data.id` (array, required) List of key/value pairs that represent the unique id for the entity operation. - `data.id.key` (string,null) - `data.id.value` (any,null) - `data.status` (integer, required) http status of the operation (eg, 200, 201, 500) - `data.body` (string, required) operation message (eg, Updated, Created, Error message) - `error` (object) - `error.detail` (string,null) A human-readable explanation specific to this occurrence of the problem. - `error.instance` (string,null) A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced. - `error.status` (integer) The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. - `error.title` (string,null) A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization(e.g., using proactive content negotiation; see[RFC7231], Section 3.4). - `error.type` (string,null) A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `debug` (object) - `debug.activityID` (string, required) ## Response 401 fields