POST api/v1/auth/register-company

Request Information

URI Parameters

None.

Body Parameters

RegisterCompanyRequest
NameDescriptionTypeAdditional information
CompanyName

string

Required

Max length: 255

ManagerName

string

Required

Max length: 255

ManagerEmail

string

Required

Max length: 255

ManagerPhone

string

Required

Max length: 50

Password

string

Required

Min length: 6

Plan

string

Required

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "CompanyName": "sample string 1",
  "ManagerName": "sample string 2",
  "ManagerEmail": "sample string 3",
  "ManagerPhone": "sample string 4",
  "Password": "sample string 5",
  "Plan": "sample string 6"
}

text/html

Sample:
{"CompanyName":"sample string 1","ManagerName":"sample string 2","ManagerEmail":"sample string 3","ManagerPhone":"sample string 4","Password":"sample string 5","Plan":"sample string 6"}

application/xml, text/xml

Sample:
<RegisterCompanyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReferralFlowAPI.DTOs.Auth">
  <CompanyName>sample string 1</CompanyName>
  <ManagerEmail>sample string 3</ManagerEmail>
  <ManagerName>sample string 2</ManagerName>
  <ManagerPhone>sample string 4</ManagerPhone>
  <Password>sample string 5</Password>
  <Plan>sample string 6</Plan>
</RegisterCompanyRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.