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

Gets a collection of Age Limits tied to a formulary

Request Information

URI Parameters

NameDescriptionTypeAdditional information
formularyid

The id of the formulary for which age limits will be returned

integer

Required

page

The 1-based index of the page of age limits to return (optional, 1 by default)

integer

Default value is 1

pagesize

The number of age limits to return per page (optional, 25 by default, max 100)

integer

Default value is 25

Body Parameters

None.

Response Information

Resource Description

A list of age limit objects

PagedResultModelOfFormularyCompanyAgeLimitModel
NameDescriptionTypeAdditional information
PageNumber

integer

None.

PageCount

integer

None.

PageSize

integer

None.

Items

Collection of FormularyCompanyAgeLimitModel

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 6",
      "id": 7,
      "companyAgeLimitNo": 1,
      "companyAgeLimitUrl": "sample string 1",
      "productID": "sample string 2",
      "productIDType": "sample string 3",
      "minAge": 1,
      "minAgeQualifier": "sample string 4",
      "maxAge": 1,
      "maxAgeQualifier": "sample string 5",
      "effectiveStartDate": "2025-05-30T21:25:28.7603415-05:00",
      "effectiveEndDate": "2025-05-30T21:25:28.7603415-05:00",
      "active": true
    },
    {
      "url": "sample string 6",
      "id": 7,
      "companyAgeLimitNo": 1,
      "companyAgeLimitUrl": "sample string 1",
      "productID": "sample string 2",
      "productIDType": "sample string 3",
      "minAge": 1,
      "minAgeQualifier": "sample string 4",
      "maxAge": 1,
      "maxAgeQualifier": "sample string 5",
      "effectiveStartDate": "2025-05-30T21:25:28.7603415-05:00",
      "effectiveEndDate": "2025-05-30T21:25:28.7603415-05:00",
      "active": true
    }
  ],
  "totalRecordCount": 4
}