POST api/AddUserInfo
Request Information
URI Parameters
None.
Body Parameters
UserModelName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
None. |
|
string |
None. |
||
FirstName | string |
None. |
|
LastName | string |
None. |
|
ChangePassword | boolean |
None. |
|
PhoneNumber | string |
None. |
|
Status | string |
None. |
|
RoleID | integer |
None. |
|
Role | string |
None. |
|
TextCarrierID | integer |
None. |
|
CompanyID | integer |
None. |
|
CompanyName | string |
None. |
|
FullName | string |
None. |
|
UserTypeID | integer |
None. |
|
EmailTypeID | integer |
None. |
|
Color | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": "sample string 1", "Email": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "ChangePassword": true, "PhoneNumber": "sample string 6", "Status": "sample string 7", "RoleID": 1, "Role": "sample string 8", "TextCarrierID": 1, "CompanyID": 1, "CompanyName": "sample string 9", "FullName": "sample string 10", "UserTypeID": 1, "EmailTypeID": 1, "Color": "sample string 11" }
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models"> <ChangePassword>true</ChangePassword> <Color>sample string 11</Color> <CompanyID>1</CompanyID> <CompanyName>sample string 9</CompanyName> <Email>sample string 2</Email> <EmailTypeID>1</EmailTypeID> <FirstName>sample string 3</FirstName> <FullName>sample string 10</FullName> <LastName>sample string 4</LastName> <PhoneNumber>sample string 6</PhoneNumber> <Role>sample string 8</Role> <RoleID>1</RoleID> <Status>sample string 7</Status> <TextCarrierID>1</TextCarrierID> <UserID>sample string 1</UserID> <UserTypeID>1</UserTypeID> </UserModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>