POST spsapi/DMSMap/GetAuthBrandListByName

Request Information

URI Parameters

None.

Body Parameters

LoadAuthBrandListByNameReq
NameDescriptionTypeAdditional information
MaxResultCount

integer

None.

SkipCount

integer

None.

BrandName

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MaxResultCount": 1,
  "SkipCount": 2,
  "BrandName": "sample string 3",
  "UserId": 1
}

application/xml, text/xml

Sample:
<LoadAuthBrandListByNameReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DMSMapModels">
  <BrandName>sample string 3</BrandName>
  <MaxResultCount>1</MaxResultCount>
  <SkipCount>2</SkipCount>
  <UserId>1</UserId>
</LoadAuthBrandListByNameReq>

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 'LoadAuthBrandListByNameReq'.

Response Information

Resource Description

DMSMapPageResultOfAuthBrandModelMin
NameDescriptionTypeAdditional information
rows

Collection of AuthBrandModelMin

None.

total

integer

None.

errcode

错误编码 100:error 401:鉴权失败;200:成功;500:内部错误;

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rows": [
    {
      "brand_id": 1,
      "brand_name": "sample string 2"
    },
    {
      "brand_id": 1,
      "brand_name": "sample string 2"
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<DMSMapPageResultOfAuthBrandModelMinLzP_Stur8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DMSMapModels">
  <errcode>Error</errcode>
  <message>sample string 2</message>
  <rows>
    <AuthBrandModelMin>
      <brand_id>1</brand_id>
      <brand_name>sample string 2</brand_name>
    </AuthBrandModelMin>
    <AuthBrandModelMin>
      <brand_id>1</brand_id>
      <brand_name>sample string 2</brand_name>
    </AuthBrandModelMin>
  </rows>
  <total>1</total>
</DMSMapPageResultOfAuthBrandModelMinLzP_Stur8>