POST api/unitedweb/getOrderDetails

Request Information

URI Parameters

None.

Body Parameters

UserOrderDetails
NameDescriptionTypeAdditional information
orderId

integer

None.

createdAt

string

None.

modifiedAt

string

None.

orderKey

string

None.

RazorpayPaymentId

string

None.

PaymentStatus

string

None.

userId

integer

None.

status

integer

None.

grandTotal

decimal number

None.

totalItemAmount

decimal number

None.

smartCartCharge

decimal number

None.

deliveryCharge

decimal number

None.

reason

string

None.

deliveryAddressId

integer

None.

orderItemsList

Collection of UserOrderItem

None.

userName

string

None.

userMobile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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:
<UserOrderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <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>

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

Response Information

Resource Description

APIDataResponseOfUserOrderDetails
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

status

string

None.

data

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

application/xml, text/xml

Sample:
<APIDataResponseOfUserOrderDetails0dFfYbs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <code>1</code>
  <data>
    <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>
  </data>
  <message>sample string 2</message>
  <status>sample string 3</status>
</APIDataResponseOfUserOrderDetails0dFfYbs0>