POST api/v1/auth/registration

Request Information

URI Parameters

None.

Body Parameters

RegistrationInfo
NameDescriptionTypeAdditional information
id

globally unique identifier

Required

company_name

string

None.

first_name

string

None.

last_name

string

None.

email

string

None.

phone

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "50890218-8034-479b-a839-1174ee854fe1",
  "company_name": "sample string 2",
  "first_name": "sample string 3",
  "last_name": "sample string 4",
  "email": "sample string 5",
  "phone": "sample string 6",
  "password": "sample string 7"
}

application/xml, text/xml

Sample:
<RegistrationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <company_name>sample string 2</company_name>
  <email>sample string 5</email>
  <first_name>sample string 3</first_name>
  <id>50890218-8034-479b-a839-1174ee854fe1</id>
  <last_name>sample string 4</last_name>
  <password>sample string 7</password>
  <phone>sample string 6</phone>
</RegistrationInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
messages

Collection of ResultMessage

None.

count_of_errors

integer

None.

id

Object

None.

name

string

None.

data

Object

None.

url

string

None.

text

string

None.

inner_exception

string

None.

Response Formats

application/json, text/json

Sample:
{
  "messages": [
    {
      "type": 1,
      "code": 1,
      "message": "sample string 1",
      "field": "sample string 2"
    },
    {
      "type": 1,
      "code": 1,
      "message": "sample string 1",
      "field": "sample string 2"
    }
  ],
  "count_of_errors": 1,
  "id": {},
  "name": "sample string 3",
  "data": {},
  "url": "sample string 5",
  "text": "sample string 6",
  "inner_exception": "sample string 7"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
  <count_of_errors>1</count_of_errors>
  <data />
  <id />
  <inner_exception>sample string 7</inner_exception>
  <messages>
    <ResultMessage>
      <code>1</code>
      <field>sample string 2</field>
      <message>sample string 1</message>
      <type>1</type>
    </ResultMessage>
    <ResultMessage>
      <code>1</code>
      <field>sample string 2</field>
      <message>sample string 1</message>
      <type>1</type>
    </ResultMessage>
  </messages>
  <name>sample string 3</name>
  <text>sample string 6</text>
  <url>sample string 5</url>
</Result>