- Auth
  - post/api/Auth/login
- User
  - post/api/User/GetUserList
  - get/api/User/{UserId}
  - del/api/User/{UserId}
  - post/api/User
  - put/api/User
- WeatherForecast
  - get GetWeatherForecast

API docs by Redocly

# MinSalud.SIIFA.API.Seguridad (v1)

Download OpenAPI specification:Download

# Auth

## /api/Auth/login

##### Authorizations:

Bearer

##### Request Body schema:
application/json

userName | string or null
password | string or null

### Responses

/api/Auth/login

### Request samples

- Payload

Content type
application/json
`
{

- "userName": "string",
- "password": "string"

}`

### Response samples

- 200
- 400

Content type
text/plain
No sample

# User

## /api/User/GetUserList

##### Authorizations:

Bearer

##### Request Body schema:
application/json

userName | string or null
email | string or null
documento | string or null
numPagina | integer or null <int32>
registrosPagina | integer or null <int32>
sortColumn | string or null
sortOrden | string or null

### Responses

/api/User/GetUserList

### Request samples

- Payload

Content type
application/json
`
{

- "userName": "string",
- "email": "string",
- "documento": "string",
- "numPagina": 0,
- "registrosPagina": 0,
- "sortColumn": "string",
- "sortOrden": "string"

}`

### Response samples

- 200

Content type
text/plain
No sample

## /api/User/{UserId}

##### Authorizations:

Bearer

##### path Parameters

UserId required | string

### Responses

/api/User/{UserId}

### Response samples

- 200
- 404

Content type
text/plain
No sample

## /api/User/{UserId}

##### Authorizations:

Bearer

##### path Parameters

UserId required | string

### Responses

/api/User/{UserId}

### Response samples

- 200
- 404

Content type
text/plain
No sample

## /api/User

##### Authorizations:

Bearer

##### Request Body schema:
application/json

primerNombre | string or null
segundoNombre | string or null
primerApellido | string or null
segundoApellido | string or null
tipoDocumento | string or null
numeroDocumento | string or null
email | string or null
nitEntidad | string or null
rolesSolicitados | Array of strings or null

### Responses

/api/User

### Request samples

- Payload

Content type
application/json
`
{

- "primerNombre": "string",
- "segundoNombre": "string",
- "primerApellido": "string",
- "segundoApellido": "string",
- "tipoDocumento": "string",
- "numeroDocumento": "string",
- "email": "string",
- "nitEntidad": "string",
- "rolesSolicitados":
  [
  - "string"
  ]

}`

### Response samples

- 201
- 400

Content type
text/plain
No sample

## /api/User

##### Authorizations:

Bearer

##### Request Body schema:
application/json

userId | string or null
primerNombre | string or null
primerApellido | string or null

### Responses

/api/User

### Request samples

- Payload

Content type
application/json
`
{

- "userId": "string",
- "primerNombre": "string",
- "primerApellido": "string"

}`

### Response samples

- 200
- 400
- 404

Content type
text/plain
No sample

# WeatherForecast

## GetWeatherForecast

##### Authorizations:

Bearer

### Responses

/WeatherForecast

### Response samples

- 200

Content type
text/plain
No sample