POST api/TotalAyushCare/UpdateShoppingLog

Documentation for 'UpdateShoppingLog'.

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"
  },
  "log": {
    "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-27T14:17:21.1158042-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:
<UpdateShoppingLogRequest 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>
  <log>
    <Action>sample string 11</Action>
    <Amount>sample string 5</Amount>
    <BillingDetails>sample string 13</BillingDetails>
    <CreatedOn>2021-11-27T14:17:21.1158042-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>
  </log>
</UpdateShoppingLogRequest>

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

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": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateShoppingLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Id>sample string 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>
</UpdateShoppingLogResponse>