GET api/WorkTaskTemporary/{WorkTaskID}/CPRItemBelongs?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

规则设置 获取列表

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

None.

Response Information

Resource Description

ResultModelOfListOfCPRItemBelongDTO
NameDescriptionTypeAdditional 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": "04195f39-e2ec-43ce-bb8c-ea30f1b05d48",
      "ItemBelongName": "sample string 1",
      "IsCombo": true,
      "WorkTaskID": "0d1a02d5-7c27-4cfb-a72a-22f41463edb2",
      "Sequence": 1,
      "FormulaMode": "sample string 2",
      "CPRItemID": "137107c4-6d60-49fe-94ff-c60abbeb2ce8",
      "ItemValue": "sample string 3",
      "CPRItemName": "sample string 4",
      "CPRItemBelongIDs": [
        "60cf3e50-cf57-4672-a454-083b33572624",
        "40f97d24-2289-417d-92d2-aeff3c0e8b5d"
      ],
      "CPRItemBelong_CPRItemTID": "f17888be-b69f-4c7b-ba1c-d8003d9a58cf",
      "GroupName": "sample string 5"
    },
    {
      "TID": "04195f39-e2ec-43ce-bb8c-ea30f1b05d48",
      "ItemBelongName": "sample string 1",
      "IsCombo": true,
      "WorkTaskID": "0d1a02d5-7c27-4cfb-a72a-22f41463edb2",
      "Sequence": 1,
      "FormulaMode": "sample string 2",
      "CPRItemID": "137107c4-6d60-49fe-94ff-c60abbeb2ce8",
      "ItemValue": "sample string 3",
      "CPRItemName": "sample string 4",
      "CPRItemBelongIDs": [
        "60cf3e50-cf57-4672-a454-083b33572624",
        "40f97d24-2289-417d-92d2-aeff3c0e8b5d"
      ],
      "CPRItemBelong_CPRItemTID": "f17888be-b69f-4c7b-ba1c-d8003d9a58cf",
      "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>60cf3e50-cf57-4672-a454-083b33572624</d4p1:guid>
        <d4p1:guid>40f97d24-2289-417d-92d2-aeff3c0e8b5d</d4p1:guid>
      </d2p1:CPRItemBelongIDs>
      <d2p1:CPRItemBelong_CPRItemTID>f17888be-b69f-4c7b-ba1c-d8003d9a58cf</d2p1:CPRItemBelong_CPRItemTID>
      <d2p1:CPRItemID>137107c4-6d60-49fe-94ff-c60abbeb2ce8</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>04195f39-e2ec-43ce-bb8c-ea30f1b05d48</d2p1:TID>
      <d2p1:WorkTaskID>0d1a02d5-7c27-4cfb-a72a-22f41463edb2</d2p1:WorkTaskID>
    </d2p1:CPRItemBelongDTO>
    <d2p1:CPRItemBelongDTO>
      <d2p1:CPRItemBelongIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>60cf3e50-cf57-4672-a454-083b33572624</d4p1:guid>
        <d4p1:guid>40f97d24-2289-417d-92d2-aeff3c0e8b5d</d4p1:guid>
      </d2p1:CPRItemBelongIDs>
      <d2p1:CPRItemBelong_CPRItemTID>f17888be-b69f-4c7b-ba1c-d8003d9a58cf</d2p1:CPRItemBelong_CPRItemTID>
      <d2p1:CPRItemID>137107c4-6d60-49fe-94ff-c60abbeb2ce8</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>04195f39-e2ec-43ce-bb8c-ea30f1b05d48</d2p1:TID>
      <d2p1:WorkTaskID>0d1a02d5-7c27-4cfb-a72a-22f41463edb2</d2p1:WorkTaskID>
    </d2p1:CPRItemBelongDTO>
  </Data>
  <Message>sample string 1</Message>
</ResultModelOfArrayOfCPRItemBelongDTOYWEC5V_S_S>