POST api/user/save
Request Information
URI Parameters
None.
Body Parameters
UserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| PersonId | integer |
None. |
|
| IdentificationTypeId | integer |
None. |
|
| IdentificationNumber | integer |
None. |
|
| Name | string |
None. |
|
| Gender | string |
None. |
|
| string |
None. |
||
| MobilePhone | string |
None. |
Request Formats
application/json, text/javascript, text/html, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2",
"PersonId": 3,
"IdentificationTypeId": 4,
"IdentificationNumber": 5,
"Name": "sample string 6",
"Gender": "sample string 7",
"EMail": "sample string 8",
"MobilePhone": "sample string 9"
}
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tecnext.SGM.WebAPI.Models"> <EMail>sample string 8</EMail> <Gender>sample string 7</Gender> <IdentificationNumber>5</IdentificationNumber> <IdentificationTypeId>4</IdentificationTypeId> <MobilePhone>sample string 9</MobilePhone> <Name>sample string 6</Name> <Password>sample string 2</Password> <PersonId>3</PersonId> <UserName>sample string 1</UserName> </UserModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/javascript, text/html, text/json, application/xml, text/xml
Sample:
Sample not available.