POST api/MedicationRefillRequests

Creates a new a medication refill or updates an existent medication refill's information.

Request Information

URI Parameters

None.

Body Parameters

MedicationRefillRequestResultModel
NameDescriptionTypeAdditional information
Id

Medication refill request ID (Required).

globally unique identifier

None.

Status

Status of the medication refill. Status should be (Pending, Approved or Denied) (Required).

string

None.

LastStatusChange

Medication refill last status change date. When the medication refill is created for first time the created date is equals to last status change date.

date

None.

DoctorComments

Comments by doctor.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "5de0abba-699f-4401-b4bd-45ab9faed375",
  "status": "sample string 2",
  "lastStatusChange": "2026-05-29T16:56:59.0209364+00:00",
  "doctorComments": "sample string 3"
}

application/xml, text/xml

Sample:
<MedicationRefillRequestResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.MedicationRefillRequests">
  <DoctorComments>sample string 3</DoctorComments>
  <Id>5de0abba-699f-4401-b4bd-45ab9faed375</Id>
  <LastStatusChange>2026-05-29T16:56:59.0209364+00:00</LastStatusChange>
  <Status>sample string 2</Status>
</MedicationRefillRequestResultModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MedicationRefillRequestResultModel'.

Response Information

Resource Description

MedicationRefillRequestResultModel
NameDescriptionTypeAdditional information
Id

Medication refill request ID (Required).

globally unique identifier

None.

Status

Status of the medication refill. Status should be (Pending, Approved or Denied) (Required).

string

None.

LastStatusChange

Medication refill last status change date. When the medication refill is created for first time the created date is equals to last status change date.

date

None.

DoctorComments

Comments by doctor.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "034107b0-dd19-453e-901b-eb7226b84639",
  "status": "sample string 2",
  "lastStatusChange": "2026-05-29T16:56:59.0209364+00:00",
  "doctorComments": "sample string 3"
}

application/xml, text/xml

Sample:
<MedicationRefillRequestResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.MedicationRefillRequests">
  <DoctorComments>sample string 3</DoctorComments>
  <Id>034107b0-dd19-453e-901b-eb7226b84639</Id>
  <LastStatusChange>2026-05-29T16:56:59.0209364+00:00</LastStatusChange>
  <Status>sample string 2</Status>
</MedicationRefillRequestResultModel>