POST v1/accounts/register/{parent}?back={back}
Register new account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| back |
back url to return after validation |
string |
Required |
| parent |
parent ID |
string |
Default value is - |
Body Parameters
account data
UserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Type | string |
None. |
|
| State | string |
None. |
|
| Name | string |
None. |
|
| Login | string |
None. |
|
| Password | string |
None. |
|
| AuthKey | string |
None. |
|
| string |
None. |
||
| Address | string |
None. |
|
| Fax | string |
None. |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| License | string |
None. |
|
| Notes | string |
None. |
|
| Photo | string |
None. |
|
| Ext_Id | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Type": "sample string 2",
"State": "sample string 3",
"Name": "sample string 4",
"Login": "sample string 5",
"Password": "sample string 6",
"AuthKey": "sample string 7",
"Email": "sample string 8",
"Address": "sample string 9",
"Fax": "sample string 10",
"Phone": "sample string 11",
"Mobile": "sample string 12",
"License": "sample string 13",
"Notes": "sample string 14",
"Photo": "sample string 15",
"Ext_Id": "sample string 16",
"Latitude": 1.1,
"Longitude": 1.1
}
text/html
Sample:
{"Id":"sample string 1","Type":"sample string 2","State":"sample string 3","Name":"sample string 4","Login":"sample string 5","Password":"sample string 6","AuthKey":"sample string 7","Email":"sample string 8","Address":"sample string 9","Fax":"sample string 10","Phone":"sample string 11","Mobile":"sample string 12","License":"sample string 13","Notes":"sample string 14","Photo":"sample string 15","Ext_Id":"sample string 16","Latitude":1.1,"Longitude":1.1}
application/xml, text/xml
Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pd.Api.Models"> <Address>sample string 9</Address> <AuthKey>sample string 7</AuthKey> <Email>sample string 8</Email> <Ext_Id>sample string 16</Ext_Id> <Fax>sample string 10</Fax> <Id>sample string 1</Id> <Latitude>1.1</Latitude> <License>sample string 13</License> <Login>sample string 5</Login> <Longitude>1.1</Longitude> <Mobile>sample string 12</Mobile> <Name>sample string 4</Name> <Notes>sample string 14</Notes> <Password>sample string 6</Password> <Phone>sample string 11</Phone> <Photo>sample string 15</Photo> <State>sample string 3</State> <Type>sample string 2</Type> </UserDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.