All Products
Search
Document Center

Direct Mail:Others

Last Updated:Mar 13, 2024

Queries Tasks

Description

Call this operaion QueryTaskByParam to query tasks.

Request Parameters

Parameter

Type

Required

Description

Action

String

Yes

The operation that you want to perform. Set the value to:

QueryTaskByParam

KeyWord

String

No

keyword, default all information

Status

Integer

No

Status, default all statuses; sent successfully: 1

PageNo

Integer

No

The number of pages. Default value: 1.

PageSize

Integer

No

The number of pages displayed. Default value: 10.

For additional request parameters, see Public request parameters

Response Parameters

Parameter

Type

PageNumber

Integer

The page number of the returned page.

PageSize

Integer

Number of records per page.

TotalCount

Integer

The total number of records.

data

Array

The data records.

Data

Parameter

Type

Description

TemplateName

String

Template Name

TaskId

String

The ID of the task.

ReceiversName

String

Recipient Name

TaskStatus

String

The status of the task. Sent successfully: 1

AddressType

String

Address type, sending address: 1; Random address: 0.

TagName

String

The name of the tag.

RequestCount

String

(Host&Slave) Number of Requests

CreateTime

String

The task creation time

UtcCreateTime

Integer

The creation timestamp

For more information about common response parameters, see Common response parameters.

Send A Test Email

Description

SendTestByTemplate sends a test email.

Request Parameters

Parameter

Type

Required

Description

Action

String

Yes

The operation that you want to perform. Valid values: SendTestByTemplate

TemplateId

String

Yes

Template ID

UserName

String

No

UserName, length limit 30

NickName

String

No

NickName, length limit 30

Birthday

String

No

Birthday, length limit 30

Gender

String

No

Gender, length limit 30

Mobile

String

No

Mobile, length limit 30

Email

String

Yes

Receiving address, length limit 60

AccountName

String

Yes

Sending address, length limit 60

For additional request parameters, see Public request parameters.

Response Parameters

For more information about common response parameters, see Common response parameters.