POST api/worktask/CreateOrEditWorkTaskSource

Request Information

URI Parameters

None.

Body Parameters

CreateOrEditWorkSourceInput
NameDescriptionTypeAdditional 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": "79852fe7-1d1a-4b74-bd8b-826cd9f6ef8f",
  "Name": "sample string 1",
  "WorkSource": 0,
  "CreationUserId": 2,
  "IsPreset": true,
  "OrgId": "846f4b4f-9130-4cab-bb0b-17d218c452f1",
  "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>79852fe7-1d1a-4b74-bd8b-826cd9f6ef8f</Id>
  <IsPreset>true</IsPreset>
  <Name>sample string 1</Name>
  <Note>4</Note>
  <OrgId>846f4b4f-9130-4cab-bb0b-17d218c452f1</OrgId>
  <WorkSource>已关联公众号</WorkSource>
</CreateOrEditWorkSourceInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.