POST api/list/pm/companies

Returns a list of companies in PM

Request Information

URI Parameters

None.

Body Parameters

PmCompaniesListFilterDataContract
NameDescriptionTypeAdditional information
TeamGroupIds

Collection of integer

None.

BranchIds

Collection of integer

None.

IncludeArchived

boolean

None.

PageSize

integer

None.

PageNumber

integer

None.

Term

string

None.

OrderByDescending

boolean

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TeamGroupIds": [
    1,
    2
  ],
  "BranchIds": [
    1,
    2
  ],
  "IncludeArchived": true,
  "PageSize": 1,
  "PageNumber": 1,
  "Term": "sample string 2",
  "OrderByDescending": true,
  "Name": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PagedCollectionDataContractOfCompanyListDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of CompanyListDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "GroupId": 1,
      "Name": "sample string 2",
      "Email": "sample string 3",
      "Telephone": "sample string 4",
      "CompanyType": "sample string 5"
    },
    {
      "GroupId": 1,
      "Name": "sample string 2",
      "Email": "sample string 3",
      "Telephone": "sample string 4",
      "CompanyType": "sample string 5"
    }
  ]
}