POST go/addTask

Request Information

URI Parameters

None.

Body Parameters

AddTaskDto
NameDescriptionTypeAdditional information
Tasks

AP_Tasks

None.

Codes

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Tasks": {
    "Id": 1,
    "TaskTitle": "sample string 2",
    "Account": "sample string 3",
    "Password": "sample string 4",
    "Country": "sample string 5",
    "IntervalTime": 6,
    "CodeNum": 7,
    "Cookie": "sample string 8",
    "AccountStatus": 9,
    "JobID": "sample string 10",
    "TaskStatus": 11,
    "Msg": "sample string 12",
    "DataTime": "2021-10-27T20:49:08.5064747+08:00"
  },
  "Codes": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AddTaskDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AP.AmazonCC.Models">
  <Codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Codes>
  <Tasks>
    <Account>sample string 3</Account>
    <AccountStatus>9</AccountStatus>
    <CodeNum>7</CodeNum>
    <Cookie>sample string 8</Cookie>
    <Country>sample string 5</Country>
    <DataTime>2021-10-27T20:49:08.5064747+08:00</DataTime>
    <Id>1</Id>
    <IntervalTime>6</IntervalTime>
    <JobID>sample string 10</JobID>
    <Msg>sample string 12</Msg>
    <Password>sample string 4</Password>
    <TaskStatus>11</TaskStatus>
    <TaskTitle>sample string 2</TaskTitle>
  </Tasks>
</AddTaskDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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