GET api/ApiPrescriptions/GetVPrescriptions?keycompany={keycompany}&keymembership={keymembership}&from={from}&to={to}&status={status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
keycompany

string

Required

keymembership

string

Required

from

date

Required

to

date

Required

status

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VPrescription
NameDescriptionTypeAdditional information
IdPrescription

integer

None.

RowPrescription

integer

None.

KeyMembership

string

None.

KeyCompany

string

None.

IdPatient

integer

None.

Name

string

None.

Address

string

None.

Zone

string

None.

Phone

string

None.

Insurance

string

None.

DocumentId

string

None.

Comment

string

None.

PrescriptionNumber

string

None.

AddressDelivery

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Source

integer

None.

DateCreation

date

None.

Status

integer

None.

IdDriverAssing

string

None.

TimePrescriptionAssing

date

None.

IdDriverAssined

string

None.

Closed

boolean

None.

DateClosed

date

None.

CloseNumber

integer

None.

New

boolean

None.

TimeNew

date

None.

Pendient

boolean

None.

TimePendient

date

None.

InProcess

boolean

None.

TimeImProcess

date

None.

GivingOut

boolean

None.

TimeGivingOut

date

None.

Delivered

boolean

None.

TimeDelivered

date

None.

Undelivered

boolean

None.

TimeUndelivered

date

None.

ReturnedPharmacy

boolean

None.

TimeReturnedPharmacy

date

None.

IdAuditHeader

integer

None.

AuditedPharmacy

boolean

None.

DateAudited

date

None.

StatusAudited

integer

None.

CommentAudited

string

None.

OrderMaps

integer

None.

InRoute

boolean

None.

InRouteTimeCalculate

date

None.

KeyUserCalculateRoute

string

None.

DistanceRoute

integer

None.

TimeRoute

integer

None.

DriverName

string

None.

Checked

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdPrescription": 1,
    "RowPrescription": 2,
    "KeyMembership": "sample string 3",
    "KeyCompany": "sample string 4",
    "IdPatient": 5,
    "Name": "sample string 6",
    "Address": "sample string 7",
    "Zone": "sample string 8",
    "Phone": "sample string 9",
    "Insurance": "sample string 10",
    "DocumentId": "sample string 11",
    "Comment": "sample string 12",
    "PrescriptionNumber": "sample string 13",
    "AddressDelivery": "sample string 14",
    "Latitude": 15.1,
    "Longitude": 16.1,
    "Source": 17,
    "DateCreation": "2026-02-16T23:50:41.7596273-05:00",
    "Status": 19,
    "IdDriverAssing": "sample string 20",
    "TimePrescriptionAssing": "2026-02-16T23:50:41.7596273-05:00",
    "IdDriverAssined": "sample string 22",
    "Closed": true,
    "DateClosed": "2026-02-16T23:50:41.7596273-05:00",
    "CloseNumber": 25,
    "New": true,
    "TimeNew": "2026-02-16T23:50:41.7596273-05:00",
    "Pendient": true,
    "TimePendient": "2026-02-16T23:50:41.7596273-05:00",
    "InProcess": true,
    "TimeImProcess": "2026-02-16T23:50:41.7596273-05:00",
    "GivingOut": true,
    "TimeGivingOut": "2026-02-16T23:50:41.7596273-05:00",
    "Delivered": true,
    "TimeDelivered": "2026-02-16T23:50:41.7596273-05:00",
    "Undelivered": true,
    "TimeUndelivered": "2026-02-16T23:50:41.7596273-05:00",
    "ReturnedPharmacy": true,
    "TimeReturnedPharmacy": "2026-02-16T23:50:41.7596273-05:00",
    "IdAuditHeader": 40,
    "AuditedPharmacy": true,
    "DateAudited": "2026-02-16T23:50:41.7596273-05:00",
    "StatusAudited": 1,
    "CommentAudited": "sample string 41",
    "OrderMaps": 42,
    "InRoute": true,
    "InRouteTimeCalculate": "2026-02-16T23:50:41.7596273-05:00",
    "KeyUserCalculateRoute": "sample string 44",
    "DistanceRoute": 45,
    "TimeRoute": 46,
    "DriverName": "sample string 47",
    "Checked": true
  },
  {
    "IdPrescription": 1,
    "RowPrescription": 2,
    "KeyMembership": "sample string 3",
    "KeyCompany": "sample string 4",
    "IdPatient": 5,
    "Name": "sample string 6",
    "Address": "sample string 7",
    "Zone": "sample string 8",
    "Phone": "sample string 9",
    "Insurance": "sample string 10",
    "DocumentId": "sample string 11",
    "Comment": "sample string 12",
    "PrescriptionNumber": "sample string 13",
    "AddressDelivery": "sample string 14",
    "Latitude": 15.1,
    "Longitude": 16.1,
    "Source": 17,
    "DateCreation": "2026-02-16T23:50:41.7596273-05:00",
    "Status": 19,
    "IdDriverAssing": "sample string 20",
    "TimePrescriptionAssing": "2026-02-16T23:50:41.7596273-05:00",
    "IdDriverAssined": "sample string 22",
    "Closed": true,
    "DateClosed": "2026-02-16T23:50:41.7596273-05:00",
    "CloseNumber": 25,
    "New": true,
    "TimeNew": "2026-02-16T23:50:41.7596273-05:00",
    "Pendient": true,
    "TimePendient": "2026-02-16T23:50:41.7596273-05:00",
    "InProcess": true,
    "TimeImProcess": "2026-02-16T23:50:41.7596273-05:00",
    "GivingOut": true,
    "TimeGivingOut": "2026-02-16T23:50:41.7596273-05:00",
    "Delivered": true,
    "TimeDelivered": "2026-02-16T23:50:41.7596273-05:00",
    "Undelivered": true,
    "TimeUndelivered": "2026-02-16T23:50:41.7596273-05:00",
    "ReturnedPharmacy": true,
    "TimeReturnedPharmacy": "2026-02-16T23:50:41.7596273-05:00",
    "IdAuditHeader": 40,
    "AuditedPharmacy": true,
    "DateAudited": "2026-02-16T23:50:41.7596273-05:00",
    "StatusAudited": 1,
    "CommentAudited": "sample string 41",
    "OrderMaps": 42,
    "InRoute": true,
    "InRouteTimeCalculate": "2026-02-16T23:50:41.7596273-05:00",
    "KeyUserCalculateRoute": "sample string 44",
    "DistanceRoute": 45,
    "TimeRoute": 46,
    "DriverName": "sample string 47",
    "Checked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfVPrescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SamDriverDB.Data.DataInMemory">
  <VPrescription>
    <Address>sample string 7</Address>
    <AddressDelivery>sample string 14</AddressDelivery>
    <AuditedPharmacy>true</AuditedPharmacy>
    <Checked>true</Checked>
    <CloseNumber>25</CloseNumber>
    <Closed>true</Closed>
    <Comment>sample string 12</Comment>
    <CommentAudited>sample string 41</CommentAudited>
    <DateAudited>2026-02-16T23:50:41.7596273-05:00</DateAudited>
    <DateClosed>2026-02-16T23:50:41.7596273-05:00</DateClosed>
    <DateCreation>2026-02-16T23:50:41.7596273-05:00</DateCreation>
    <Delivered>true</Delivered>
    <DistanceRoute>45</DistanceRoute>
    <DocumentId>sample string 11</DocumentId>
    <DriverName>sample string 47</DriverName>
    <GivingOut>true</GivingOut>
    <IdAuditHeader>40</IdAuditHeader>
    <IdDriverAssined>sample string 22</IdDriverAssined>
    <IdDriverAssing>sample string 20</IdDriverAssing>
    <IdPatient>5</IdPatient>
    <IdPrescription>1</IdPrescription>
    <InProcess>true</InProcess>
    <InRoute>true</InRoute>
    <InRouteTimeCalculate>2026-02-16T23:50:41.7596273-05:00</InRouteTimeCalculate>
    <Insurance>sample string 10</Insurance>
    <KeyCompany>sample string 4</KeyCompany>
    <KeyMembership>sample string 3</KeyMembership>
    <KeyUserCalculateRoute>sample string 44</KeyUserCalculateRoute>
    <Latitude>15.1</Latitude>
    <Longitude>16.1</Longitude>
    <Name>sample string 6</Name>
    <New>true</New>
    <OrderMaps>42</OrderMaps>
    <Pendient>true</Pendient>
    <Phone>sample string 9</Phone>
    <PrescriptionNumber>sample string 13</PrescriptionNumber>
    <ReturnedPharmacy>true</ReturnedPharmacy>
    <RowPrescription>2</RowPrescription>
    <Source>17</Source>
    <Status>19</Status>
    <StatusAudited>1</StatusAudited>
    <TimeDelivered>2026-02-16T23:50:41.7596273-05:00</TimeDelivered>
    <TimeGivingOut>2026-02-16T23:50:41.7596273-05:00</TimeGivingOut>
    <TimeImProcess>2026-02-16T23:50:41.7596273-05:00</TimeImProcess>
    <TimeNew>2026-02-16T23:50:41.7596273-05:00</TimeNew>
    <TimePendient>2026-02-16T23:50:41.7596273-05:00</TimePendient>
    <TimePrescriptionAssing>2026-02-16T23:50:41.7596273-05:00</TimePrescriptionAssing>
    <TimeReturnedPharmacy>2026-02-16T23:50:41.7596273-05:00</TimeReturnedPharmacy>
    <TimeRoute>46</TimeRoute>
    <TimeUndelivered>2026-02-16T23:50:41.7596273-05:00</TimeUndelivered>
    <Undelivered>true</Undelivered>
    <Zone>sample string 8</Zone>
  </VPrescription>
  <VPrescription>
    <Address>sample string 7</Address>
    <AddressDelivery>sample string 14</AddressDelivery>
    <AuditedPharmacy>true</AuditedPharmacy>
    <Checked>true</Checked>
    <CloseNumber>25</CloseNumber>
    <Closed>true</Closed>
    <Comment>sample string 12</Comment>
    <CommentAudited>sample string 41</CommentAudited>
    <DateAudited>2026-02-16T23:50:41.7596273-05:00</DateAudited>
    <DateClosed>2026-02-16T23:50:41.7596273-05:00</DateClosed>
    <DateCreation>2026-02-16T23:50:41.7596273-05:00</DateCreation>
    <Delivered>true</Delivered>
    <DistanceRoute>45</DistanceRoute>
    <DocumentId>sample string 11</DocumentId>
    <DriverName>sample string 47</DriverName>
    <GivingOut>true</GivingOut>
    <IdAuditHeader>40</IdAuditHeader>
    <IdDriverAssined>sample string 22</IdDriverAssined>
    <IdDriverAssing>sample string 20</IdDriverAssing>
    <IdPatient>5</IdPatient>
    <IdPrescription>1</IdPrescription>
    <InProcess>true</InProcess>
    <InRoute>true</InRoute>
    <InRouteTimeCalculate>2026-02-16T23:50:41.7596273-05:00</InRouteTimeCalculate>
    <Insurance>sample string 10</Insurance>
    <KeyCompany>sample string 4</KeyCompany>
    <KeyMembership>sample string 3</KeyMembership>
    <KeyUserCalculateRoute>sample string 44</KeyUserCalculateRoute>
    <Latitude>15.1</Latitude>
    <Longitude>16.1</Longitude>
    <Name>sample string 6</Name>
    <New>true</New>
    <OrderMaps>42</OrderMaps>
    <Pendient>true</Pendient>
    <Phone>sample string 9</Phone>
    <PrescriptionNumber>sample string 13</PrescriptionNumber>
    <ReturnedPharmacy>true</ReturnedPharmacy>
    <RowPrescription>2</RowPrescription>
    <Source>17</Source>
    <Status>19</Status>
    <StatusAudited>1</StatusAudited>
    <TimeDelivered>2026-02-16T23:50:41.7596273-05:00</TimeDelivered>
    <TimeGivingOut>2026-02-16T23:50:41.7596273-05:00</TimeGivingOut>
    <TimeImProcess>2026-02-16T23:50:41.7596273-05:00</TimeImProcess>
    <TimeNew>2026-02-16T23:50:41.7596273-05:00</TimeNew>
    <TimePendient>2026-02-16T23:50:41.7596273-05:00</TimePendient>
    <TimePrescriptionAssing>2026-02-16T23:50:41.7596273-05:00</TimePrescriptionAssing>
    <TimeReturnedPharmacy>2026-02-16T23:50:41.7596273-05:00</TimeReturnedPharmacy>
    <TimeRoute>46</TimeRoute>
    <TimeUndelivered>2026-02-16T23:50:41.7596273-05:00</TimeUndelivered>
    <Undelivered>true</Undelivered>
    <Zone>sample string 8</Zone>
  </VPrescription>
</ArrayOfVPrescription>