POST spsapi/DMSMap/GetAuthCatListByName

Request Information

URI Parameters

None.

Body Parameters

LoadAuthCatListByNameReq
NameDescriptionTypeAdditional information
CatName

string

None.

UserId

integer

None.

brandIdList

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CatName": "sample string 1",
  "UserId": 1,
  "brandIdList": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<LoadAuthCatListByNameReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DMSMapModels">
  <CatName>sample string 1</CatName>
  <UserId>1</UserId>
  <brandIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </brandIdList>
</LoadAuthCatListByNameReq>

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

Response Information

Resource Description

DMSMapPageResultOfAuthCatModelMax
NameDescriptionTypeAdditional information
rows

Collection of AuthCatModelMax

None.

total

integer

None.

errcode

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

ErrCode

None.

message

消息

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'WXProgramApi.Models.DMSMapModels.AuthCatModelMax'. Path 'rows[0].children'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'WXProgramApi.Models.DMSMapModels.AuthCatModelMax'. Path 'rows[0].children'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[WXProgramApi.Models.DMSMapModels.AuthCatModelMax, WXProgramApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[WXProgramApi.Models.DMSMapModels.AuthCatModelMax, WXProgramApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。