POST api/saveUser
Request Information
URI Parameters
None.
Body Parameters
UserRegistrationModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MarketId | string |
Required |
|
FirstName | string |
Required |
|
LastName | string |
Required |
|
string |
Required Data type: EmailAddress |
||
UserRole | integer |
None. |
|
IsActive | boolean |
None. |
|
IsReInvite | boolean |
None. |
|
CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "MarketId": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Email": "sample string 5", "UserRole": 6, "IsActive": true, "IsReInvite": true, "CreatedBy": 1 }
text/html
Sample:
{"Id":1,"MarketId":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4","Email":"sample string 5","UserRole":6,"IsActive":true,"IsReInvite":true,"CreatedBy":1}
application/xml, text/xml
Sample:
<UserRegistrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clarifide.Common.Model"> <CreatedBy>1</CreatedBy> <Email>sample string 5</Email> <FirstName>sample string 3</FirstName> <Id>1</Id> <IsActive>true</IsActive> <IsReInvite>true</IsReInvite> <LastName>sample string 4</LastName> <MarketId>sample string 2</MarketId> <UserRole>6</UserRole> </UserRegistrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |