POST api/WorkTask/SaveWorkTask?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
保存临时工作任务
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DomainId |
域Id |
globally unique identifier |
None. |
AccountId |
账户Id |
globally unique identifier |
None. |
PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
SaveWorkTaskDtoName | Description | Type | Additional information |
---|---|---|---|
title | string |
None. |
|
Priority | string |
None. |
|
Remark | string |
None. |
|
EndDate | string |
None. |
|
TaskTypeValue | string |
None. |
|
TaskTypeIndex | integer |
None. |
|
WorkTaskTemporaryID | globally unique identifier |
None. |
|
WorkTaskTemporaryName | string |
None. |
|
ProductList | Collection of globally unique identifier |
None. |
|
ProductNameList | Collection of string |
None. |
|
CustomerList | Collection of globally unique identifier |
None. |
|
CustomrNameList | Collection of string |
None. |
|
PersonAccountList | Collection of globally unique identifier |
None. |
|
PersonList | Collection of globally unique identifier |
None. |
|
PersonNameList | Collection of string |
None. |
|
ParticipantsAccountList | Collection of globally unique identifier |
None. |
|
ParticipantsList | Collection of globally unique identifier |
None. |
|
ParticipantsNameList | Collection of string |
None. |
|
DescCustomerNameList | Collection of string |
None. |
|
DescCustomerList | Collection of globally unique identifier |
None. |
|
PicUrls | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductList": [ "7d1e224e-0b11-4820-9e62-f1eaeeef50a3", "71afee77-0884-40a6-a4fc-fc3cc7e04ff1" ], "ProductNameList": [ "sample string 1", "sample string 2" ], "CustomerList": [ "65a6b71e-77d2-435f-8d66-707ec63ca39a", "c4052a28-7e6e-43fe-97b3-fd26216d60f9" ], "CustomrNameList": [ "sample string 1", "sample string 2" ], "PersonAccountList": [ "8ca40487-2255-4a17-8532-4d64261421b7", "d6609866-a789-44d9-96c7-e52ee365e929" ], "PersonList": [ "f0d19a2d-41ca-4f17-96b2-7ab065bb2d9d", "dc322829-e19d-40ac-a51a-7c9b58854221" ], "PersonNameList": [ "sample string 1", "sample string 2" ], "ParticipantsAccountList": [ "eb4e568e-fa71-40d5-bee8-22a655cda19b", "bf5498d1-fa9e-4e1f-a7c5-76e3466d5fb6" ], "ParticipantsList": [ "f79d3fbc-e23a-42d4-a6fc-3fa57edebaf1", "df4797bc-b651-46ae-8fdf-0059ce224ed6" ], "ParticipantsNameList": [ "sample string 1", "sample string 2" ], "DescCustomerNameList": [ "sample string 1", "sample string 2" ], "DescCustomerList": [ "a49ecdcc-5ad5-4c83-b799-639f13d4fd0e", "0ff3a920-e71b-4678-bd07-b5ea93048102" ], "PicUrls": [ "sample string 1", "sample string 2" ], "title": "sample string 1", "Priority": "sample string 2", "Remark": "sample string 3", "EndDate": "sample string 4", "TaskTypeValue": "sample string 5", "TaskTypeIndex": 6, "WorkTaskTemporaryID": "e303bb8f-52c4-481a-b040-b8ae0d3f0cf0", "WorkTaskTemporaryName": "sample string 7" }
application/xml, text/xml
Sample:
<SaveWorkTaskDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO"> <CustomerList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>65a6b71e-77d2-435f-8d66-707ec63ca39a</d2p1:guid> <d2p1:guid>c4052a28-7e6e-43fe-97b3-fd26216d60f9</d2p1:guid> </CustomerList> <CustomrNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CustomrNameList> <DescCustomerList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>a49ecdcc-5ad5-4c83-b799-639f13d4fd0e</d2p1:guid> <d2p1:guid>0ff3a920-e71b-4678-bd07-b5ea93048102</d2p1:guid> </DescCustomerList> <DescCustomerNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DescCustomerNameList> <EndDate>sample string 4</EndDate> <ParticipantsAccountList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>eb4e568e-fa71-40d5-bee8-22a655cda19b</d2p1:guid> <d2p1:guid>bf5498d1-fa9e-4e1f-a7c5-76e3466d5fb6</d2p1:guid> </ParticipantsAccountList> <ParticipantsList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>f79d3fbc-e23a-42d4-a6fc-3fa57edebaf1</d2p1:guid> <d2p1:guid>df4797bc-b651-46ae-8fdf-0059ce224ed6</d2p1:guid> </ParticipantsList> <ParticipantsNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ParticipantsNameList> <PersonAccountList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>8ca40487-2255-4a17-8532-4d64261421b7</d2p1:guid> <d2p1:guid>d6609866-a789-44d9-96c7-e52ee365e929</d2p1:guid> </PersonAccountList> <PersonList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>f0d19a2d-41ca-4f17-96b2-7ab065bb2d9d</d2p1:guid> <d2p1:guid>dc322829-e19d-40ac-a51a-7c9b58854221</d2p1:guid> </PersonList> <PersonNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PersonNameList> <PicUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PicUrls> <Priority>sample string 2</Priority> <ProductList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>7d1e224e-0b11-4820-9e62-f1eaeeef50a3</d2p1:guid> <d2p1:guid>71afee77-0884-40a6-a4fc-fc3cc7e04ff1</d2p1:guid> </ProductList> <ProductNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ProductNameList> <Remark>sample string 3</Remark> <TaskTypeIndex>6</TaskTypeIndex> <TaskTypeValue>sample string 5</TaskTypeValue> <WorkTaskTemporaryID>e303bb8f-52c4-481a-b040-b8ae0d3f0cf0</WorkTaskTemporaryID> <WorkTaskTemporaryName>sample string 7</WorkTaskTemporaryName> <title>sample string 1</title> </SaveWorkTaskDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": true }
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>