POST AddUser

Request Information

URI Parameters

None.

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

Email

string

None.

PhoneNumber

string

None.

RoleId

string

None.

Password

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "Email": "sample string 3",
  "PhoneNumber": "sample string 4",
  "RoleId": "sample string 5",
  "Password": "sample string 6",
  "IsActive": true
}

application/xml, text/xml

Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TLTApp.Entities.DTOs.Reserva">
  <Email>sample string 3</Email>
  <IsActive>true</IsActive>
  <Password>sample string 6</Password>
  <PhoneNumber>sample string 4</PhoneNumber>
  <RoleId>sample string 5</RoleId>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</UserDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MobileReturnOject
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Obj

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Obj": {}
}

application/xml, text/xml

Sample:
<MobileReturnOject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TLTApp.Services">
  <Message>sample string 1</Message>
  <Obj />
  <Status>true</Status>
</MobileReturnOject>