diff options
| author | Daniel Schreiber <daniel-schreiber@gmx.de> | 2018-09-25 20:01:45 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2018-09-25 20:01:45 +0200 |
| commit | 03c41a2b9601da65309d80e24b99864d713ff2c0 (patch) | |
| tree | 8967290cb600d6be808cd43a65f575e906e4fe26 /docs | |
| parent | 23a4beafaeb92736c2c0e4dd45995cad75705727 (diff) | |
| download | ihatemoney-mirror-03c41a2b9601da65309d80e24b99864d713ff2c0.zip ihatemoney-mirror-03c41a2b9601da65309d80e24b99864d713ff2c0.tar.gz ihatemoney-mirror-03c41a2b9601da65309d80e24b99864d713ff2c0.tar.bz2 | |
Correct documentation for create bills via api (#391)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api.rst b/docs/api.rst index 0ae4214..10a626e 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -138,10 +138,10 @@ You can get the list of bills by doing a `GET` on `/api/projects/<id>/bills` :: Add a bill with a `POST` query on `/api/projects/<id>/bills`. you need the following params: -* `date`: the date of the bill; defaults to current date if not provided. (yy-mm-dd) +* `date`: the date of the bill; defaults to current date if not provided. (yyyy-mm-dd) * `what`: what have been payed * `payer`: by who ? (id) -* `payed_for`: for who ? (id, repeat the parameter to set multiple id) +* `payed_for`: for who ? (id, to set multiple id use a list, e.g. `["id1", "id2"]`) * `amount`: amount payed Returns the id of the created bill :: |
