# Create or Update Batch ProviderDRG Create or Update multiple ProviderDRG at once. If the entity exists, it will be updated. If the entity does not exist, it will be created. Endpoint: PUT /providers/{providerID}/drgs-batch Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Path parameters: - `providerID` (string, required) Provider ID ## Request fields (application/json): - `providerDRG_Key` (integer, required) Unique identifier for each DRG configuration setting. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `apply_OON` (boolean, required) Indicates whether the line is applied to OON claims. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `cost_To_Charge` (number,null) Cost to charge ratio used for DRG calculations. - `drG_Cluster` (string,null) Specifies a User-defined DRG cluster required for adjudication matching. - `drG_Rate` (number,null) Rate used for DRG calculations - `drG_Schedule` (string,null) Allows the User to select an existing DRG schedule to base their pricing upon. These DRG Schedules need to be provided by the User and uploaded by VBA. - `effective_Date` (string, required) Start of the range of acceptable service dates for the rate line. Note: This field is marked as NOT NULL in the database and therefore required by the API. - `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. - `ex_Code` (string,null) Ex code associated with the price line. - `max_Allowed_At_Billed` (boolean, required) When selected, if the DRG rate exceeds the Bill Price, set the price to the Bill Price Note: This field is marked as NOT NULL in the database and therefore required by the API. - `min_Amount` (number,null) If the total billed amount is greater than or equal to the ‘Outlier Amount’, the ‘Outlier Type’ calculation is considered. - `network_ID` (string,null) Identifies the required Network for adjudication matching. - `outlier_Type` (string,null) This indicates the outlier calculation to be performed as part of the DRG calculation. - `provider_ID` (string, required) The Provider ID this DRG setting is being applied. - `term_Date` (string,null) End of the range of acceptable service dates for the rate line. - `trim_Point` (number,null) Trim point used for DRG calculations. - `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. - `variable_Cost_Factor` (number,null) Variable cost factor used for DRG calculations. ## 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