POST api/Beilv/AddWeekBeilvPlan

店员添加一条本周倍率定制

Request Information

URI Parameters

None.

Body Parameters

addweekBeilvPlan
NameDescriptionTypeAdditional information
beginDt

string

None.

endDt

string

None.

beilvDays

decimal number

None.

beilvAmount

decimal number

None.

failCount

integer

None.

failPercent

未完成百分比(不带百分号,下同)

decimal number

None.

OkCount

integer

None.

OkPercent

decimal number

None.

betterCount

integer

None.

betterPercent

decimal number

None.

AllAmount

decimal number

None.

AllPercent

decimal number

None.

MonthAmount

decimal number

None.

planAmount

本周预计倍率销售额

decimal number

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "beginDt": "sample string 1",
  "endDt": "sample string 2",
  "beilvDays": 3.1,
  "beilvAmount": 4.0,
  "failCount": 5,
  "failPercent": 6.1,
  "OkCount": 7,
  "OkPercent": 8.1,
  "betterCount": 9,
  "betterPercent": 10.1,
  "AllAmount": 11.0,
  "AllPercent": 12.0,
  "MonthAmount": 13.0,
  "planAmount": 14.0,
  "tel": "sample string 15",
  "token": "sample string 16",
  "uid": 1
}

application/xml, text/xml

Sample:
<addweekBeilvPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 15</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 16</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <AllAmount>11</AllAmount>
  <AllPercent>12</AllPercent>
  <MonthAmount>13</MonthAmount>
  <OkCount>7</OkCount>
  <OkPercent>8.1</OkPercent>
  <beginDt>sample string 1</beginDt>
  <beilvAmount>4</beilvAmount>
  <beilvDays>3.1</beilvDays>
  <betterCount>9</betterCount>
  <betterPercent>10.1</betterPercent>
  <endDt>sample string 2</endDt>
  <failCount>5</failCount>
  <failPercent>6.1</failPercent>
  <planAmount>14</planAmount>
</addweekBeilvPlan>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
code

状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在...

integer

None.

msg

成功或者错误的说明,例如:登录成功,token过期...

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <code>1</code>
  <msg>sample string 2</msg>
</BaseResult>