POST api/Medi/CreateOrder

Request Information

URI Parameters

None.

Body Parameters

CreateMediOrder
NameDescriptionTypeAdditional information
OrderType

globally unique identifier

None.

UserID

globally unique identifier

None.

DelLocation

globally unique identifier

None.

OrderItem

MedList

None.

ScheduleTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderType": "86b900a7-c003-4ded-9a0c-0d58261aee17",
  "UserID": "aa17e74a-f950-4c26-b9ad-745fbb5117e1",
  "DelLocation": "dfb5c039-08c5-4bdd-be6b-c43bd867e8e3",
  "OrderItem": {
    "Description": "sample string 1",
    "Patientname": "sample string 2",
    "DoctorName": "sample string 3",
    "medicalstore": "ad512556-4c74-4dff-a3c3-d21cd60e86c6",
    "Items": [
      {
        "medicinename": "sample string 1",
        "StripTabletSyrup": 1,
        "count": 2,
        "image": "sample string 3"
      },
      {
        "medicinename": "sample string 1",
        "StripTabletSyrup": 1,
        "count": 2,
        "image": "sample string 3"
      }
    ]
  },
  "ScheduleTime": "2025-03-14T15:29:54.3687729+00:00"
}

application/xml, text/xml

Sample:
<CreateMediOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <DelLocation>dfb5c039-08c5-4bdd-be6b-c43bd867e8e3</DelLocation>
  <OrderItem>
    <Description>sample string 1</Description>
    <DoctorName>sample string 3</DoctorName>
    <Items>
      <MediItem>
        <StripTabletSyrup>Strip</StripTabletSyrup>
        <count>2</count>
        <image>sample string 3</image>
        <medicinename>sample string 1</medicinename>
      </MediItem>
      <MediItem>
        <StripTabletSyrup>Strip</StripTabletSyrup>
        <count>2</count>
        <image>sample string 3</image>
        <medicinename>sample string 1</medicinename>
      </MediItem>
    </Items>
    <Patientname>sample string 2</Patientname>
    <medicalstore>ad512556-4c74-4dff-a3c3-d21cd60e86c6</medicalstore>
  </OrderItem>
  <OrderType>86b900a7-c003-4ded-9a0c-0d58261aee17</OrderType>
  <ScheduleTime>2025-03-14T15:29:54.3687729+00:00</ScheduleTime>
  <UserID>aa17e74a-f950-4c26-b9ad-745fbb5117e1</UserID>
</CreateMediOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDtoOfObject
NameDescriptionTypeAdditional information
Status_cd

boolean

None.

Data

Object

None.

status_Desc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_cd": true,
  "Data": {},
  "status_Desc": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <Data />
  <Status_cd>true</Status_cd>
  <status_Desc>sample string 3</status_Desc>
</ResponseDtoOfanyType>