{
    "info": {
        "_postman_id": "b2g-config-mgmt-collection",
        "name": "B2G Config Management API",
        "description": "API collection for B2G Configuration Management system",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "Conf Module",
            "item": [
                {
                    "name": "Ping",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/ping",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "ping"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Engineering List",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/engineeringlist",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "engineeringlist"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Company Details",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-company-details",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-company-details"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Division Info Details",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"div_id\": 1\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-div-info-details",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-div-info-details"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Division List",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-division-list",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-division-list"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Emission Calc Master",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-emision-calc-master",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-emision-calc-master"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get ESG Masters",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-esg-masters",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-esg-masters"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get ESG Emissions List",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-esg-emissions-list",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-esg-emissions-list"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get NDC Emissions",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-ndc-emissions",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-ndc-emissions"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Target Masters",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-target-masters",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-target-masters"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Saved Target Data",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-saved-target-data",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-saved-target-data"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get B2G Service Parameters",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-b2g-service-parameters",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-b2g-service-parameters"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get ESG Emission Parameters",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-esg-emission-parameters",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-esg-emission-parameters"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Summary Page Data",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/get-summary-page-data",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "get-summary-page-data"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Onboard Company",
                    "request": {
                        "method": "POST",
                        "header": [],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"bgi_company_id\": \"BGI002822\",\n    \"first_name\": \"Jays\",\n    \"last_name\": \"Ka\",\n    \"email\": \"jayashr@mailinator.com\",\n    \"company_name\": \"Green Technologies 33\",\n    \"year_of_incorporation\": 2018,\n    \"reporting_year_end\": \"2026-03-31\",\n    \"address\": \"Plot 45, Gole Gola, 560102\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/onboard-company",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "onboard-company"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Company Profile (Mock)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/company-profile",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "company-profile"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Fetch Company Profile (Live)",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/conf/confengg/fetch-company-profile",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "conf",
                                "confengg",
                                "fetch-company-profile"
                            ]
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Div Module",
            "item": [
                {
                    "name": "Division List",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/api/div/division/divisionlist",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "api",
                                "div",
                                "division",
                                "divisionlist"
                            ]
                        }
                    },
                    "response": []
                }
            ]
        }
    ],
    "event": [
        {
            "listen": "prerequest",
            "script": {
                "type": "text/javascript",
                "exec": [
                    ""
                ]
            }
        },
        {
            "listen": "test",
            "script": {
                "type": "text/javascript",
                "exec": [
                    ""
                ]
            }
        }
    ],
    "variable": [
        {
            "key": "base_url",
            "value": "http://localhost/b2g_configmgmt/web",
            "type": "string"
        }
    ]
}