GET api/Company/GetCompanyById/{id}?type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

type

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultOfCompany
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

Company

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 'Data.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 'Data.Members[0].Friends'.