POST api/drugprofiles/{drugprofileid}/drugprofilerouteofadministrations

Creates a new global drug profile RouteOfAdministration.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
drugprofileid

The drug profile ID associated with the new RouteOfAdministration.

integer

Required

Body Parameters

The drug profile RouteOfAdministration model to add.

DrugProfileRouteOfAdministrationModel
NameDescriptionTypeAdditional information
RouteOfAdministration

Gets or sets the Route of Administration associated with the drug profile

string

None.

Url

Gets or sets the link representing a link back to the resource

string

None.

ID

Gets or sets the identifier for the resource

integer

None.

Request Formats

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

Sample:
{
  "url": "sample string 3",
  "id": 4,
  "routeOfAdministration": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the newly created drug profile RouteOfAdministration model if successful; otherwise, returns an error message.

CompanyAgeLimitModel
NameDescriptionTypeAdditional information
Name

Gets or sets the description of the age limit resource

string

None.

isGlobal

Gets or sets whether this is a global age limit resource (true if Global, false if Formulary-level) Obsolete - will be removed at a later date

boolean

None.

MinAge

Gets or sets the Min Age of the age limit resource

integer

None.

MinAgeQualifier

Gets or sets the Min Age Qualifier of the age limit resource D=Days, Y=Years

string

None.

MaxAge

Gets or sets the Max Age of the age limit resource

integer

None.

MaxAgeQualifier

Gets or sets the Max Age Qualifier of the age limit resource D=Days, Y=Years

string

None.

CreatedOn

Gets or sets the datetime when the age limit was created

date

None.

AuditNote

Gets or sets the value indicating (for audit purposes) why the most current change was made

string

None.

Active

Gets or sets the value indicating whether this age limit is currently active.

boolean

None.

Url

Gets or sets the link representing a link back to the resource

string

None.

ID

Gets or sets the identifier for the resource

integer

None.

Response Formats

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

Sample:
{
  "url": "sample string 6",
  "id": 7,
  "name": "sample string 2",
  "isGlobal": true,
  "minAge": 1,
  "minAgeQualifier": "sample string 3",
  "maxAge": 1,
  "maxAgeQualifier": "sample string 4",
  "createdOn": "2025-05-30T21:51:15.2825978-05:00",
  "auditNote": "sample string 5",
  "active": true
}