# Create or Update Batch PlanProcedureAge Create or Update multiple PlanProcedureAge at once. If the entity exists, it will be updated. If the entity does not exist, it will be created. Endpoint: PUT /plans/{planID}/procedure-restrictions-batch Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Path parameters: - `planID` (string, required) Plan ID ## Request fields (application/json): - `procedureAgeKey` (integer, required) Unique identifier for each Procedure Age rule. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `age_Range_Type` (string,null) Unit of time used to measure the age duration. Defined by days, months, or years. - `age_Type` (string,null) Birth Date', 'End of Birth Month', or 'Ignore Age'. - `entry_Date` (string) Date when the record was added to the system. - `entry_User` (string,null) User that first added the record to the system. - `ex_Code` (string, required) Ex Code associated with the age restriction. The selected Ex Code will apply to ages outside of the defined range. - `from_Age` (integer, required) Beginning of the range of acceptable ages. The selected Ex Code will apply to ages outside of the defined range. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `from_Procedure` (string, required) Beginning of the range of associated procedure codes. - `plan_ID` (string, required) References the Plans.Plan_ID value in parent table. - `thru_Age` (integer, required) Ending of the range of acceptable ages. The selected Ex Code will apply to ages outside of the defined range. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `thru_Procedure` (string, required) End of the range of associated procedure codes. - `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` (string,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