POST api/worktask/SetCommonWorkTaskSourceForSuper
Request Information
URI Parameters
None.
Body Parameters
CreateOrEditWorkSourceInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| WorkSource | WorkTaskSourceEnum |
None. |
|
| CreationUserId | integer |
None. |
|
| IsPreset | boolean |
None. |
|
| OrgId | globally unique identifier |
None. |
|
| Note | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ad99c9b9-2331-49d1-9b0f-d72b1586eeb8",
"Name": "sample string 1",
"WorkSource": 0,
"CreationUserId": 2,
"IsPreset": true,
"OrgId": "435cb93a-bdc5-426d-a661-374846012cba",
"Note": 4
}
application/xml, text/xml
Sample:
<CreateOrEditWorkSourceInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Siyan.Lianxinqiao.Core.WorkTasks.Dto"> <CreationUserId>2</CreationUserId> <Id>ad99c9b9-2331-49d1-9b0f-d72b1586eeb8</Id> <IsPreset>true</IsPreset> <Name>sample string 1</Name> <Note>4</Note> <OrgId>435cb93a-bdc5-426d-a661-374846012cba</OrgId> <WorkSource>已关联公众号</WorkSource> </CreateOrEditWorkSourceInput>
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.