GET api/formularies/{formularyid}/formularyproducts?page={page}&pagesize={pagesize}&activeOnly={activeOnly}

Gets a collection of Formulary Product resources for a Formulary.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
formularyid

The id of the formulary for which formulary products will be returned

integer

Required

page

The 1-based index of the page of formulary products to return (optional, default is 1)

integer

Default value is 1

pagesize

The number of formulary products to return per page (optional, default is 100, max is 200)

integer

Default value is 100

activeOnly

Set this to true in order to return only those formulary products that are currently effective/active

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

A paged collection of formulary product objects for the given formulary

PagedResultModelOfFormularyProductModel
NameDescriptionTypeAdditional information
PageNumber

integer

None.

PageCount

integer

None.

PageSize

integer

None.

Items

Collection of FormularyProductModel

None.

TotalRecordCount

integer

None.

Response Formats

application/json, text/json, application/json-patch+json

Sample:
{
  "pageNumber": 1,
  "pageCount": 2,
  "pageSize": 3,
  "items": [
    {
      "url": "sample string 9",
      "id": 10,
      "formularyTierId": 1,
      "formularyTierUrl": "sample string 2",
      "productID": "sample string 3",
      "productIDType": "sample string 4",
      "therapeuticGroup": "sample string 5",
      "therapeuticClass": "sample string 6",
      "therapeuticSubClass": "sample string 7",
      "effectiveEndDate": "2026-04-04T04:33:58.4245562-05:00",
      "effectiveStartDate": "2026-04-04T04:33:58.4245562-05:00",
      "auditNote": "sample string 8"
    },
    {
      "url": "sample string 9",
      "id": 10,
      "formularyTierId": 1,
      "formularyTierUrl": "sample string 2",
      "productID": "sample string 3",
      "productIDType": "sample string 4",
      "therapeuticGroup": "sample string 5",
      "therapeuticClass": "sample string 6",
      "therapeuticSubClass": "sample string 7",
      "effectiveEndDate": "2026-04-04T04:33:58.4245562-05:00",
      "effectiveStartDate": "2026-04-04T04:33:58.4245562-05:00",
      "auditNote": "sample string 8"
    }
  ],
  "totalRecordCount": 4
}