POST spsapi/SalarySale/AddTripartiteAlibabaStore

新增三方阿里巴巴员工与店铺关联

Request Information

URI Parameters

None.

Body Parameters

AddSalarySaleAliStoreRequest
NameDescriptionTypeAdditional information
emp_id

员工Id

integer

None.

store_id

店铺id

integer

None.

store_name

店铺名称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "emp_id": 1,
  "store_id": 2,
  "store_name": "sample string 3"
}

application/xml, text/xml

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

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

Response Information

Resource Description

SalaryBaseResponse
NameDescriptionTypeAdditional information
errcode

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

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<SalaryBaseResponse 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 1</message>
</SalaryBaseResponse>