POST api/GroupSellMonthTask/EditTask

Request Information

URI Parameters

None.

Body Parameters

EditTaskPost
NameDescriptionTypeAdditional information
date

date

None.

list

数组: SellTaskItem

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2026-01-11T21:20:43.7908837+08:00",
  "list": [
    {
      "dt": "2026-01-11T21:20:43.7908837+08:00",
      "groupId": 2,
      "groupname": "sample string 3",
      "sellamount": 1.0,
      "task": 4,
      "readly": true
    },
    {
      "dt": "2026-01-11T21:20:43.7908837+08:00",
      "groupId": 2,
      "groupname": "sample string 3",
      "sellamount": 1.0,
      "task": 4,
      "readly": true
    }
  ],
  "tel": "sample string 2",
  "token": "sample string 3",
  "uid": 1
}

application/xml, text/xml

Sample:
<EditTaskPost 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 2</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <date>2026-01-11T21:20:43.7908837+08:00</date>
  <list>
    <SellTaskItem>
      <dt>2026-01-11T21:20:43.7908837+08:00</dt>
      <groupId>2</groupId>
      <groupname>sample string 3</groupname>
      <readly>true</readly>
      <sellamount>1</sellamount>
      <task>4</task>
    </SellTaskItem>
    <SellTaskItem>
      <dt>2026-01-11T21:20:43.7908837+08:00</dt>
      <groupId>2</groupId>
      <groupname>sample string 3</groupname>
      <readly>true</readly>
      <sellamount>1</sellamount>
      <task>4</task>
    </SellTaskItem>
  </list>
</EditTaskPost>

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>