POST api/list/pm/companies
Returns a list of companies in PM Processes this list API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The pm companies list filter data contract supplied with the request.
PmCompaniesListFilterDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| TeamGroupIds |
The unique identifiers of the related team group resources. |
Collection of integer |
None. |
| BranchIds |
The unique identifiers of the related branch resources. |
Collection of integer |
None. |
| IncludeArchived |
Indicates whether include archived is true. |
boolean |
None. |
| CompanyTypes |
The collection of company types. |
Collection of string |
None. |
| PageSize |
The page size value. |
integer |
None. |
| PageNumber |
The page number value. |
integer |
None. |
| Term |
The term value. |
string |
None. |
| OrderByDescending |
Indicates whether order by descending is true. |
boolean |
None. |
| Name |
The name value. |
string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"TeamGroupIds": [
1,
2
],
"BranchIds": [
1,
2
],
"IncludeArchived": true,
"CompanyTypes": [
"sample string 1",
"sample string 2"
],
"PageSize": 1,
"PageNumber": 1,
"Term": "sample string 2",
"OrderByDescending": true,
"Name": "sample string 3"
}
Response Information
Resource Description
The response returned after the operation completes.
PagedCollectionDataContractOfCompanyListDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalCount |
The total count value. |
integer |
None. |
| CurrentCount |
The current count value. |
integer |
None. |
| PageSize |
The page size value. |
integer |
None. |
| PageNumber |
The page number value. |
integer |
None. |
| Collection |
The collection of collection. |
Collection of CompanyListDataContract |
None. |
Response Formats
application/json, text/json
{
"TotalCount": 1,
"CurrentCount": 2,
"PageSize": 1,
"PageNumber": 1,
"Collection": [
{
"GroupId": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"EmailMarketingStatus": "sample string 4",
"Telephone": "sample string 5",
"TelephoneMarketingStatus": "sample string 6",
"CompanyType": "sample string 7"
},
{
"GroupId": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"EmailMarketingStatus": "sample string 4",
"Telephone": "sample string 5",
"TelephoneMarketingStatus": "sample string 6",
"CompanyType": "sample string 7"
}
]
}