This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
developers:api:currency [2014/10/17 19:43] Jaco van Wyk |
developers:api:currency [2014/10/18 07:21] Jaco van Wyk |
||
---|---|---|---|
Line 20: | Line 20: | ||
Results can optionally be filtered by the filters mentioned below. | Results can optionally be filtered by the filters mentioned below. | ||
- | <code> | + | <code html> |
$ curl -u user:pass -d "" \ | $ curl -u user:pass -d "" \ | ||
> https://api.snapbill.com/v1/currency/list.json | > https://api.snapbill.com/v1/currency/list.json | ||
</code> | </code> | ||
- | <code> | + | <source examples/currency.txt-1.json> |
- | { | + | |
- | code: 200, | + | |
- | type: "list", | + | |
- | page: 1, | + | |
- | numpages: 1, | + | |
- | class: "currency", | + | |
- | list: [ | + | |
- | { | + | |
- | code: "ZAR", | + | |
- | format: "R%.2f", | + | |
- | enabled: true | + | |
- | } | + | |
- | ] | + | |
- | } | + | |
- | </code> | + | |
==== List Currencies Filters ==== | ==== List Currencies Filters ==== |