POST api/Company/SaveCompany

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Company'.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "Message": "sample string 2",
  "Data": true
}