POST spsapi/SalarySale/GetStoreList

获取店铺信息

Request Information

URI Parameters

None.

Body Parameters

StoreListRequest
NameDescriptionTypeAdditional information
store_name

店铺名称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "store_name": "sample string 1"
}

application/xml, text/xml

Sample:
<StoreListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <store_name>sample string 1</store_name>
</StoreListRequest>

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

Response Information

Resource Description

SalaryBasePageResultOfShopTpmStoreDto
NameDescriptionTypeAdditional information
rows

Collection of ShopTpmStoreDto

None.

total

integer

None.

errcode

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

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<SalaryBasePageResultOfShopTpmStoreDtokfa5FTaK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <errcode>Error</errcode>
  <message>sample string 2</message>
  <rows>
    <ShopTpmStoreDto>
      <store_id>1</store_id>
      <store_name>sample string 2</store_name>
    </ShopTpmStoreDto>
    <ShopTpmStoreDto>
      <store_id>1</store_id>
      <store_name>sample string 2</store_name>
    </ShopTpmStoreDto>
  </rows>
  <total>1</total>
</SalaryBasePageResultOfShopTpmStoreDtokfa5FTaK>