POST api/Usuario
Request Information
URI Parameters
None.
Body Parameters
UsuarioRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Nombres | string |
None. |
|
| string |
None. |
||
| usuarioKeycloakId | string |
None. |
|
| origenId | integer |
None. |
|
| rolId | integer |
None. |
|
| PerfilId | integer |
None. |
|
| ApellidoMaterno | string |
None. |
|
| Curp | string |
None. |
|
| FechaNacimiento | date |
None. |
|
| ApellidoPaterno | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Nombres": "sample string 1",
"Email": "sample string 2",
"usuarioKeycloakId": "sample string 3",
"origenId": 4,
"rolId": 5,
"PerfilId": 6,
"ApellidoMaterno": "sample string 7",
"Curp": "sample string 8",
"FechaNacimiento": "2026-03-17T14:00:26.3858533-06:00",
"ApellidoPaterno": "sample string 10"
}
application/xml, text/xml
Sample:
<UsuarioRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO"> <ApellidoMaterno>sample string 7</ApellidoMaterno> <ApellidoPaterno>sample string 10</ApellidoPaterno> <Curp>sample string 8</Curp> <Email>sample string 2</Email> <FechaNacimiento>2026-03-17T14:00:26.3858533-06:00</FechaNacimiento> <Nombres>sample string 1</Nombres> <PerfilId>6</PerfilId> <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| Name | Description | Type | Additional 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.IO"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </UsuarioResponse>