POST api/Account/Register
Request Information
URI Parameters
None.
Body Parameters
RegisterBindingModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
Required |
|
LastName | string |
Required |
|
UserName | string |
Required |
|
string |
Required |
||
PhoneNumber | string |
Required |
|
PhoneExt | string |
None. |
|
Notes | string |
None. |
|
ExpiryDate | date |
None. |
|
RoleId | integer |
Required |
|
RoleName | string |
Required |
|
AgentRoleId | integer |
Required |
|
AgentRoleName | string |
Required |
|
OrganizationUuid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "UserName": "sample string 3", "Email": "sample string 4", "PhoneNumber": "sample string 5", "PhoneExt": "sample string 6", "Notes": "sample string 7", "ExpiryDate": "2024-09-07T22:39:48.3932355-04:00", "RoleId": 9, "RoleName": "sample string 10", "AgentRoleId": 11, "AgentRoleName": "sample string 12", "OrganizationUuid": "sample string 13" }
application/xml, text/xml
Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.WebApi.Models"> <AgentRoleId>11</AgentRoleId> <AgentRoleName>sample string 12</AgentRoleName> <Email>sample string 4</Email> <ExpiryDate>2024-09-07T22:39:48.3932355-04:00</ExpiryDate> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <Notes>sample string 7</Notes> <OrganizationUuid>sample string 13</OrganizationUuid> <PhoneExt>sample string 6</PhoneExt> <PhoneNumber>sample string 5</PhoneNumber> <RoleId>9</RoleId> <RoleName>sample string 10</RoleName> <UserName>sample string 3</UserName> </RegisterBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.