Todo : Design above page in react+meterialUI and place it here "src/modules/objection/Objection_add"
related end points
get: /elections/{election_id}/nominations/
required-parameters:{
“election_id” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
}
return:{
[
{
“division_id” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
“name” : “Colomobo”,
“nominations” : [
{
“nomination_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_name” : “Some-Political-Party1”,
},
{
“nomination_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_name” : “Some-Political-Party2”,
},
]
},
]
related end points
post: /nominations/{nomination_id}/objections/
required-parameters:{
“sumbitted_by” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
“comment” : “objection comment...”,
“attachement_file” : “path/to/file.jpg”,
}
View
Maintaining tree view
Nomination of a particular party is listed under the Division (District in this case)
Todo : Design above page in react+meterialUI and place it here "src/modules/objection/Objection_add"
Objections - Create
Here you can create objections for one or more candidates.
You can attach if there are files of proof when submitting the objection.