POST api/AwardExchange/GetDetail?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}&tid={tid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

tid

string

Required

Body Parameters

None.

Response Information

Resource Description

ResultModelOfDetailVM
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

DetailVM

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": {
    "TID": "sample string 1",
    "ExchangeNumber": "sample string 2",
    "ApplyPersonName": "sample string 3",
    "WarehouseName": "sample string 4",
    "ApplyDateTime": "sample string 5",
    "ExCategoryCount": 6.0,
    "ExCardCount": 7.0,
    "ExAmount": 8.0,
    "StatusKey": "sample string 9",
    "CardList": [
      {
        "TID": "sample string 1",
        "AwardCardName": "sample string 2",
        "AwardTypeKey": "sample string 3",
        "Coefficient": 4.0,
        "PaySum": 5.0,
        "CardProducts": [
          {
            "ProductID": "sample string 1",
            "ProductName": "sample string 2",
            "AwardCardID": "sample string 3",
            "ProductCount": 4.0,
            "ExchangeAmount": 5.0,
            "AwardCardCount": 6.0,
            "StockText": "sample string 7",
            "SKU": "eada1716-2640-4724-9661-2e6ddb4c5e37"
          },
          {
            "ProductID": "sample string 1",
            "ProductName": "sample string 2",
            "AwardCardID": "sample string 3",
            "ProductCount": 4.0,
            "ExchangeAmount": 5.0,
            "AwardCardCount": 6.0,
            "StockText": "sample string 7",
            "SKU": "eada1716-2640-4724-9661-2e6ddb4c5e37"
          }
        ],
        "Total": 6.0
      },
      {
        "TID": "sample string 1",
        "AwardCardName": "sample string 2",
        "AwardTypeKey": "sample string 3",
        "Coefficient": 4.0,
        "PaySum": 5.0,
        "CardProducts": [
          {
            "ProductID": "sample string 1",
            "ProductName": "sample string 2",
            "AwardCardID": "sample string 3",
            "ProductCount": 4.0,
            "ExchangeAmount": 5.0,
            "AwardCardCount": 6.0,
            "StockText": "sample string 7",
            "SKU": "eada1716-2640-4724-9661-2e6ddb4c5e37"
          },
          {
            "ProductID": "sample string 1",
            "ProductName": "sample string 2",
            "AwardCardID": "sample string 3",
            "ProductCount": 4.0,
            "ExchangeAmount": 5.0,
            "AwardCardCount": 6.0,
            "StockText": "sample string 7",
            "SKU": "eada1716-2640-4724-9661-2e6ddb4c5e37"
          }
        ],
        "Total": 6.0
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResultModelOfDetailVMB0Rh4MtD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.AwardExchange.ViewModel">
    <d2p1:ApplyDateTime>sample string 5</d2p1:ApplyDateTime>
    <d2p1:ApplyPersonName>sample string 3</d2p1:ApplyPersonName>
    <d2p1:CardList>
      <d2p1:AwardCard>
        <d2p1:AwardCardName>sample string 2</d2p1:AwardCardName>
        <d2p1:AwardTypeKey>sample string 3</d2p1:AwardTypeKey>
        <d2p1:CardProducts>
          <d2p1:AwardCardProduct>
            <d2p1:AwardCardCount>6</d2p1:AwardCardCount>
            <d2p1:AwardCardID>sample string 3</d2p1:AwardCardID>
            <d2p1:ExchangeAmount>5</d2p1:ExchangeAmount>
            <d2p1:ProductCount>4</d2p1:ProductCount>
            <d2p1:ProductID>sample string 1</d2p1:ProductID>
            <d2p1:ProductName>sample string 2</d2p1:ProductName>
            <d2p1:SKU>eada1716-2640-4724-9661-2e6ddb4c5e37</d2p1:SKU>
            <d2p1:StockText>sample string 7</d2p1:StockText>
          </d2p1:AwardCardProduct>
          <d2p1:AwardCardProduct>
            <d2p1:AwardCardCount>6</d2p1:AwardCardCount>
            <d2p1:AwardCardID>sample string 3</d2p1:AwardCardID>
            <d2p1:ExchangeAmount>5</d2p1:ExchangeAmount>
            <d2p1:ProductCount>4</d2p1:ProductCount>
            <d2p1:ProductID>sample string 1</d2p1:ProductID>
            <d2p1:ProductName>sample string 2</d2p1:ProductName>
            <d2p1:SKU>eada1716-2640-4724-9661-2e6ddb4c5e37</d2p1:SKU>
            <d2p1:StockText>sample string 7</d2p1:StockText>
          </d2p1:AwardCardProduct>
        </d2p1:CardProducts>
        <d2p1:Coefficient>4</d2p1:Coefficient>
        <d2p1:PaySum>5</d2p1:PaySum>
        <d2p1:TID>sample string 1</d2p1:TID>
        <d2p1:Total>6</d2p1:Total>
      </d2p1:AwardCard>
      <d2p1:AwardCard>
        <d2p1:AwardCardName>sample string 2</d2p1:AwardCardName>
        <d2p1:AwardTypeKey>sample string 3</d2p1:AwardTypeKey>
        <d2p1:CardProducts>
          <d2p1:AwardCardProduct>
            <d2p1:AwardCardCount>6</d2p1:AwardCardCount>
            <d2p1:AwardCardID>sample string 3</d2p1:AwardCardID>
            <d2p1:ExchangeAmount>5</d2p1:ExchangeAmount>
            <d2p1:ProductCount>4</d2p1:ProductCount>
            <d2p1:ProductID>sample string 1</d2p1:ProductID>
            <d2p1:ProductName>sample string 2</d2p1:ProductName>
            <d2p1:SKU>eada1716-2640-4724-9661-2e6ddb4c5e37</d2p1:SKU>
            <d2p1:StockText>sample string 7</d2p1:StockText>
          </d2p1:AwardCardProduct>
          <d2p1:AwardCardProduct>
            <d2p1:AwardCardCount>6</d2p1:AwardCardCount>
            <d2p1:AwardCardID>sample string 3</d2p1:AwardCardID>
            <d2p1:ExchangeAmount>5</d2p1:ExchangeAmount>
            <d2p1:ProductCount>4</d2p1:ProductCount>
            <d2p1:ProductID>sample string 1</d2p1:ProductID>
            <d2p1:ProductName>sample string 2</d2p1:ProductName>
            <d2p1:SKU>eada1716-2640-4724-9661-2e6ddb4c5e37</d2p1:SKU>
            <d2p1:StockText>sample string 7</d2p1:StockText>
          </d2p1:AwardCardProduct>
        </d2p1:CardProducts>
        <d2p1:Coefficient>4</d2p1:Coefficient>
        <d2p1:PaySum>5</d2p1:PaySum>
        <d2p1:TID>sample string 1</d2p1:TID>
        <d2p1:Total>6</d2p1:Total>
      </d2p1:AwardCard>
    </d2p1:CardList>
    <d2p1:ExAmount>8</d2p1:ExAmount>
    <d2p1:ExCardCount>7</d2p1:ExCardCount>
    <d2p1:ExCategoryCount>6</d2p1:ExCategoryCount>
    <d2p1:ExchangeNumber>sample string 2</d2p1:ExchangeNumber>
    <d2p1:StatusKey>sample string 9</d2p1:StatusKey>
    <d2p1:TID>sample string 1</d2p1:TID>
    <d2p1:WarehouseName>sample string 4</d2p1:WarehouseName>
  </Data>
  <Message>sample string 1</Message>
</ResultModelOfDetailVMB0Rh4MtD>