# Create DrugCode Creates a new DrugCode Endpoint: POST /drug-codes Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Request fields (application/json): - `drugCode_Key` (integer, required) - `application_Number` (string,null) - `deA_Schedule` (string,null) - `description` (string,null) - `dosage_For_Name` (string,null) - `drug_Code` (string, required) - `entry_Date` (string) - `entry_User` (string,null) - `labeler_Code` (string,null) - `labeler_Name` (string,null) - `listing_Record_Certified_Through` (string,null) - `marketing_Category_Name` (string,null) - `ndC_Package_Code` (string,null) - `non_Proprietary_Name` (string,null) - `package_Code` (string,null) - `package_End_Marketing_Date` (string,null) - `package_NDC_Exclude_Flag` (string,null) - `package_Size` (string,null) - `package_Start_Marketing_Date` (string,null) - `package_Type` (string,null) - `pharmacy_Class` (string,null) - `product_Code` (string,null) - `product_End_Marketing_Date` (string,null) - `product_NDC_Exclude_Flag` (string,null) - `product_Start_Marketing_Date` (string,null) - `product_Type_Name` (string,null) - `proprietary_Name` (string,null) - `proprietary_Name_Suffix` (string,null) - `rX_OTC` (string,null) - `route_Name` (string,null) - `sample_Package` (string,null) - `strength` (string,null) - `substance_Name` (string,null) - `trade_Name` (string,null) - `unit` (string,null) - `update_Date` (string) - `update_User` (string,null) ## Response 200 fields (text/plain): - `data` (object) - `data.drugCode_Key` (integer, required) - `data.application_Number` (string,null) - `data.deA_Schedule` (string,null) - `data.description` (string,null) - `data.dosage_For_Name` (string,null) - `data.drug_Code` (string, required) - `data.entry_Date` (string) - `data.entry_User` (string,null) - `data.labeler_Code` (string,null) - `data.labeler_Name` (string,null) - `data.listing_Record_Certified_Through` (string,null) - `data.marketing_Category_Name` (string,null) - `data.ndC_Package_Code` (string,null) - `data.non_Proprietary_Name` (string,null) - `data.package_Code` (string,null) - `data.package_End_Marketing_Date` (string,null) - `data.package_NDC_Exclude_Flag` (string,null) - `data.package_Size` (string,null) - `data.package_Start_Marketing_Date` (string,null) - `data.package_Type` (string,null) - `data.pharmacy_Class` (string,null) - `data.product_Code` (string,null) - `data.product_End_Marketing_Date` (string,null) - `data.product_NDC_Exclude_Flag` (string,null) - `data.product_Start_Marketing_Date` (string,null) - `data.product_Type_Name` (string,null) - `data.proprietary_Name` (string,null) - `data.proprietary_Name_Suffix` (string,null) - `data.rX_OTC` (string,null) - `data.route_Name` (string,null) - `data.sample_Package` (string,null) - `data.strength` (string,null) - `data.substance_Name` (string,null) - `data.trade_Name` (string,null) - `data.unit` (string,null) - `data.update_Date` (string) - `data.update_User` (string,null) - `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