POST api/TotalAyushCare/InsertOrderMaster

Documentation for 'InsertOrderMaster'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "objOrderMaster": {
    "ID": 1,
    "PrescriptionId": 2,
    "Totalprice": "sample string 3",
    "TotalItemQty": 4,
    "ShippingAmt": 5.1,
    "TAXAmt": 6.1,
    "PaymentMethod": "sample string 7",
    "PaymentReferenceNo": "sample string 8",
    "Status": "sample string 9",
    "TrackingNumber": "sample string 10",
    "ShippingRemarks": "sample string 11",
    "ShippingDate": "2021-11-27T15:21:39.9429806-05:00",
    "DeliveryDate": "2021-11-27T15:21:39.9429806-05:00",
    "Action": "sample string 14",
    "Source": "sample string 15",
    "PatientName": "sample string 16",
    "PatientEmailId": "sample string 17",
    "PatientPhone": "sample string 18",
    "DoctorName": "sample string 19",
    "AppointmentDate": "sample string 20",
    "AppointmentTime": "sample string 21",
    "AppointmentId": "sample string 22",
    "PatientId": "sample string 23"
  }
}

application/xml, text/xml

Sample:
<InsertOrderMasterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <objOrderMaster>
    <Action>sample string 14</Action>
    <AppointmentDate>sample string 20</AppointmentDate>
    <AppointmentId>sample string 22</AppointmentId>
    <AppointmentTime>sample string 21</AppointmentTime>
    <DeliveryDate>2021-11-27T15:21:39.9429806-05:00</DeliveryDate>
    <DoctorName>sample string 19</DoctorName>
    <ID>1</ID>
    <PatientEmailId>sample string 17</PatientEmailId>
    <PatientId>sample string 23</PatientId>
    <PatientName>sample string 16</PatientName>
    <PatientPhone>sample string 18</PatientPhone>
    <PaymentMethod>sample string 7</PaymentMethod>
    <PaymentReferenceNo>sample string 8</PaymentReferenceNo>
    <PrescriptionId>2</PrescriptionId>
    <ShippingAmt>5.1</ShippingAmt>
    <ShippingDate>2021-11-27T15:21:39.9429806-05:00</ShippingDate>
    <ShippingRemarks>sample string 11</ShippingRemarks>
    <Source>sample string 15</Source>
    <Status>sample string 9</Status>
    <TAXAmt>6.1</TAXAmt>
    <TotalItemQty>4</TotalItemQty>
    <Totalprice>sample string 3</Totalprice>
    <TrackingNumber>sample string 10</TrackingNumber>
  </objOrderMaster>
</InsertOrderMasterRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<InsertOrderMasterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Id>3</Id>
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <message>sample string 1</message>
  <result>sample string 2</result>
</InsertOrderMasterResponse>