GET api/DataApi/getCompany?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Company
NameDescriptionTypeAdditional information
Id

string

None.

CompanyId

integer

None.

CompanyName

string

None.

CompanyDesc

string

None.

Members

Collection of UserInfo

None.

Admins

Collection of UserInfo

None.

CompanyUsers

Collection of CompanyUsers

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'RTMDesktop.Data.UserInfo'. Path 'Members[0].Friends'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'RTMDesktop.Data.UserInfo'. Path 'Members[0].Friends'.