POST api/ClientRegistration

Posts the client registration.

Request Information

URI Parameters

None.

Body Parameters

The registration.

RegistrationViewModel
NameDescriptionTypeAdditional information
clientRegistrationId

Gets or sets the client registration identifier.

integer

None.

fullName

Gets or sets the full name.

string

None.

emailAddress

Gets or sets the email address.

string

None.

companyName

Gets or sets the name of the company.

string

None.

PhoneNumber

Gets or sets the phone number.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "clientRegistrationId": 1,
  "fullName": "sample string 2",
  "emailAddress": "sample string 3",
  "companyName": "sample string 4",
  "PhoneNumber": "sample string 5"
}

text/html

Sample:
{"clientRegistrationId":1,"fullName":"sample string 2","emailAddress":"sample string 3","companyName":"sample string 4","PhoneNumber":"sample string 5"}

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

Response Information

Resource Description

RegistrationViewModel
NameDescriptionTypeAdditional information
clientRegistrationId

Gets or sets the client registration identifier.

integer

None.

fullName

Gets or sets the full name.

string

None.

emailAddress

Gets or sets the email address.

string

None.

companyName

Gets or sets the name of the company.

string

None.

PhoneNumber

Gets or sets the phone number.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "clientRegistrationId": 1,
  "fullName": "sample string 2",
  "emailAddress": "sample string 3",
  "companyName": "sample string 4",
  "PhoneNumber": "sample string 5"
}

text/html

Sample:
{"clientRegistrationId":1,"fullName":"sample string 2","emailAddress":"sample string 3","companyName":"sample string 4","PhoneNumber":"sample string 5"}