POST api/Register
Request Information
URI Parameters
None.
Body Parameters
Register| Name | Description | Type | Additional information |
|---|---|---|---|
| Password | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| MobileNumber | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| Country | string |
None. |
|
| EmailAddress | string |
None. |
|
| AccountType | integer |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Password": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"MobileNumber": "sample string 4",
"Address": "sample string 5",
"City": "sample string 6",
"Country": "sample string 7",
"EmailAddress": "sample string 8",
"AccountType": 9,
"CompanyId": 10
}
application/xml, text/xml
Sample:
<Register xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <AccountType>9</AccountType> <Address>sample string 5</Address> <City>sample string 6</City> <CompanyId>10</CompanyId> <Country>sample string 7</Country> <EmailAddress>sample string 8</EmailAddress> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <MobileNumber>sample string 4</MobileNumber> <Password>sample string 1</Password> </Register>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RegisterResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | string |
None. |
|
| AccountId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": "sample string 1",
"AccountId": 2
}
application/xml, text/xml
Sample:
<RegisterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <AccountId>2</AccountId> <Response>sample string 1</Response> </RegisterResponse>