POST ApiKeys/Crear

Crea una key. La respuesta es la única vez que se muestra: Kiai solo guarda su hash y no puede recuperarla. Se envía en el header X-Api-Key.

Request Information

URI Parameters

None.

Body Parameters

CrearApiKeyRequest
NameDescriptionTypeAdditional information
Nombre

string

Required

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "Nombre": "sample string 1"
}

application/xml, text/xml

Sample:
<CrearApiKeyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KiaiFacturacion.Aplicacion.Dtos.ApiKeys">
  <Nombre>sample string 1</Nombre>
</CrearApiKeyRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CrearApiKeyRequest'.

Response Information

Resource Description

ApiResponseWrapperOfApiKeyCreadaDto
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

Data

ApiKeyCreadaDto

None.

DateTime

date

None.

Response Formats

application/json, text/json

Sample:

Sample not available.