GET api/MedicationFrequencies/search?name={name}&medicationId={medicationId}&page={page}&itemsPerPage={itemsPerPage}

Returns a list of medication frequencies.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

Name of the frequency.

string

None.

medicationId

Unique ID of the medication.

integer

None.

page

Page number requested (search results are paginated).

integer

Default value is 1

itemsPerPage

Items to return on each page. See page parameter above.

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

Collection of MedicationFrequencyModel
NameDescriptionTypeAdditional information
Id

Unique ID of the medication frequency.

integer

None.

Name

Name of the medication frequency.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMedicationFrequencyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientMedications">
  <MedicationFrequencyModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </MedicationFrequencyModel>
  <MedicationFrequencyModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </MedicationFrequencyModel>
</ArrayOfMedicationFrequencyModel>