POST api/ORDCenterHub/SyncTableSet

Request Information

URI Parameters

None.

Body Parameters

Collection of SendEPCSet
NameDescriptionTypeAdditional information
BrandId

string

None.

BrandName

string

None.

TableList

Collection of SendEPCTabel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BrandId": "sample string 1",
    "BrandName": "sample string 2",
    "TableList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Alias": "sample string 3",
        "Column": [
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          },
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          }
        ],
        "JoinType": "sample string 4",
        "Association": [
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          },
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          }
        ],
        "Sort": 5
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Alias": "sample string 3",
        "Column": [
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          },
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          }
        ],
        "JoinType": "sample string 4",
        "Association": [
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          },
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          }
        ],
        "Sort": 5
      }
    ]
  },
  {
    "BrandId": "sample string 1",
    "BrandName": "sample string 2",
    "TableList": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Alias": "sample string 3",
        "Column": [
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          },
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          }
        ],
        "JoinType": "sample string 4",
        "Association": [
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          },
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          }
        ],
        "Sort": 5
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Alias": "sample string 3",
        "Column": [
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          },
          {
            "Id": 1,
            "ColName": "sample string 2",
            "ShowEnName": "sample string 3",
            "ShowCNName": "sample string 4",
            "Sort": 5,
            "IsHidden": true
          }
        ],
        "JoinType": "sample string 4",
        "Association": [
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          },
          {
            "Id": 1,
            "Left": "sample string 2",
            "Right": "sample string 3",
            "Operation": "sample string 4"
          }
        ],
        "Sort": 5
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSendEPCSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EOMModel.ORDSendEPC">
  <SendEPCSet>
    <BrandId>sample string 1</BrandId>
    <BrandName>sample string 2</BrandName>
    <TableList>
      <SendEPCTabel>
        <Alias>sample string 3</Alias>
        <Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
        </Association>
        <Column>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
        </Column>
        <Id>1</Id>
        <JoinType>sample string 4</JoinType>
        <Name>sample string 2</Name>
        <Sort>5</Sort>
      </SendEPCTabel>
      <SendEPCTabel>
        <Alias>sample string 3</Alias>
        <Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
        </Association>
        <Column>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
        </Column>
        <Id>1</Id>
        <JoinType>sample string 4</JoinType>
        <Name>sample string 2</Name>
        <Sort>5</Sort>
      </SendEPCTabel>
    </TableList>
  </SendEPCSet>
  <SendEPCSet>
    <BrandId>sample string 1</BrandId>
    <BrandName>sample string 2</BrandName>
    <TableList>
      <SendEPCTabel>
        <Alias>sample string 3</Alias>
        <Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
        </Association>
        <Column>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
        </Column>
        <Id>1</Id>
        <JoinType>sample string 4</JoinType>
        <Name>sample string 2</Name>
        <Sort>5</Sort>
      </SendEPCTabel>
      <SendEPCTabel>
        <Alias>sample string 3</Alias>
        <Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
          <Association>
            <Id>1</Id>
            <Left>sample string 2</Left>
            <Operation>sample string 4</Operation>
            <Right>sample string 3</Right>
          </Association>
        </Association>
        <Column>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
          <SendEPCColumn>
            <ColName>sample string 2</ColName>
            <Id>1</Id>
            <IsHidden>true</IsHidden>
            <ShowCNName>sample string 4</ShowCNName>
            <ShowEnName>sample string 3</ShowEnName>
            <Sort>5</Sort>
          </SendEPCColumn>
        </Column>
        <Id>1</Id>
        <JoinType>sample string 4</JoinType>
        <Name>sample string 2</Name>
        <Sort>5</Sort>
      </SendEPCTabel>
    </TableList>
  </SendEPCSet>
</ArrayOfSendEPCSet>

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 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.