GET api/UserCompanies/GetUserCompareCompaniesById/{id}

Gets UserCompareCompanies by id. Will return empty object if id not found with object.id = 0.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

UserCompareCompanies
NameDescriptionTypeAdditional information
Id

integer

None.

ProfileId

integer

None.

CompanyId

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Id": 1,
  "ProfileId": 2,
  "CompanyId": 3
}

application/xml, text/xml

Sample:
<UserCompareCompanies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
  <CompanyId>3</CompanyId>
  <Id>1</Id>
  <ProfileId>2</ProfileId>
</UserCompareCompanies>