GET api/Order/GetOrderTest

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Order
NameDescriptionTypeAdditional information
ID

integer

None.

CompanyID

integer

None.

Code

string

None.

MemberID

integer

None.

CreateDate

string

None.

AddressID

integer

None.

ShopID

integer

None.

ArticleMoney

decimal number

None.

Freight

decimal number

None.

FreeMoney

decimal number

None.

TotalMoney

decimal number

None.

CouponMoney

decimal number

None.

State

string

None.

PaymentType

string

None.

PaymentTime

string

None.

HasTrans

boolean

None.

DistType

string

None.

PickupCode

string

None.

Rearmk

string

None.

Address

OrderAddress

None.

Lines

Collection of OrderLine

None.

Payment

OrderPayment

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CompanyID": 2,
    "Code": "sample string 3",
    "MemberID": 4,
    "CreateDate": "sample string 5",
    "AddressID": 6,
    "ShopID": 7,
    "ArticleMoney": 8.0,
    "Freight": 9.0,
    "FreeMoney": 10.0,
    "TotalMoney": 11.0,
    "CouponMoney": 12.0,
    "State": "sample string 13",
    "PaymentType": "sample string 14",
    "PaymentTime": "sample string 15",
    "HasTrans": true,
    "DistType": "sample string 17",
    "PickupCode": "sample string 18",
    "Rearmk": "sample string 19",
    "Address": {
      "ID": 1,
      "OrderID": 2,
      "Area": "sample string 3",
      "DetailInfo": "sample string 4",
      "UserName": "sample string 5",
      "TelNumber": "sample string 6"
    },
    "Lines": [
      {
        "ID": 1,
        "RowIndex": 2,
        "ArticleID": 3,
        "Quantity": 4.0,
        "Price": 5.0,
        "Money": 6.0,
        "Referee": 7,
        "CartID": 8
      },
      {
        "ID": 1,
        "RowIndex": 2,
        "ArticleID": 3,
        "Quantity": 4.0,
        "Price": 5.0,
        "Money": 6.0,
        "Referee": 7,
        "CartID": 8
      }
    ],
    "Payment": {
      "ID": 1,
      "TradeCode": "sample string 2",
      "PrepayID": "sample string 3",
      "Money": 4,
      "IsSuccess": true,
      "PayTime": "sample string 6"
    }
  },
  {
    "ID": 1,
    "CompanyID": 2,
    "Code": "sample string 3",
    "MemberID": 4,
    "CreateDate": "sample string 5",
    "AddressID": 6,
    "ShopID": 7,
    "ArticleMoney": 8.0,
    "Freight": 9.0,
    "FreeMoney": 10.0,
    "TotalMoney": 11.0,
    "CouponMoney": 12.0,
    "State": "sample string 13",
    "PaymentType": "sample string 14",
    "PaymentTime": "sample string 15",
    "HasTrans": true,
    "DistType": "sample string 17",
    "PickupCode": "sample string 18",
    "Rearmk": "sample string 19",
    "Address": {
      "ID": 1,
      "OrderID": 2,
      "Area": "sample string 3",
      "DetailInfo": "sample string 4",
      "UserName": "sample string 5",
      "TelNumber": "sample string 6"
    },
    "Lines": [
      {
        "ID": 1,
        "RowIndex": 2,
        "ArticleID": 3,
        "Quantity": 4.0,
        "Price": 5.0,
        "Money": 6.0,
        "Referee": 7,
        "CartID": 8
      },
      {
        "ID": 1,
        "RowIndex": 2,
        "ArticleID": 3,
        "Quantity": 4.0,
        "Price": 5.0,
        "Money": 6.0,
        "Referee": 7,
        "CartID": 8
      }
    ],
    "Payment": {
      "ID": 1,
      "TradeCode": "sample string 2",
      "PrepayID": "sample string 3",
      "Money": 4,
      "IsSuccess": true,
      "PayTime": "sample string 6"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProTech.Member.Entity">
  <Order>
    <Address>
      <Area>sample string 3</Area>
      <DetailInfo>sample string 4</DetailInfo>
      <ID>1</ID>
      <OrderID>2</OrderID>
      <TelNumber>sample string 6</TelNumber>
      <UserName>sample string 5</UserName>
    </Address>
    <AddressID>6</AddressID>
    <ArticleMoney>8</ArticleMoney>
    <Code>sample string 3</Code>
    <CompanyID>2</CompanyID>
    <CouponMoney>12</CouponMoney>
    <CreateDate>sample string 5</CreateDate>
    <DistType>sample string 17</DistType>
    <FreeMoney>10</FreeMoney>
    <Freight>9</Freight>
    <HasTrans>true</HasTrans>
    <ID>1</ID>
    <Lines>
      <OrderLine>
        <ArticleID>3</ArticleID>
        <CartID>8</CartID>
        <ID>1</ID>
        <Money>6</Money>
        <Price>5</Price>
        <Quantity>4</Quantity>
        <Referee>7</Referee>
        <RowIndex>2</RowIndex>
      </OrderLine>
      <OrderLine>
        <ArticleID>3</ArticleID>
        <CartID>8</CartID>
        <ID>1</ID>
        <Money>6</Money>
        <Price>5</Price>
        <Quantity>4</Quantity>
        <Referee>7</Referee>
        <RowIndex>2</RowIndex>
      </OrderLine>
    </Lines>
    <MemberID>4</MemberID>
    <Payment>
      <ID>1</ID>
      <IsSuccess>true</IsSuccess>
      <Money>4</Money>
      <PayTime>sample string 6</PayTime>
      <PrepayID>sample string 3</PrepayID>
      <TradeCode>sample string 2</TradeCode>
    </Payment>
    <PaymentTime>sample string 15</PaymentTime>
    <PaymentType>sample string 14</PaymentType>
    <PickupCode>sample string 18</PickupCode>
    <Rearmk>sample string 19</Rearmk>
    <ShopID>7</ShopID>
    <State>sample string 13</State>
    <TotalMoney>11</TotalMoney>
  </Order>
  <Order>
    <Address>
      <Area>sample string 3</Area>
      <DetailInfo>sample string 4</DetailInfo>
      <ID>1</ID>
      <OrderID>2</OrderID>
      <TelNumber>sample string 6</TelNumber>
      <UserName>sample string 5</UserName>
    </Address>
    <AddressID>6</AddressID>
    <ArticleMoney>8</ArticleMoney>
    <Code>sample string 3</Code>
    <CompanyID>2</CompanyID>
    <CouponMoney>12</CouponMoney>
    <CreateDate>sample string 5</CreateDate>
    <DistType>sample string 17</DistType>
    <FreeMoney>10</FreeMoney>
    <Freight>9</Freight>
    <HasTrans>true</HasTrans>
    <ID>1</ID>
    <Lines>
      <OrderLine>
        <ArticleID>3</ArticleID>
        <CartID>8</CartID>
        <ID>1</ID>
        <Money>6</Money>
        <Price>5</Price>
        <Quantity>4</Quantity>
        <Referee>7</Referee>
        <RowIndex>2</RowIndex>
      </OrderLine>
      <OrderLine>
        <ArticleID>3</ArticleID>
        <CartID>8</CartID>
        <ID>1</ID>
        <Money>6</Money>
        <Price>5</Price>
        <Quantity>4</Quantity>
        <Referee>7</Referee>
        <RowIndex>2</RowIndex>
      </OrderLine>
    </Lines>
    <MemberID>4</MemberID>
    <Payment>
      <ID>1</ID>
      <IsSuccess>true</IsSuccess>
      <Money>4</Money>
      <PayTime>sample string 6</PayTime>
      <PrepayID>sample string 3</PrepayID>
      <TradeCode>sample string 2</TradeCode>
    </Payment>
    <PaymentTime>sample string 15</PaymentTime>
    <PaymentType>sample string 14</PaymentType>
    <PickupCode>sample string 18</PickupCode>
    <Rearmk>sample string 19</Rearmk>
    <ShopID>7</ShopID>
    <State>sample string 13</State>
    <TotalMoney>11</TotalMoney>
  </Order>
</ArrayOfOrder>