Hi Folks,
I came across the OpenAustralia community and its open webservice API's. Infact, Henare, connected me here to this group.
I have a few questions after trying out the open API's. This is mainly for an Android app.
1. I see only API's to get comments. Can a user post comment using some API ?
2. When trying to fetch the details or representatives or senators. the office field's to_date is invalid. It gives me a year with 9999 . i.e
"to_date" : "9999-12-31",
Does this mean, the candidate is still serving the position?
But in this example.
{
"moffice_id" : "45856",
"dept" : "",
"position" : "Shadow Minister for Employment and Workplace Relations",
"from_date" : "2011-03-03",
"to_date" : "9999-12-31",
"person" : "10003",
"source" : ""
},
{
"moffice_id" : "45741",
"dept" : "",
"position" : "Leader of the Opposition in the Senate",
"from_date" : "2010-05-03",
"to_date" : "9999-12-31",
"person" : "10003",
"source" : ""
},
{
"moffice_id" : "45700",
"dept" : "",
"position" : "Shadow Minister for Employment and Workplace Relations",
"from_date" : "2009-12-08",
"to_date" : "9999-12-31",
"person" : "10003",
"source" : ""
}]
The details for the position "Shadow Minister for Employment and Workplace Relations", to_date is 9999-12-31 eventough they have two different from_dates.
Shouldn't the last JSON field have a proper to_date field?
3. Could someone enlighten me about the date format to be followed in getDivisions api.
All the time, it returns an empty array eventough I tried a few date formats.
Thanks for your time.
Br,
Priju