POST api/crm/people/search
Request Information
URI Parameters
None.
Body Parameters
PeopleSelectSearchRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PeopleType | PeopleTypeItem |
None. |
|
| HasUser | boolean |
None. |
|
| RelatedTypeCode | string |
None. |
|
| FromRelatedPeopleId | integer |
None. |
|
| HasAll | boolean |
None. |
|
| CustomSelectListItems | Collection of SelectListItemSearchable |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalCount | integer |
None. |
|
| Filters | Dictionary of string [key] and string [value] |
None. |
|
| Sorts | Dictionary of string [key] and string [value] |
None. |
|
| TargetDate | string |
None. |
|
| EndTargetDate | string |
None. |
|
| Ids | Collection of integer |
None. |
|
| ExcludeIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PeopleType": 0,
"HasUser": true,
"RelatedTypeCode": "sample string 1",
"FromRelatedPeopleId": 1,
"HasAll": true,
"CustomSelectListItems": [
{
"GroupId": "sample string 1",
"GroupName": "sample string 2",
"Order": 3,
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 6",
"Value": "sample string 7"
},
{
"GroupId": "sample string 1",
"GroupName": "sample string 2",
"Order": 3,
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 6",
"Value": "sample string 7"
}
],
"Page": 3,
"PageSize": 4,
"TotalCount": 5,
"Filters": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"Sorts": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"TargetDate": "sample string 6",
"EndTargetDate": "sample string 7",
"Ids": [
1,
2
],
"ExcludeIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<PeopleSelectSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.PeopleView">
<EndTargetDate xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">sample string 7</EndTargetDate>
<ExcludeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ExcludeIds>
<Filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Filters>
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Ids>
<Page xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">3</Page>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">4</PageSize>
<Sorts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Sorts>
<TargetDate xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">sample string 6</TargetDate>
<TotalCount xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Common.Request">5</TotalCount>
<CustomSelectListItems xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">
<SelectListItemSearchable>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 6</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Value>
<GroupId>sample string 1</GroupId>
<GroupName>sample string 2</GroupName>
<Order>3</Order>
</SelectListItemSearchable>
<SelectListItemSearchable>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 6</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Value>
<GroupId>sample string 1</GroupId>
<GroupName>sample string 2</GroupName>
<Order>3</Order>
</SelectListItemSearchable>
</CustomSelectListItems>
<HasAll xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">true</HasAll>
<FromRelatedPeopleId>1</FromRelatedPeopleId>
<HasUser>true</HasUser>
<PeopleType>None</PeopleType>
<RelatedTypeCode>sample string 1</RelatedTypeCode>
</PeopleSelectSearchRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.