# MinSalud.SIIFA.API.Seguridad

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
More information: https://openapi-generator.tech
Contact Info: team@openapitools.org
Version: v1
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

## Access

1. HTTP Bearer Token authentication (JWT)

## Methods

[ Jump to Models ]

### Table of Contents

#### Auth

- `post /api/Auth/login`

#### User

- `post /api/User/GetUserList`
- `post /api/User`
- `put /api/User`
- `delete /api/User/{UserId}`
- `get /api/User/{UserId}`

#### WeatherForecast

- `get /WeatherForecast`

# Auth

Up

    post /api/Auth/login

(apiAuthLoginPost)

### Consumes

This API call consumes the following media types via the Content-Type request header:

- `application/json`
- `text/json`
- `application/*+json`

### Request body

MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Command MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Command (optional)
Body Parameter —

### Return type

MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Result

### Example data

Content-Type: application/json

    {
      "success" : true,
      "errors" : [ "errors", "errors" ],
      "token" : "token"
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Example data

Content-Type: application/json

    {
      "instance" : "instance",
      "detail" : "detail",
      "type" : "type",
      "title" : "title",
      "status" : 0
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 200

Success MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Result

#### 400

Bad Request Microsoft.AspNetCore.Mvc.ProblemDetails

# User

Up

    post /api/User/GetUserList

(apiUserGetUserListPost)

### Consumes

This API call consumes the following media types via the Content-Type request header:

- `application/json`
- `text/json`
- `application/*+json`

### Request body

MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Query MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Query (optional)
Body Parameter —

### Return type

MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Result

### Example data

Content-Type: application/json

    {
      "tipoDocumento" : "tipoDocumento",
      "userRoles" : "userRoles",
      "segundoNombre" : "segundoNombre",
      "phoneNumber" : "phoneNumber",
      "primerNombre" : "primerNombre",
      "primerApellido" : "primerApellido",
      "segundoApellido" : "segundoApellido",
      "numeroDocumento" : "numeroDocumento",
      "userName" : "userName",
      "userId" : "userId",
      "userClaims" : "userClaims",
      "email" : "email"
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 200

Success MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Result

#### 500

Server Error

Up

    post /api/User

(apiUserPost)

### Consumes

This API call consumes the following media types via the Content-Type request header:

- `application/json`
- `text/json`
- `application/*+json`

### Request body

MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Command MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Command (optional)
Body Parameter —

### Return type

MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Result

### Example data

Content-Type: application/json

    {
      "success" : true,
      "userId" : "userId",
      "errors" : [ "errors", "errors" ]
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Example data

Content-Type: application/json

    {
      "instance" : "instance",
      "detail" : "detail",
      "type" : "type",
      "title" : "title",
      "status" : 0
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 201

Created MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Result

#### 400

Bad Request Microsoft.AspNetCore.Mvc.ProblemDetails

#### 500

Server Error

Up

    put /api/User

(apiUserPut)

### Consumes

This API call consumes the following media types via the Content-Type request header:

- `application/json`
- `text/json`
- `application/*+json`

### Request body

MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Command MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Command (optional)
Body Parameter —

### Return type

MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Result

### Example data

Content-Type: application/json

    {
      "success" : true,
      "errors" : [ "errors", "errors" ]
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Example data

Content-Type: application/json

    {
      "instance" : "instance",
      "detail" : "detail",
      "type" : "type",
      "title" : "title",
      "status" : 0
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Example data

Content-Type: application/json

    {
      "instance" : "instance",
      "detail" : "detail",
      "type" : "type",
      "title" : "title",
      "status" : 0
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 200

Success MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Result

#### 400

Bad Request Microsoft.AspNetCore.Mvc.ProblemDetails

#### 404

Not Found Microsoft.AspNetCore.Mvc.ProblemDetails

#### 500

Server Error

Up

    delete /api/User/{UserId}

(apiUserUserIdDelete)

### Path parameters

UserId (required)
Path Parameter — default: null

### Return type

MinSalud.SIIFA.API.Seguridad.Features.User.Commands.DeleteUser_Result

### Example data

Content-Type: application/json

    {
      "success" : true,
      "errors" : [ "errors", "errors" ]
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Example data

Content-Type: application/json

    {
      "instance" : "instance",
      "detail" : "detail",
      "type" : "type",
      "title" : "title",
      "status" : 0
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 200

Success MinSalud.SIIFA.API.Seguridad.Features.User.Commands.DeleteUser_Result

#### 404

Not Found Microsoft.AspNetCore.Mvc.ProblemDetails

#### 500

Server Error

Up

    get /api/User/{UserId}

(apiUserUserIdGet)

### Path parameters

UserId (required)
Path Parameter — default: null

### Return type

MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_Result

### Example data

Content-Type: application/json

    {
      "tipoDocumento" : "tipoDocumento",
      "twoFactorEnabled" : true,
      "userRoles" : [ {
        "name" : "name"
      }, {
        "name" : "name"
      } ],
      "segundoNombre" : "segundoNombre",
      "phoneNumber" : "phoneNumber",
      "primerNombre" : "primerNombre",
      "primerApellido" : "primerApellido",
      "idUsuario" : "idUsuario",
      "segundoApellido" : "segundoApellido",
      "numeroDocumento" : "numeroDocumento",
      "userClaims" : [ {
        "claimType" : "claimType",
        "claimValue" : "claimValue"
      }, {
        "claimType" : "claimType",
        "claimValue" : "claimValue"
      } ],
      "email" : "email"
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Example data

Content-Type: application/json

    {
      "instance" : "instance",
      "detail" : "detail",
      "type" : "type",
      "title" : "title",
      "status" : 0
    }

### Example data

Content-Type: text/json

    Custom MIME type example not yet supported: text/json

### Example data

Content-Type: text/plain

    Custom MIME type example not yet supported: text/plain

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 200

Success MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_Result

#### 404

Not Found Microsoft.AspNetCore.Mvc.ProblemDetails

#### 500

Server Error

# WeatherForecast

Up

    get /WeatherForecast

(getWeatherForecast)

### Return type

array[MinSalud.SIIFA.API.Seguridad.WeatherForecast]

### Example data

Content-Type: application/json

    [ {
      "date" : {
        "month" : 6,
        "year" : 0,
        "dayOfYear" : 5,
        "dayNumber" : 5,
        "day" : 1
      },
      "summary" : "summary",
      "temperatureC" : 2,
      "temperatureF" : 7
    }, {
      "date" : {
        "month" : 6,
        "year" : 0,
        "dayOfYear" : 5,
        "dayNumber" : 5,
        "day" : 1
      },
      "summary" : "summary",
      "temperatureC" : 2,
      "temperatureF" : 7
    } ]

### Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

- `text/plain`
- `application/json`
- `text/json`

### Responses

#### 200

Success

## Models

[ Jump to Methods ]

### Table of Contents

1. `Microsoft.AspNetCore.Mvc.ProblemDetails` -
2. `MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Command` -
3. `MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Result` -
4. `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Command` -
5. `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Result` -
6. `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.DeleteUser_Result` -
7. `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Command` -
8. `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Result` -
9. `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_Result` -
10. `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_UserClaims` -
11. `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_UserRoles` -
12. `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Query` -
13. `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Result` -
14. `MinSalud.SIIFA.API.Seguridad.WeatherForecast` -
15. `System.DateOnly` -
16. `System.DayOfWeek` -

### `Microsoft.AspNetCore.Mvc.ProblemDetails` - Up

type (optional)
String
title (optional)
String
status (optional)
Integer format: int32
detail (optional)
String
instance (optional)
String

### `MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Command` - Up

userName (optional)
String
password (optional)
String

### `MinSalud.SIIFA.API.Seguridad.Features.Auth.Commands.Login_Result` - Up

success (optional)
Boolean
token (optional)
String
errors (optional)
array[String]

### `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Command` - Up

primerNombre (optional)
String
segundoNombre (optional)
String
primerApellido (optional)
String
segundoApellido (optional)
String
tipoDocumento (optional)
String
numeroDocumento (optional)
String
email (optional)
String
nitEntidad (optional)
String
rolesSolicitados (optional)
array[String]

### `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.AddUser_Result` - Up

userId (optional)
String
success (optional)
Boolean
errors (optional)
array[String]

### `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.DeleteUser_Result` - Up

success (optional)
Boolean
errors (optional)
array[String]

### `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Command` - Up

userId (optional)
String
primerNombre (optional)
String
primerApellido (optional)
String

### `MinSalud.SIIFA.API.Seguridad.Features.User.Commands.UpdateUser_Result` - Up

success (optional)
Boolean
errors (optional)
array[String]

### `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_Result` - Up

idUsuario (optional)
String
primerNombre (optional)
String
segundoNombre (optional)
String
primerApellido (optional)
String
segundoApellido (optional)
String
tipoDocumento (optional)
String
numeroDocumento (optional)
String
email (optional)
String
phoneNumber (optional)
String
twoFactorEnabled (optional)
Boolean
userRoles (optional)
array[MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_UserRoles]
userClaims (optional)
array[MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_UserClaims]

### `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_UserClaims` - Up

claimType (optional)
String
claimValue (optional)
String

### `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserById_UserRoles` - Up

name (optional)
String

### `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Query` - Up

userName (optional)
String
email (optional)
String
documento (optional)
String
numPagina (optional)
Integer format: int32
registrosPagina (optional)
Integer format: int32
sortColumn (optional)
String
sortOrden (optional)
String

### `MinSalud.SIIFA.API.Seguridad.Features.User.Queries.GetUserList_Result` - Up

userId (optional)
String
userName (optional)
String
primerNombre (optional)
String
segundoNombre (optional)
String
primerApellido (optional)
String
segundoApellido (optional)
String
tipoDocumento (optional)
String
numeroDocumento (optional)
String
email (optional)
String
phoneNumber (optional)
String
userRoles (optional)
String
userClaims (optional)
String

### `MinSalud.SIIFA.API.Seguridad.WeatherForecast` - Up

date (optional)
System.DateOnly
temperatureC (optional)
Integer format: int32
temperatureF (optional)
Integer format: int32
summary (optional)
String

### `System.DateOnly` - Up

year (optional)
Integer format: int32
month (optional)
Integer format: int32
day (optional)
Integer format: int32
dayOfWeek (optional)
System.DayOfWeek
dayOfYear (optional)
Integer format: int32
dayNumber (optional)
Integer format: int32

### `System.DayOfWeek` - Up