bcgov / foi-flow

Freedom of Information modernization
Apache License 2.0
5 stars 3 forks source link

Backend API Changes for supporting teams concept(#761) #1437

Closed sumathi-thirumani closed 2 years ago

sumathi-thirumani commented 2 years ago

DOD

sumathi-thirumani commented 2 years ago

Endpoint to get processing teams : http://localhost:15000/api/foiassignees/processingteams/{request type}

Possible values: general or personal

Sample output: [{"team": "Social Tech Team", "ministry": "BC Public Service Agency", "bcgovcode": "PSA", "iaocode": "PSA"}, {"team": "Social Tech Team", "ministry": "Community Living BC", "bcgovcode": "CLB", "iaocode": "CLB"}, {"team": "Social Tech Team", "ministry": "Ministry of Education", "bcgovcode": "EDUC", "iaocode": "EDU"}, {"team": "Social Tech Team", "ministry": "Ministry of Children and Family Development", "bcgovcode": "MCF", "iaocode": "CFD"}, {"team": "Social Tech Team", "ministry": "Ministry of Social Development and Poverty Reduction", "bcgovcode": "SDPR", "iaocode": "MSD"}, {"team": "Social Tech Team", "ministry": "Ministry of Advanced Education and Skills Training", "bcgovcode": "AEST", "iaocode": "AED"}, {"team": "Social Tech Team", "ministry": "Government Communications and Public Engagement", "bcgovcode": "GCPE", "iaocode": "GCP"}, {"team": "Resource Team", "ministry": "Ministry of Agriculture, Food and Fisheries", "bcgovcode": "AFF", "iaocode": "AGR"}, {"team": "Resource Team", "ministry": "Ministry of Energy, Mines and Low Carbon Innovation", "bcgovcode": "EMLI", "iaocode": "EML"}, {"team": "Resource Team", "ministry": "Environmental Assessment Office", "bcgovcode": "EAO", "iaocode": "EAO"}, {"team": "Resource Team", "ministry": "Ministry of Environment and Climate Change Strategy", "bcgovcode": "ENV", "iaocode": "MOE"}, {"team": "Resource Team", "ministry": "Ministry of Indigenous Relations and Reconciliation", "bcgovcode": "IRR", "iaocode": "IRR"}, {"team": "Resource Team", "ministry": "Ministry of Forests, Lands, Natural Resource Operations and Rural Development", "bcgovcode": "FLNR", "iaocode": "FNR"}, {"team": "Business Team", "ministry": "Ministry of Municipal Affairs", "bcgovcode": "MUNI", "iaocode": "MMA"}, {"team": "Business Team", "ministry": "Ministry of Labour", "bcgovcode": "LBR", "iaocode": "LBR"}, {"team": "Business Team", "ministry": "Ministry of Jobs, Economic Recovery and Innovation", "bcgovcode": "JERI", "iaocode": "JER"}, {"team": "Business Team", "ministry": "Ministry of Transportation and Infrastructure", "bcgovcode": "TRAN", "iaocode": "TRA"}, {"team": "Business Team", "ministry": "Ministry of Tourism, Arts, Culture and Sport", "bcgovcode": "TACS", "iaocode": "TAC"}, {"team": "Business Team", "ministry": "Transportation Investment Corporation", "bcgovcode": "TIC", "iaocode": "TIC"}, {"team": "Central Team", "ministry": "Ministry of Finance", "bcgovcode": "FIN", "iaocode": "FIN"}, {"team": "Central Team", "ministry": "Office of the Premier", "bcgovcode": "PREM", "iaocode": "OOP"}, {"team": "Central Team", "ministry": "Ministry of Citizens\u2019 Services", "bcgovcode": "CITZ", "iaocode": "CTZ"}, {"team": "Central Team", "ministry": "Order of British Columbia Advisory Council", "bcgovcode": "OBC", "iaocode": "OBC"}, {"team": "Central Team", "ministry": "Medal of Good Citizenship Selection Committee", "bcgovcode": "MGC", "iaocode": "MGC"}, {"team": "Central Team", "ministry": "Crown Agencies Secretariat", "bcgovcode": "CAS", "iaocode": "CAS"}, {"team": "Justice Health Team", "ministry": "Ministry of Attorney General", "bcgovcode": "AG", "iaocode": "MAG"}, {"team": "Justice Health Team", "ministry": "Ministry of Public Safety and Solicitor General", "bcgovcode": "PSSG", "iaocode": "PSS"}, {"team": "Justice Health Team", "ministry": "BC Coroners Service", "bcgovcode": "OCC", "iaocode": "OCC"}, {"team": "Justice Health Team", "ministry": "Liquor Distribution Branch", "bcgovcode": "LDB", "iaocode": "LDB"}, {"team": "Justice Health Team", "ministry": "Emergency Management BC", "bcgovcode": "EMBC", "iaocode": "EMB"}, {"team": "Justice Health Team", "ministry": "Ministry of Health", "bcgovcode": "HLTH", "iaocode": "HLTH"}, {"team": "Justice Health Team", "ministry": "Ministry of Mental Health and Addictions", "bcgovcode": "MMHA", "iaocode": "MHA"}, {"team": "Justice Health Team", "ministry": "Independent Investigations Office", "bcgovcode": "IIO", "iaocode": "IIO"}]