Skip to content

UANATACA RA API DOCUMENTATION (v1)

Download OpenAPI description
Languages
Servers

https://api.uanataca.com/

Operations
Operations
Operations
Operations
Operations

Request

Validate the request fields.

Path
idstringrequired

The unique identifier of the Request

curl -i -X GET \
  'https://api.uanataca.com/api/v1/requests/{id}/validate'

Responses

Successful Response

Bodyapplication/json
object

A JSON object with the request missing parameters (if any)

Response
application/json
{ "serial_number": "missing", "mobile_phone_number": "missing" }

Request

Generates a declaration related to a request that must be signed by a RAO.
The receipt is signed in the Approve Request call.

Path
idstringrequired

The unique identifier of the Request

Bodyapplication/json
raostringrequired

The unique identifier of the RAO that will sign and approve the request

typestringrequired

The type of the receipt to generate

Value"APPROVE"
curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/generates_tbs_receipt' \
  -H 'Content-Type: application/json' \
  -d '{
    "rao": "string",
    "type": "APPROVE"
  }'

Responses

Successful Response

Bodyapplication/json
serial_numberstring

The receipt serial number

receiptstring

The receipt content

Response
application/json
{ "serial_number": "3ef3696d2939241d", "receipt": "El operador RAO_Name RAO_Surname1 con número de identificación 12345678P\r\nactuando en calidad de operador autorizado de registro del prestador de servicios\r\nde confianza UANATACA, S.A. con NIF A66721499, (UANATACA en lo sucesivo)\r\n\r\nDECLARA\r\n\r\nQue previa verificación de acuerdo a la Declaración de Prácticas de UANATACA\r\npublicadas en www.uanataca.com, la información detallada a continuación es\r\ncorrecta y será incluida (donde aplicable) en la solicitud de certificados\r\ncualificados:\r\n\r\n- Datos de Identificación de la solicitud de certificados: 36893\r\n- Nombre y Apellidos del Firmante: Name Surname1 Surname2\r\n- DNI/NIE/PASAPORTE del Firmante: 11111111B\r\n- Dirección de correo electrónico del Firmante: mail@domain.com\r\n\r\n\r\n18/03/2021\r\n\r\n\r\n\r\n--------------------------------------------------------------------\r\nFdo. User Admin\r\nOperador autorizado de registro" }

Request

Generates a contract associated to a request that must be signed by a RAO.
The contract is signed in the approve request call.

Path
idstringrequired

The unique identifier of the Request

Bodyapplication/json
doctypestring

The contract type

Enum"contract""contract_renew"
curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/generate_document' \
  -H 'Content-Type: application/json' \
  -d '{
    "doctype": "contract"
  }'

Responses

Successful Response

Bodyapplication/json
documentstring

The document ready for PDF conversion

Response
application/json
{ "document": "%PDF-1.4\n%���� ReportLab Generated PDF document http://www.reportlab.com\n1 0 obj\n<<\n/F1 2 0 R\n>>\nendobj\n2 0 obj\n<<\n/Bas (...) " }
Operations
Operations