POST api/worktask/SendMessageAndCreateWorkTaskForWeb
Request Information
URI Parameters
None.
Body Parameters
CreateOrEditWorkTaskInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TaskName | string |
None. |
|
| TaskNumber | string |
None. |
|
| Description | string |
None. |
|
| ReceiveRole | DispatchTarget |
None. |
|
| OrgId | globally unique identifier |
None. |
|
| TaskLabel | string |
None. |
|
| UploadImageCount | integer |
None. |
|
| State | PublishStatus |
None. |
|
| ExpirationTime | date |
None. |
|
| CreationUserId | integer |
None. |
|
| OrgIdList | Collection of globally unique identifier |
None. |
|
| VerCode | string |
None. |
|
| AduitPhone | string |
None. |
|
| IsSendMessage | boolean |
None. |
|
| TaskLinkUrl | string |
None. |
|
| SourceId | globally unique identifier |
None. |
|
| DescriptionType | TaskDescriptionType |
None. |
|
| IsSendAff | boolean |
None. |
|
| IsSendSmsWhenWillFinish | boolean |
None. |
|
| IsImportant | boolean |
None. |
|
| IsCheckAll | boolean |
None. |
|
| Passageway | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "bba926ba-8999-4bd6-9608-c9251c483a95",
"TaskName": "sample string 1",
"TaskNumber": "sample string 2",
"Description": "sample string 3",
"ReceiveRole": 0,
"OrgId": "f6cdec61-6b97-40c4-9860-9cd609c71824",
"TaskLabel": "sample string 5",
"UploadImageCount": 6,
"State": 0,
"ExpirationTime": "2025-12-24T22:10:24.6024965+08:00",
"CreationUserId": 8,
"OrgIdList": [
"d3ddab67-5e25-458f-a97c-7d50dac8c791",
"3efe23ee-3572-43ae-b026-f232e4399140"
],
"VerCode": "sample string 9",
"AduitPhone": "sample string 10",
"IsSendMessage": true,
"TaskLinkUrl": "sample string 12",
"SourceId": "5a96875c-5da6-42e5-90a6-e89f738bb1ba",
"DescriptionType": 0,
"IsSendAff": true,
"IsSendSmsWhenWillFinish": true,
"IsImportant": true,
"IsCheckAll": true,
"Passageway": 17
}
application/xml, text/xml
Sample:
<CreateOrEditWorkTaskInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Siyan.Lianxinqiao.Core.WorkTasks.Dto">
<AduitPhone>sample string 10</AduitPhone>
<CreationUserId>8</CreationUserId>
<Description>sample string 3</Description>
<DescriptionType>关联公众号</DescriptionType>
<ExpirationTime>2025-12-24T22:10:24.6024965+08:00</ExpirationTime>
<Id>bba926ba-8999-4bd6-9608-c9251c483a95</Id>
<IsCheckAll>true</IsCheckAll>
<IsImportant>true</IsImportant>
<IsSendAff>true</IsSendAff>
<IsSendMessage>true</IsSendMessage>
<IsSendSmsWhenWillFinish>true</IsSendSmsWhenWillFinish>
<OrgId>f6cdec61-6b97-40c4-9860-9cd609c71824</OrgId>
<OrgIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d3ddab67-5e25-458f-a97c-7d50dac8c791</d2p1:guid>
<d2p1:guid>3efe23ee-3572-43ae-b026-f232e4399140</d2p1:guid>
</OrgIdList>
<Passageway>17</Passageway>
<ReceiveRole>宣传员</ReceiveRole>
<SourceId>5a96875c-5da6-42e5-90a6-e89f738bb1ba</SourceId>
<State>草稿</State>
<TaskLabel>sample string 5</TaskLabel>
<TaskLinkUrl>sample string 12</TaskLinkUrl>
<TaskName>sample string 1</TaskName>
<TaskNumber>sample string 2</TaskNumber>
<UploadImageCount>6</UploadImageCount>
<VerCode>sample string 9</VerCode>
</CreateOrEditWorkTaskInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.