POST api/Investors

Request Information

URI Parameters

None.

Body Parameters

IUserEditViewModel
NameDescriptionTypeAdditional information
userInstanceId

globally unique identifier

Required

userId

globally unique identifier

Required

organizationId

globally unique identifier

None.

firstName

string

Required

Max length: 60

lastName

string

Required

Max length: 60

email

string

Max length: 100

dataroomAccess

boolean

None.

isAdmin

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "userInstanceId": "2957ea86-cfa2-4900-9ffd-b82d8b71e0a0",
  "userId": "b3780f7a-7294-4300-9418-60cfc1f99414",
  "organizationId": "ddf8fbdb-854c-4d26-86e5-ed1f1667834f",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "email": "sample string 6",
  "dataroomAccess": true,
  "isAdmin": true
}

application/xml, text/xml

Sample:
<IUserEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.UI.Models">
  <dataroomAccess>true</dataroomAccess>
  <email>sample string 6</email>
  <firstName>sample string 4</firstName>
  <isAdmin>true</isAdmin>
  <lastName>sample string 5</lastName>
  <organizationId>ddf8fbdb-854c-4d26-86e5-ed1f1667834f</organizationId>
  <userId>b3780f7a-7294-4300-9418-60cfc1f99414</userId>
  <userInstanceId>2957ea86-cfa2-4900-9ffd-b82d8b71e0a0</userInstanceId>
</IUserEditViewModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.