PATCH api/WorkTaskTemporary/{WorkTaskID}/CPRItemBelong?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. |
WorkTaskID | globally unique identifier |
Required |
Body Parameters
CPRItemBelongDTOName | Description | Type | Additional information |
---|---|---|---|
TID | globally unique identifier |
None. |
|
ItemBelongName | string |
None. |
|
IsCombo | boolean |
None. |
|
WorkTaskID | globally unique identifier |
None. |
|
Sequence | integer |
None. |
|
FormulaMode | string |
None. |
|
CPRItemID | globally unique identifier |
None. |
|
ItemValue | string |
None. |
|
CPRItemName | string |
None. |
|
CPRItemBelongIDs | Collection of globally unique identifier |
None. |
|
CPRItemBelong_CPRItemTID | globally unique identifier |
None. |
|
GroupName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TID": "52ef3998-6aeb-4b0d-b67f-93e780abd8c3", "ItemBelongName": "sample string 1", "IsCombo": true, "WorkTaskID": "6dd66439-7306-4472-a6ca-58764ca470e8", "Sequence": 1, "FormulaMode": "sample string 2", "CPRItemID": "9d4dbcfd-8a2c-4bbf-bb5c-0a25cd7f2041", "ItemValue": "sample string 3", "CPRItemName": "sample string 4", "CPRItemBelongIDs": [ "0d59fb5c-317d-46ff-95e2-74dbf55b902c", "4010fffe-fd17-42fd-809f-e96b6de6ef69" ], "CPRItemBelong_CPRItemTID": "dd6ac108-0ecf-4854-bd18-f41ce6515208", "GroupName": "sample string 5" }
application/xml, text/xml
Sample:
<CPRItemBelongDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.WorkTaskTemporary"> <CPRItemBelongIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>0d59fb5c-317d-46ff-95e2-74dbf55b902c</d2p1:guid> <d2p1:guid>4010fffe-fd17-42fd-809f-e96b6de6ef69</d2p1:guid> </CPRItemBelongIDs> <CPRItemBelong_CPRItemTID>dd6ac108-0ecf-4854-bd18-f41ce6515208</CPRItemBelong_CPRItemTID> <CPRItemID>9d4dbcfd-8a2c-4bbf-bb5c-0a25cd7f2041</CPRItemID> <CPRItemName>sample string 4</CPRItemName> <FormulaMode>sample string 2</FormulaMode> <GroupName>sample string 5</GroupName> <IsCombo>true</IsCombo> <ItemBelongName>sample string 1</ItemBelongName> <ItemValue>sample string 3</ItemValue> <Sequence>1</Sequence> <TID>52ef3998-6aeb-4b0d-b67f-93e780abd8c3</TID> <WorkTaskID>6dd66439-7306-4472-a6ca-58764ca470e8</WorkTaskID> </CPRItemBelongDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfListOfCPRItemBelongDTOName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | Collection of CPRItemBelongDTO |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": [ { "TID": "de471ad8-4115-4b5a-9fad-6e280c4fbc9c", "ItemBelongName": "sample string 1", "IsCombo": true, "WorkTaskID": "b2fd5bc8-66dc-4baa-bf6a-6299682b778b", "Sequence": 1, "FormulaMode": "sample string 2", "CPRItemID": "e87713ad-bfbd-4418-90b3-15d320ebef5d", "ItemValue": "sample string 3", "CPRItemName": "sample string 4", "CPRItemBelongIDs": [ "95561253-1c47-49e7-b4ec-a1401ec4dd88", "cead43c8-8c24-4083-8be5-75a7839e4c30" ], "CPRItemBelong_CPRItemTID": "a3da6606-3e14-4af8-866d-ce46e434fcdd", "GroupName": "sample string 5" }, { "TID": "de471ad8-4115-4b5a-9fad-6e280c4fbc9c", "ItemBelongName": "sample string 1", "IsCombo": true, "WorkTaskID": "b2fd5bc8-66dc-4baa-bf6a-6299682b778b", "Sequence": 1, "FormulaMode": "sample string 2", "CPRItemID": "e87713ad-bfbd-4418-90b3-15d320ebef5d", "ItemValue": "sample string 3", "CPRItemName": "sample string 4", "CPRItemBelongIDs": [ "95561253-1c47-49e7-b4ec-a1401ec4dd88", "cead43c8-8c24-4083-8be5-75a7839e4c30" ], "CPRItemBelong_CPRItemTID": "a3da6606-3e14-4af8-866d-ce46e434fcdd", "GroupName": "sample string 5" } ] }
application/xml, text/xml
Sample:
<ResultModelOfArrayOfCPRItemBelongDTOYWEC5V_S_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.WorkTaskTemporary"> <d2p1:CPRItemBelongDTO> <d2p1:CPRItemBelongIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>95561253-1c47-49e7-b4ec-a1401ec4dd88</d4p1:guid> <d4p1:guid>cead43c8-8c24-4083-8be5-75a7839e4c30</d4p1:guid> </d2p1:CPRItemBelongIDs> <d2p1:CPRItemBelong_CPRItemTID>a3da6606-3e14-4af8-866d-ce46e434fcdd</d2p1:CPRItemBelong_CPRItemTID> <d2p1:CPRItemID>e87713ad-bfbd-4418-90b3-15d320ebef5d</d2p1:CPRItemID> <d2p1:CPRItemName>sample string 4</d2p1:CPRItemName> <d2p1:FormulaMode>sample string 2</d2p1:FormulaMode> <d2p1:GroupName>sample string 5</d2p1:GroupName> <d2p1:IsCombo>true</d2p1:IsCombo> <d2p1:ItemBelongName>sample string 1</d2p1:ItemBelongName> <d2p1:ItemValue>sample string 3</d2p1:ItemValue> <d2p1:Sequence>1</d2p1:Sequence> <d2p1:TID>de471ad8-4115-4b5a-9fad-6e280c4fbc9c</d2p1:TID> <d2p1:WorkTaskID>b2fd5bc8-66dc-4baa-bf6a-6299682b778b</d2p1:WorkTaskID> </d2p1:CPRItemBelongDTO> <d2p1:CPRItemBelongDTO> <d2p1:CPRItemBelongIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>95561253-1c47-49e7-b4ec-a1401ec4dd88</d4p1:guid> <d4p1:guid>cead43c8-8c24-4083-8be5-75a7839e4c30</d4p1:guid> </d2p1:CPRItemBelongIDs> <d2p1:CPRItemBelong_CPRItemTID>a3da6606-3e14-4af8-866d-ce46e434fcdd</d2p1:CPRItemBelong_CPRItemTID> <d2p1:CPRItemID>e87713ad-bfbd-4418-90b3-15d320ebef5d</d2p1:CPRItemID> <d2p1:CPRItemName>sample string 4</d2p1:CPRItemName> <d2p1:FormulaMode>sample string 2</d2p1:FormulaMode> <d2p1:GroupName>sample string 5</d2p1:GroupName> <d2p1:IsCombo>true</d2p1:IsCombo> <d2p1:ItemBelongName>sample string 1</d2p1:ItemBelongName> <d2p1:ItemValue>sample string 3</d2p1:ItemValue> <d2p1:Sequence>1</d2p1:Sequence> <d2p1:TID>de471ad8-4115-4b5a-9fad-6e280c4fbc9c</d2p1:TID> <d2p1:WorkTaskID>b2fd5bc8-66dc-4baa-bf6a-6299682b778b</d2p1:WorkTaskID> </d2p1:CPRItemBelongDTO> </Data> <Message>sample string 1</Message> </ResultModelOfArrayOfCPRItemBelongDTOYWEC5V_S_S>