{
	"components": {
        "column-list": {
            "summary": "Chemi Tracker all columns list",
            "description": "This API is used to display column list data.",
            "tags": [
				"Chemi Tracker"
			],
			"consumes": [
				"application/json"
			],
			"produces": [
				"application/json"
			],
            "responses": {
                "200": {
                    "description": "When columns list data displayed successfully.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "string",
                                                "message": "Success"
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": {
                                                    "columns": [
                                                        {
                                                            "value": "gbrn",
                                                            "name": "GBRN"
                                                        },
                                                        {
                                                        "value": "chemical_directory_search_term_id",
                                                        "name": "CHEMICAL DIRECTORY SEARCH TERM ID"
                                                        },
                                                        {
                                                        "value": "buychem_registration_number",
                                                        "name": "BUYCHEM REGISTRATION NUMBER"
                                                        },
                                                        {
                                                        "value": "vendor_registration_number",
                                                        "name": "VENDOR REGISTRATION NUMBER"
                                                        },
                                                        {
                                                        "value": "chemical_name",
                                                        "name": "CHEMICAL NAME"
                                                        },
                                                        {
                                                        "value": "chemical_structure",
                                                        "name": "CHEMICAL STRUCTURE"
                                                        },
                                                        {
                                                        "value": "role_of_chemical_ai_intermediate",
                                                        "name": "ROLE OF CHEMICAL (AI/INTERMEDIATE)"
                                                        },
                                                        {
                                                        "value": "active_pharmaceutical_ingredients",
                                                        "name": "ACTIVE PHARMACEUTICAL INGREDIENTS"
                                                        },
                                                        {
                                                        "value": "field_of_applications",
                                                        "name": "FIELD OF APPLICATION(S)"
                                                        },
                                                        {
                                                        "value": "iupac",
                                                        "name": "IUPAC"
                                                        },
                                                        {
                                                        "value": "cas_rn",
                                                        "name": "CAS RN"
                                                        },
                                                        {
                                                        "value": "cas_name",
                                                        "name": "CAS NAME"
                                                        },
                                                        {
                                                        "value": "chemical_class",
                                                        "name": "CHEMICAL CLASS"
                                                        },
                                                        {
                                                        "value": "molecular_formula",
                                                        "name": "MOLECULAR FORMULA"
                                                        },
                                                        {
                                                        "value": "molecular_weight",
                                                        "name": "MOLECULAR WEIGHT"
                                                        },
                                                        {
                                                        "value": "synonyms_common_name",
                                                        "name": "SYNONYMS / COMMON NAME"
                                                        },
                                                        {
                                                        "value": "trade_name_s_proprietary_name_s",
                                                        "name": "TRADE NAME (S) / PROPRIETARY NAME (S)"
                                                        },
                                                        {
                                                        "value": "summary_physicochemical_properties_experimental",
                                                        "name": "SUMMARY PHYSICOCHEMICAL PROPERTIES (EXPERIMENTAL)"
                                                        },
                                                        {
                                                        "value": "releated_compounds_ais_api's",
                                                        "name": "RELEATED COMPOUNDS (AI'S / API'S)"
                                                        },
                                                        {
                                                        "value": "cas_rn_related_to_active_ingredient_as_intermediate_impurity_etc",
                                                        "name": "CAS RN. RELATED TO ACTIVE INGREDIENT (AS INTERMEDIATE / IMPURITY ETC.)"
                                                        },
                                                        {
                                                        "value": "company_name",
                                                        "name": "COMPANY NAME"
                                                        },
                                                        {
                                                        "value": "company_logo",
                                                        "name": "COMPANY LOGO"
                                                        },
                                                        {
                                                        "value": "company_description",
                                                        "name": "COMPANY DESCRIPTION"
                                                        },
                                                        {
                                                        "value": "company_website",
                                                        "name": "COMPANY WEBSITE"
                                                        },
                                                        {
                                                        "value": "country_of_company",
                                                        "name": "COUNTRY OF COMPANY"
                                                        },
                                                        {
                                                        "value": "email",
                                                        "name": "EMAIL"
                                                        },
                                                        {
                                                        "value": "contact_details",
                                                        "name": "CONTACT DETAILS"
                                                        },
                                                        {
                                                        "value": "description",
                                                        "name": "DESCRIPTION"
                                                        },
                                                        {
                                                        "value": "regulatory_registered_countries",
                                                        "name": "REGULATORY REGISTERED COUNTRIES"
                                                        },
                                                        {
                                                        "value": "quantity",
                                                        "name": "QUANTITY"
                                                        },
                                                        {
                                                        "value": "pack_size",
                                                        "name": "PACK SIZE"
                                                        },
                                                        {
                                                        "value": "purity",
                                                        "name": "PURITY"
                                                        },
                                                        {
                                                        "value": "currency",
                                                        "name": "CURRENCY"
                                                        },
                                                        {
                                                        "value": "price",
                                                        "name": "PRICE"
                                                        },
                                                        {
                                                        "value": "priority",
                                                        "name": "PRIORITY"
                                                        },
                                                        {
                                                        "value": "commentry",
                                                        "name": "COMMENTRY"
                                                        },
                                                        {
                                                        "value": "notes",
                                                        "name": "NOTES"
                                                        },
                                                        {
                                                        "value": "remark_s",
                                                        "name": "REMARK (S)"
                                                        },
                                                        {
                                                        "value": "literature",
                                                        "name": "LITERATURE"
                                                        },
                                                        {
                                                        "value": "information_sources",
                                                        "name": "INFORMATION SOURCES"
                                                        },
                                                        {
                                                        "value": "structure_elucidation_report_ser",
                                                        "name": "STRUCTURE ELUCIDATION REPORT (SER)"
                                                        },
                                                        {
                                                        "value": "certificate_of_analysis_coa",
                                                        "name": "CERTIFICATE OF ANALYSIS (COA)"
                                                        },
                                                        {
                                                        "value": "pdf_multiple_pdf",
                                                        "name": "PDF (MULTIPLE PDF)"
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "integer",
                                                "example": 200
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": []
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "400": {
                    "description": "Validation errors.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": false
                                            },
                                            "code": {
                                                "type": "string",
                                                "example": "INVALID_API_KEY"
                                            },
                                            "errors": {
                                                "type": "array",
                                                "example": [
                                                    "api access key is missing."
                                                ]
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "search-specific": {
            "summary": "Chemi Tracker search by GBRN",
            "description": "This API is used to show result of specific search.",
            "tags": [
				"Chemi Tracker"
			],
			"consumes": [
				"application/json"
			],
			"produces": [
				"application/json"
			],
            "requestBody": {
                "content": {
                    "application/x-www-form-urlencoded": {
                        "schema": {
                            "type": "object",
                            "required": [
                                "keyword",
                                "page_no"
                            ],
                            "properties": {
                                "keyword": {
                                    "type": "string",
                                    "description": "Enter keyword.",
                                    "example": "18555"
                                },
                                "page_no": {
                                    "type": "integer",
                                    "description": "Enter page number.",
                                    "example": 1
                                }
                            }
                        }
                    }
                },
                "required": true
            },
            "responses": {
                "200": {
                    "description": "When specific serch data displayed successfully.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "string",
                                                "message": "Success"
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": {
                                                    "data": {
                                                        "chemi_tracker_count": 1,
                                                        "chemi_tracker_data": [
                                                            {
                                                                "gbrn": "10933;18555",
                                                                "chemical_directory_search_term_id": "87638",
                                                                "buychem_registration_number": "",
                                                                "vendor_registration_number": "14",
                                                                "chemical_name": "Allopurinol",
                                                                "chemical_structure": "",
                                                                "role_of_chemical_ai_intermediate": "Antigout",
                                                                "active_pharmaceutical_ingredients": "Allopurinol",
                                                                "field_of_applications": "",
                                                                "iupac": "",
                                                                "cas_rn": "315-30-0",
                                                                "cas_name": "",
                                                                "chemical_class": "",
                                                                "molecular_formula": "",
                                                                "molecular_weight": "",
                                                                "synonyms_common_name": "",
                                                                "trade_name_s_proprietary_name_s": "",
                                                                "summary_physicochemical_properties_experimental": "",
                                                                "releated_compounds_ais_api's": "",
                                                                "cas_rn_related_to_active_ingredient_as_intermediate_impurity_etc": "",
                                                                "company_name": "JPN Pharma Pvt. Ltd.",
                                                                "company_logo": "JPN Pharma.png",
                                                                "company_description": "JPN Pharma renowned pharma player having a wide range of quality products and specialise in manufacturing Active Pharmaceutical Ingredients (API) and Drug Intermediates (DI’s). The company commenced its business in 1988 in Mumbai (India)",
                                                                "company_website": "http://www.jpnpharma.net/active-pharma-ingredients/",
                                                                "country_of_company": "India",
                                                                "email": "info@jpnpharma.net",
                                                                "contact_details": "1, 2 & 8, Arihant Enclave,\nAshok Nagar,Ashok Chakravarty Road, Kandivali (E),Mumbai 400 101.\n+91.22.6859 6859",
                                                                "description": "",
                                                                "regulatory_registered_countries": "",
                                                                "quantity": "",
                                                                "pack_size": "",
                                                                "purity": "",
                                                                "currency": "",
                                                                "price": "",
                                                                "priority": "",
                                                                "commentry": "",
                                                                "notes": "",
                                                                "remark_s": "",
                                                                "literature": "",
                                                                "information_sources": "",
                                                                "structure_elucidation_report_ser": "",
                                                                "certificate_of_analysis_coa": "",
                                                                "pdf_multiple_pdf": "",
                                                                "dummy_1": "",
                                                                "dummy_2": "",
                                                                "dummy_3": "",
                                                                "dummy_4": "",
                                                                "dummy_5": "",
                                                                "dummy_6": "",
                                                                "dummy_7": "",
                                                                "dummy_8": "",
                                                                "dummy_9": "",
                                                                "dummy_10": "",
                                                                "created_at": "2024-01-11T06:32:18.228Z",
                                                                "id": "659f8b6ff75f82c7d52e3ef8"
                                                            }
                                                        ]
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "integer",
                                                "example": 200
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": []
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "400": {
                    "description": "Validation errors.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": false
                                            },
                                            "code": {
                                                "type": "string",
                                                "example": "INVALID_API_KEY"
                                            },
                                            "errors": {
                                                "type": "array",
                                                "example": [
                                                    "api access key is missing."
                                                ]
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        }
	}
}