POST api/TotalAyushCare/UpdateOrderQty

Documentation for 'UpdateOrderQty'.

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"
  },
  "GetODetails": {
    "ID": 1,
    "OrderId": 2,
    "ProductId": 3,
    "ProductName": "sample string 4",
    "Qty": 5,
    "UnitPrice": 6.1,
    "TotlalPrice": 7.1,
    "Tax": 8.1,
    "ShippingAmt": 9.1,
    "Createddate": "2021-11-27T07:31:41.9406622-05:00",
    "Action": "sample string 11",
    "Source": "sample string 12"
  }
}

application/xml, text/xml

Sample:
<UpdateOrderQtyRequest 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>
  <GetODetails>
    <Action>sample string 11</Action>
    <Createddate>2021-11-27T07:31:41.9406622-05:00</Createddate>
    <ID>1</ID>
    <OrderId>2</OrderId>
    <ProductId>3</ProductId>
    <ProductName>sample string 4</ProductName>
    <Qty>5</Qty>
    <ShippingAmt>9.1</ShippingAmt>
    <Source>sample string 12</Source>
    <Tax>8.1</Tax>
    <TotlalPrice>7.1</TotlalPrice>
    <UnitPrice>6.1</UnitPrice>
  </GetODetails>
</UpdateOrderQtyRequest>

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

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"
}

application/xml, text/xml

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