GET api/v1/resources/calculators?cpnum={cpnum}&locale={locale}
Returns all calculators by CpNum and locale. The default locale is "en_US" for English.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cpnum |
If supplied will additionally return drug specific calculators |
integer |
Default value is 0 |
locale |
If supplied will additionally return drug specific calculators by locale. As of now it can only support en_US and pt_BR |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
A list of all Calculators by locale and Cpnum (if supplied).
ListResponseOfCalculatorCategoryName | Description | Type | Additional information |
---|---|---|---|
count | integer |
None. |
|
items | Collection of CalculatorCategory |
None. |
|
_links | Collection of Link |
None. |
|
_languages | Collection of LanguagesLink |
None. |
Response Codes
Code | Description | Additional information |
---|---|---|
200 | OK | The request returned without error |
204 | No Content | The request was successful but no results were returned |
400 | Bad Request | A parameter was missing or invalid |
404 | Not Found | The requested resource was not found |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.