POST api/WorkTask/GetPersonList?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
WorkTaskGetPersonListDtoName | Description | Type | Additional information |
---|---|---|---|
searchText | string |
None. |
|
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
|
DutyKey | string |
None. |
|
ChargePerson | boolean |
None. |
|
CustomerList | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerList": [ "8eded327-d869-428c-b478-9f8c2b14111d", "27c72898-76f1-4e1c-a65c-efeedef8a06c" ], "searchText": "sample string 1", "pageIndex": 2, "pageSize": 3, "DutyKey": "sample string 4", "ChargePerson": true }
application/xml, text/xml
Sample:
<WorkTaskGetPersonListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <ChargePerson>true</ChargePerson> <CustomerList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>8eded327-d869-428c-b478-9f8c2b14111d</d2p1:guid> <d2p1:guid>27c72898-76f1-4e1c-a65c-efeedef8a06c</d2p1:guid> </CustomerList> <DutyKey>sample string 4</DutyKey> <pageIndex>2</pageIndex> <pageSize>3</pageSize> <searchText>sample string 1</searchText> </WorkTaskGetPersonListDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfDataSetName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | DataSet |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": null }
application/xml, text/xml
Sample:
<ResultModelOfDataSetymujubN2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data i:nil="true" /> <Message>sample string 1</Message> </ResultModelOfDataSetymujubN2>