POST api/unitedweb/getUserAllOrders

Request Information

URI Parameters

None.

Body Parameters

Cart
NameDescriptionTypeAdditional information
cartId

integer

None.

productId

integer

None.

createdAt

date

None.

modifiedAt

date

None.

quantity

integer

None.

userId

integer

None.

status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cartId": 1,
  "productId": 2,
  "createdAt": "2026-07-03T09:07:22.7858711+00:00",
  "modifiedAt": "2026-07-03T09:07:22.7858711+00:00",
  "quantity": 5,
  "userId": 6,
  "status": 7
}

application/xml, text/xml

Sample:
<Cart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Entity">
  <cartId>1</cartId>
  <createdAt>2026-07-03T09:07:22.7858711+00:00</createdAt>
  <modifiedAt>2026-07-03T09:07:22.7858711+00:00</modifiedAt>
  <productId>2</productId>
  <quantity>5</quantity>
  <status>7</status>
  <userId>6</userId>
</Cart>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

APIDataResponseOfListOfUserOrderDetails
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

status

string

None.

data

Collection of UserOrderDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "status": "sample string 3",
  "data": [
    {
      "orderId": 1,
      "createdAt": "sample string 2",
      "modifiedAt": "sample string 3",
      "orderKey": "sample string 4",
      "RazorpayPaymentId": "sample string 5",
      "PaymentStatus": "sample string 6",
      "userId": 7,
      "status": 8,
      "grandTotal": 9.0,
      "totalItemAmount": 10.0,
      "smartCartCharge": 11.0,
      "deliveryCharge": 12.0,
      "reason": "sample string 13",
      "deliveryAddressId": 14,
      "orderItemsList": [
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        },
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        }
      ],
      "userName": "sample string 15",
      "userMobile": "sample string 16"
    },
    {
      "orderId": 1,
      "createdAt": "sample string 2",
      "modifiedAt": "sample string 3",
      "orderKey": "sample string 4",
      "RazorpayPaymentId": "sample string 5",
      "PaymentStatus": "sample string 6",
      "userId": 7,
      "status": 8,
      "grandTotal": 9.0,
      "totalItemAmount": 10.0,
      "smartCartCharge": 11.0,
      "deliveryCharge": 12.0,
      "reason": "sample string 13",
      "deliveryAddressId": 14,
      "orderItemsList": [
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        },
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        }
      ],
      "userName": "sample string 15",
      "userMobile": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<APIDataResponseOfArrayOfUserOrderDetails0dFfYbs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <code>1</code>
  <data>
    <UserOrderDetails>
      <PaymentStatus>sample string 6</PaymentStatus>
      <RazorpayPaymentId>sample string 5</RazorpayPaymentId>
      <createdAt>sample string 2</createdAt>
      <deliveryAddressId>14</deliveryAddressId>
      <deliveryCharge>12</deliveryCharge>
      <grandTotal>9</grandTotal>
      <modifiedAt>sample string 3</modifiedAt>
      <orderId>1</orderId>
      <orderItemsList>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
      </orderItemsList>
      <orderKey>sample string 4</orderKey>
      <reason>sample string 13</reason>
      <smartCartCharge>11</smartCartCharge>
      <status>8</status>
      <totalItemAmount>10</totalItemAmount>
      <userId>7</userId>
      <userMobile>sample string 16</userMobile>
      <userName>sample string 15</userName>
    </UserOrderDetails>
    <UserOrderDetails>
      <PaymentStatus>sample string 6</PaymentStatus>
      <RazorpayPaymentId>sample string 5</RazorpayPaymentId>
      <createdAt>sample string 2</createdAt>
      <deliveryAddressId>14</deliveryAddressId>
      <deliveryCharge>12</deliveryCharge>
      <grandTotal>9</grandTotal>
      <modifiedAt>sample string 3</modifiedAt>
      <orderId>1</orderId>
      <orderItemsList>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
      </orderItemsList>
      <orderKey>sample string 4</orderKey>
      <reason>sample string 13</reason>
      <smartCartCharge>11</smartCartCharge>
      <status>8</status>
      <totalItemAmount>10</totalItemAmount>
      <userId>7</userId>
      <userMobile>sample string 16</userMobile>
      <userName>sample string 15</userName>
    </UserOrderDetails>
  </data>
  <message>sample string 2</message>
  <status>sample string 3</status>
</APIDataResponseOfArrayOfUserOrderDetails0dFfYbs0>