获取集合

URL地址:api/IPR/TrademarkClass/GetTrademarkClass?pid={pid}&state={state}

请求方式:GET

传递参数

名   称描   述参数类型附加信息
pid

string

Required

state

integer

Default value is 1

传递对象

None.

返回对象

HttpResultMessageOfIListOfClassEntity (集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of ClassEntity

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": [
    {
      "id": 1,
      "Class_id": "sample string 2",
      "Class_Pid": "sample string 3",
      "Class_name": "sample string 4",
      "Class_IsEffective": true,
      "Class_Specialty": "sample string 6",
      "CID": 7,
      "CPID": 8,
      "Children": [
        {
          "id": 1,
          "Class_id": "sample string 2",
          "Class_Pid": "sample string 3",
          "Class_name": "sample string 4",
          "Class_IsEffective": true,
          "Class_Specialty": "sample string 6",
          "CID": 7,
          "CPID": 8,
          "Children": [
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            },
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            }
          ]
        },
        {
          "id": 1,
          "Class_id": "sample string 2",
          "Class_Pid": "sample string 3",
          "Class_name": "sample string 4",
          "Class_IsEffective": true,
          "Class_Specialty": "sample string 6",
          "CID": 7,
          "CPID": 8,
          "Children": [
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            },
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            }
          ]
        }
      ]
    },
    {
      "id": 1,
      "Class_id": "sample string 2",
      "Class_Pid": "sample string 3",
      "Class_name": "sample string 4",
      "Class_IsEffective": true,
      "Class_Specialty": "sample string 6",
      "CID": 7,
      "CPID": 8,
      "Children": [
        {
          "id": 1,
          "Class_id": "sample string 2",
          "Class_Pid": "sample string 3",
          "Class_name": "sample string 4",
          "Class_IsEffective": true,
          "Class_Specialty": "sample string 6",
          "CID": 7,
          "CPID": 8,
          "Children": [
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            },
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            }
          ]
        },
        {
          "id": 1,
          "Class_id": "sample string 2",
          "Class_Pid": "sample string 3",
          "Class_name": "sample string 4",
          "Class_IsEffective": true,
          "Class_Specialty": "sample string 6",
          "CID": 7,
          "CPID": 8,
          "Children": [
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            },
            {
              "id": 1,
              "Class_id": "sample string 2",
              "Class_Pid": "sample string 3",
              "Class_name": "sample string 4",
              "Class_IsEffective": true,
              "Class_Specialty": "sample string 6",
              "CID": 7,
              "CPID": 8
            }
          ]
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfClassEntityj2mLa_SCg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>
    <ClassEntity>
      <CID>7</CID>
      <CPID>8</CPID>
      <Children>
        <Class2Entity>
          <CID>7</CID>
          <CPID>8</CPID>
          <Children>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
          </Children>
          <Class_IsEffective>true</Class_IsEffective>
          <Class_Pid>sample string 3</Class_Pid>
          <Class_Specialty>sample string 6</Class_Specialty>
          <Class_id>sample string 2</Class_id>
          <Class_name>sample string 4</Class_name>
          <id>1</id>
        </Class2Entity>
        <Class2Entity>
          <CID>7</CID>
          <CPID>8</CPID>
          <Children>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
          </Children>
          <Class_IsEffective>true</Class_IsEffective>
          <Class_Pid>sample string 3</Class_Pid>
          <Class_Specialty>sample string 6</Class_Specialty>
          <Class_id>sample string 2</Class_id>
          <Class_name>sample string 4</Class_name>
          <id>1</id>
        </Class2Entity>
      </Children>
      <Class_IsEffective>true</Class_IsEffective>
      <Class_Pid>sample string 3</Class_Pid>
      <Class_Specialty>sample string 6</Class_Specialty>
      <Class_id>sample string 2</Class_id>
      <Class_name>sample string 4</Class_name>
      <id>1</id>
    </ClassEntity>
    <ClassEntity>
      <CID>7</CID>
      <CPID>8</CPID>
      <Children>
        <Class2Entity>
          <CID>7</CID>
          <CPID>8</CPID>
          <Children>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
          </Children>
          <Class_IsEffective>true</Class_IsEffective>
          <Class_Pid>sample string 3</Class_Pid>
          <Class_Specialty>sample string 6</Class_Specialty>
          <Class_id>sample string 2</Class_id>
          <Class_name>sample string 4</Class_name>
          <id>1</id>
        </Class2Entity>
        <Class2Entity>
          <CID>7</CID>
          <CPID>8</CPID>
          <Children>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
            <TrademarkClassEntity>
              <CID>7</CID>
              <CPID>8</CPID>
              <Class_IsEffective>true</Class_IsEffective>
              <Class_Pid>sample string 3</Class_Pid>
              <Class_Specialty>sample string 6</Class_Specialty>
              <Class_id>sample string 2</Class_id>
              <Class_name>sample string 4</Class_name>
              <id>1</id>
            </TrademarkClassEntity>
          </Children>
          <Class_IsEffective>true</Class_IsEffective>
          <Class_Pid>sample string 3</Class_Pid>
          <Class_Specialty>sample string 6</Class_Specialty>
          <Class_id>sample string 2</Class_id>
          <Class_name>sample string 4</Class_name>
          <id>1</id>
        </Class2Entity>
      </Children>
      <Class_IsEffective>true</Class_IsEffective>
      <Class_Pid>sample string 3</Class_Pid>
      <Class_Specialty>sample string 6</Class_Specialty>
      <Class_id>sample string 2</Class_id>
      <Class_name>sample string 4</Class_name>
      <id>1</id>
    </ClassEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfClassEntityj2mLa_SCg>