Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| web_interface:apis [2021/03/16 22:57] – will | web_interface:apis [2023/06/26 12:10] (current) – [Errors] Gary Willetts | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n> | + | {{indexmenu_n> |
| - | ====== | + | ====== |
| ===== What is it? ===== | ===== What is it? ===== | ||
| This document describes an application programming interface for communicating with mSupply. | This document describes an application programming interface for communicating with mSupply. | ||
| Line 240: | Line 240: | ||
| ^ Resource name | patient | | ^ Resource name | patient | | ||
| ^ Query parameters | first_name: first name of patient \\ last_name: last name of patient \\ dob: patient date of birth (DD:MM:YY) \\ policy_number: | ^ Query parameters | first_name: first name of patient \\ last_name: last name of patient \\ dob: patient date of birth (DD:MM:YY) \\ policy_number: | ||
| - | ^ Returned | + | ^ Returned |
| + | [{ | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, ... ] </ | ||
| ^ Example | < | ^ Example | < | ||
| Line 247: | Line 279: | ||
| ^ Resource name | prescriber | | ^ Resource name | prescriber | | ||
| ^ Query parameters | first_name: first name of prescriber \\ last_name: last name of prescriber \\ code: prescriber code | | ^ Query parameters | first_name: first name of prescriber \\ last_name: last name of prescriber \\ code: prescriber code | | ||
| - | ^ Returned | + | ^ Returned |
| - | ^ Example | < | + | [{ |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, ... ] </ | ||
| + | ^ Example | < | ||
| ==== The Stock Endpoint ==== | ==== The Stock Endpoint ==== | ||
| Line 358: | Line 407: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | | // Previous: | + | | // Previous: |
| ---- struct data ---- | ---- struct data ---- | ||