POST api/TotalAyushCare/GetShoppingLogByUserId

Documentation for 'GetShoppingLogByUserId'.

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"
  },
  "ShoppingLogDetails": {
    "LogId": 1,
    "UserId": 2,
    "ProductName": "sample string 3",
    "ProductQty": "sample string 4",
    "Amount": "sample string 5",
    "PaymentStatus": "sample string 6",
    "ShippingAddress": "sample string 7",
    "ShippingStatus": "sample string 8",
    "DeliveryRemarks": "sample string 9",
    "CreatedOn": "2021-11-27T15:58:14.5952348-05:00",
    "Action": "sample string 11",
    "Source": "sample string 12",
    "BillingDetails": "sample string 13",
    "DeliveryCharges": "sample string 14",
    "Taxes": "sample string 15",
    "EmailId": "sample string 16",
    "Paymentref": "sample string 17",
    "TrackingNo": "sample string 18",
    "Type": "sample string 19",
    "PhoneNo": "sample string 20"
  }
}

application/xml, text/xml

Sample:
<ShoppingLogRequest 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>
  <ShoppingLogDetails>
    <Action>sample string 11</Action>
    <Amount>sample string 5</Amount>
    <BillingDetails>sample string 13</BillingDetails>
    <CreatedOn>2021-11-27T15:58:14.5952348-05:00</CreatedOn>
    <DeliveryCharges>sample string 14</DeliveryCharges>
    <DeliveryRemarks>sample string 9</DeliveryRemarks>
    <EmailId>sample string 16</EmailId>
    <LogId>1</LogId>
    <PaymentStatus>sample string 6</PaymentStatus>
    <Paymentref>sample string 17</Paymentref>
    <PhoneNo>sample string 20</PhoneNo>
    <ProductName>sample string 3</ProductName>
    <ProductQty>sample string 4</ProductQty>
    <ShippingAddress>sample string 7</ShippingAddress>
    <ShippingStatus>sample string 8</ShippingStatus>
    <Source>sample string 12</Source>
    <Taxes>sample string 15</Taxes>
    <TrackingNo>sample string 18</TrackingNo>
    <Type>sample string 19</Type>
    <UserId>2</UserId>
  </ShoppingLogDetails>
</ShoppingLogRequest>

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 'ShoppingLogRequest'.

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",
  "ShoppingLogDetails": [
    {
      "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:58:14.5952348-05:00",
      "DeliveryDate": "2021-11-27T15:58:14.5952348-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"
    },
    {
      "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:58:14.5952348-05:00",
      "DeliveryDate": "2021-11-27T15:58:14.5952348-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"
    },
    {
      "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:58:14.5952348-05:00",
      "DeliveryDate": "2021-11-27T15:58:14.5952348-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:
<GetShoppingLogDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <ShoppingLogDetails>
    <OrderMaster>
      <Action>sample string 14</Action>
      <AppointmentDate>sample string 20</AppointmentDate>
      <AppointmentId>sample string 22</AppointmentId>
      <AppointmentTime>sample string 21</AppointmentTime>
      <DeliveryDate>2021-11-27T15:58:14.5952348-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:58:14.5952348-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>
    </OrderMaster>
    <OrderMaster>
      <Action>sample string 14</Action>
      <AppointmentDate>sample string 20</AppointmentDate>
      <AppointmentId>sample string 22</AppointmentId>
      <AppointmentTime>sample string 21</AppointmentTime>
      <DeliveryDate>2021-11-27T15:58:14.5952348-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:58:14.5952348-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>
    </OrderMaster>
    <OrderMaster>
      <Action>sample string 14</Action>
      <AppointmentDate>sample string 20</AppointmentDate>
      <AppointmentId>sample string 22</AppointmentId>
      <AppointmentTime>sample string 21</AppointmentTime>
      <DeliveryDate>2021-11-27T15:58:14.5952348-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:58:14.5952348-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>
    </OrderMaster>
  </ShoppingLogDetails>
  <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>
</GetShoppingLogDetailsResponse>