POST api/Usuario

Request Information

URI Parameters

None.

Body Parameters

UsuarioRequest
NameDescriptionTypeAdditional information
nombreUsuario

string

None.

nombreCompleto

string

None.

usuarioKeycloakId

string

None.

origenId

integer

None.

rolId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nombreUsuario": "sample string 1",
  "nombreCompleto": "sample string 2",
  "usuarioKeycloakId": "sample string 3",
  "origenId": 4,
  "rolId": 5
}

application/xml, text/xml

Sample:
<UsuarioRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models">
  <nombreCompleto>sample string 2</nombreCompleto>
  <nombreUsuario>sample string 1</nombreUsuario>
  <origenId>4</origenId>
  <rolId>5</rolId>
  <usuarioKeycloakId>sample string 3</usuarioKeycloakId>
</UsuarioRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UsuarioResponse
NameDescriptionTypeAdditional information
responseCode

integer

None.

responseMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "responseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<UsuarioResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models">
  <responseCode>1</responseCode>
  <responseMessage>sample string 2</responseMessage>
</UsuarioResponse>