POST Api/Roles

Request Information

URI Parameters

None.

Body Parameters

Roles
NameDescriptionTypeAdditional information
Id

integer

None.

EmpresaId

integer

None.

Rol

string

None.

Estado

boolean

None.

UsuarioAlta

string

None.

FechaAlta

date

None.

UsuarioEdit

string

None.

FechaEdit

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmpresaId": 1,
  "Rol": "sample string 1",
  "Estado": true,
  "UsuarioAlta": "sample string 3",
  "FechaAlta": "2019-05-18T23:59:10.5041873-07:00",
  "UsuarioEdit": "sample string 4",
  "FechaEdit": "2019-05-18T23:59:10.5041873-07:00"
}

application/xml, text/xml

Sample:
<Roles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <EmpresaId>1</EmpresaId>
  <Estado>true</Estado>
  <FechaAlta>2019-05-18T23:59:10.5041873-07:00</FechaAlta>
  <FechaEdit>2019-05-18T23:59:10.5041873-07:00</FechaEdit>
  <Id>1</Id>
  <Rol>sample string 1</Rol>
  <UsuarioAlta>sample string 3</UsuarioAlta>
  <UsuarioEdit>sample string 4</UsuarioEdit>
</Roles>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.