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
WorkTaskGetPersonListDto| Name | 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": [
"5ea33bcf-0a2e-4e51-b7fa-630080fec1a7",
"02a06dd2-016b-400f-bf30-7ed8616ba89c"
],
"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>5ea33bcf-0a2e-4e51-b7fa-630080fec1a7</d2p1:guid>
<d2p1:guid>02a06dd2-016b-400f-bf30-7ed8616ba89c</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
ResultModelOfDataSet| Name | 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>