获取渠道(供应商)集合

URL地址:api/App/Supplier/GetSupplier

请求方式:GET

传递参数

None.

传递对象

SupplierQuery (检索条件对象)
名   称描   述参数类型附加信息
IdQuery

integer

None.

SupNameQuery

渠道名称

string

None.

SupTypeQuery

渠道类型

integer

None.

ContactsQuery

联系人

string

None.

PhoneQuery

电话

string

None.

QQQuery

联系qq

string

None.

WeChatQuery

联系微信

string

None.

RemarkQuery

备注

string

None.

CreatorQuery

创建人

integer

None.

CreateDateQuery

创建日期

date

None.

StatusQuery

状态(1:启用,0:停用)

integer

None.

application/json, text/json

Sample:
{
  "IdQuery": 1,
  "SupNameQuery": "sample string 2",
  "SupTypeQuery": 3,
  "ContactsQuery": "sample string 4",
  "PhoneQuery": "sample string 5",
  "QQQuery": "sample string 6",
  "WeChatQuery": "sample string 7",
  "RemarkQuery": "sample string 8",
  "CreatorQuery": 9,
  "CreateDateQuery": "2021-03-07T23:22:40.1591009+08:00",
  "StatusQuery": 11
}

application/xml, text/xml

Sample:
<SupplierQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <ContactsQuery>sample string 4</ContactsQuery>
  <CreateDateQuery>2021-03-07T23:22:40.1591009+08:00</CreateDateQuery>
  <CreatorQuery>9</CreatorQuery>
  <IdQuery>1</IdQuery>
  <PhoneQuery>sample string 5</PhoneQuery>
  <QQQuery>sample string 6</QQQuery>
  <RemarkQuery>sample string 8</RemarkQuery>
  <StatusQuery>11</StatusQuery>
  <SupNameQuery>sample string 2</SupNameQuery>
  <SupTypeQuery>3</SupTypeQuery>
  <WeChatQuery>sample string 7</WeChatQuery>
</SupplierQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfIListOfSupplierEntity (渠道(供应商)集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of SupplierEntity

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,
      "SupName": "sample string 2",
      "SupType": 3,
      "Contacts": "sample string 4",
      "Phone": "sample string 5",
      "QQ": "sample string 6",
      "WeChat": "sample string 7",
      "Remark": "sample string 8",
      "Creator": 9,
      "CreateDate": "2021-03-07T23:22:40.1591009+08:00",
      "Status": 11
    },
    {
      "Id": 1,
      "SupName": "sample string 2",
      "SupType": 3,
      "Contacts": "sample string 4",
      "Phone": "sample string 5",
      "QQ": "sample string 6",
      "WeChat": "sample string 7",
      "Remark": "sample string 8",
      "Creator": 9,
      "CreateDate": "2021-03-07T23:22:40.1591009+08:00",
      "Status": 11
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfSupplierEntityj2mLa_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>
    <SupplierEntity>
      <Contacts>sample string 4</Contacts>
      <CreateDate>2021-03-07T23:22:40.1591009+08:00</CreateDate>
      <Creator>9</Creator>
      <Id>1</Id>
      <Phone>sample string 5</Phone>
      <QQ>sample string 6</QQ>
      <Remark>sample string 8</Remark>
      <Status>11</Status>
      <SupName>sample string 2</SupName>
      <SupType>3</SupType>
      <WeChat>sample string 7</WeChat>
    </SupplierEntity>
    <SupplierEntity>
      <Contacts>sample string 4</Contacts>
      <CreateDate>2021-03-07T23:22:40.1591009+08:00</CreateDate>
      <Creator>9</Creator>
      <Id>1</Id>
      <Phone>sample string 5</Phone>
      <QQ>sample string 6</QQ>
      <Remark>sample string 8</Remark>
      <Status>11</Status>
      <SupName>sample string 2</SupName>
      <SupType>3</SupType>
      <WeChat>sample string 7</WeChat>
    </SupplierEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfSupplierEntityj2mLa_SCg>