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

NameDescriptionTypeAdditional 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).

ListResponseOfCalculatorCategory
NameDescriptionTypeAdditional information
count

integer

None.

items

Collection of CalculatorCategory

None.

_links

Collection of Link

None.

_languages

Collection of LanguagesLink

None.

Response Codes

CodeDescriptionAdditional information
200OKThe request returned without error
204No ContentThe request was successful but no results were returned
400Bad RequestA parameter was missing or invalid
404Not FoundThe 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.