POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterModel
NameDescriptionTypeAdditional information
User

SignupModel

Required

ClientId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "User": {
    "UserName": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "CompanyName": "sample string 4",
    "Title": "sample string 5",
    "SecondaryEmail": "sample string 6",
    "MobileNo": "sample string 7",
    "Password": "sample string 8",
    "ConfirmPassword": "sample string 9",
    "SelectedCountry": "sample string 10",
    "Countries": [
      {
        "Disabled": true,
        "Group": {
          "Disabled": true,
          "Name": "sample string 2"
        },
        "Selected": true,
        "Text": "sample string 3",
        "Value": "sample string 4"
      },
      {
        "Disabled": true,
        "Group": {
          "Disabled": true,
          "Name": "sample string 2"
        },
        "Selected": true,
        "Text": "sample string 3",
        "Value": "sample string 4"
      }
    ],
    "UsernameEmail": "sample string 11"
  },
  "ClientId": "sample string 1"
}

application/xml, text/xml

Sample:
<RegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IAB.SSO.Web.Api.Models">
  <ClientId>sample string 1</ClientId>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/IAB.SSO.Web.Api.Models.Signup">
    <d2p1:CompanyName>sample string 4</d2p1:CompanyName>
    <d2p1:ConfirmPassword>sample string 9</d2p1:ConfirmPassword>
    <d2p1:Countries xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
      <d3p1:SelectListItem>
        <d3p1:Disabled>true</d3p1:Disabled>
        <d3p1:Group>
          <d3p1:Disabled>true</d3p1:Disabled>
          <d3p1:Name>sample string 2</d3p1:Name>
        </d3p1:Group>
        <d3p1:Selected>true</d3p1:Selected>
        <d3p1:Text>sample string 3</d3p1:Text>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:SelectListItem>
      <d3p1:SelectListItem>
        <d3p1:Disabled>true</d3p1:Disabled>
        <d3p1:Group>
          <d3p1:Disabled>true</d3p1:Disabled>
          <d3p1:Name>sample string 2</d3p1:Name>
        </d3p1:Group>
        <d3p1:Selected>true</d3p1:Selected>
        <d3p1:Text>sample string 3</d3p1:Text>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:SelectListItem>
    </d2p1:Countries>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:LastName>sample string 3</d2p1:LastName>
    <d2p1:MobileNo>sample string 7</d2p1:MobileNo>
    <d2p1:Password>sample string 8</d2p1:Password>
    <d2p1:SecondaryEmail>sample string 6</d2p1:SecondaryEmail>
    <d2p1:SelectedCountry>sample string 10</d2p1:SelectedCountry>
    <d2p1:Title>sample string 5</d2p1:Title>
    <d2p1:UserName>sample string 1</d2p1:UserName>
    <d2p1:UsernameEmail>sample string 11</d2p1:UsernameEmail>
  </User>
</RegisterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.