I am new to the FreeAgent API and trying to find my way. I am working on some python code for automating a few things. I have figured out the OAuth stuff and am able to list content from the database. I am having trouble formatting the requests for getting specific entries and for creating new entries. For example:
to Get a single bill the docs give: GET https://api.freeagent.com/v2/bills/:id
Can anyone tell me what is the “id” in this case. There is no “id” field in the list elements returned by “list all bills”. Is this “id” supposed to be set to the url field in the list elements? I have tried this without success.
Could anyone post an example valid request or url encoding for this?