POST ManuTask/CreateTask
请求信息
URI 参数
None.
Body 参数
CreateTaskParameter| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| TaskName | string |
None. |
|
| TaskContent | string |
None. |
|
| TaskType | integer |
None. |
|
| ScheduledTime | string |
None. |
|
| IsSendSMS | boolean |
None. |
|
| AccountList | Collection of CreateTaskAccount |
None. |
请求格式
application/json, text/json
Sample:
{
"TaskName": "sample string 1",
"TaskContent": "sample string 2",
"TaskType": 3,
"ScheduledTime": "sample string 4",
"IsSendSMS": true,
"AccountList": [
{
"AccountId": "be29c970-329d-47b7-bc2f-f8deefde1704",
"DigitalManId": 2,
"DigitalVoiceId": 3,
"Content": "sample string 4"
},
{
"AccountId": "be29c970-329d-47b7-bc2f-f8deefde1704",
"DigitalManId": 2,
"DigitalVoiceId": 3,
"Content": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<CreateTaskParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">
<AccountList>
<CreateTaskAccount>
<AccountId>be29c970-329d-47b7-bc2f-f8deefde1704</AccountId>
<Content>sample string 4</Content>
<DigitalManId>2</DigitalManId>
<DigitalVoiceId>3</DigitalVoiceId>
</CreateTaskAccount>
<CreateTaskAccount>
<AccountId>be29c970-329d-47b7-bc2f-f8deefde1704</AccountId>
<Content>sample string 4</Content>
<DigitalManId>2</DigitalManId>
<DigitalVoiceId>3</DigitalVoiceId>
</CreateTaskAccount>
</AccountList>
<IsSendSMS>true</IsSendSMS>
<ScheduledTime>sample string 4</ScheduledTime>
<TaskContent>sample string 2</TaskContent>
<TaskName>sample string 1</TaskName>
<TaskType>3</TaskType>
</CreateTaskParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
ApiJsonBaseOfObject| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| Result | boolean |
None. |
|
| Message | string |
None. |
|
| State | integer |
None. |
|
| BizData | Object |
None. |
响应格式
application/json, text/json
Sample:
{
"Result": true,
"Message": "sample string 2",
"State": 3,
"BizData": {}
}
application/xml, text/xml
Sample:
<ApiJsonBaseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.API.Models"> <BizData /> <Message>sample string 2</Message> <Result>true</Result> <State>3</State> </ApiJsonBaseOfanyType>