Skip to content

UANATACA RA API DOCUMENTATION (v1)

Download OpenAPI description
Languages
Servers

https://api.uanataca.com/

Operations
Operations
Operations
Operations
Operations

Request

Upload the required documentation for certificate issuance.

Path
idstringrequired

The unique identifier of the Request

Bodymultipart/form-datarequired
documentstringrequired

The file to be uploaded

typestringrequired

The type of the document to be uploaded

Enum"document_front""document_rear""document_owner""extra_document"
curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/pl_upload_document' \
  -H 'Content-Type: multipart/form-data' \
  -F document=string \
  -F type=document_front

Responses

Successful Response

Bodyapplication/json
pknumber

The document database id

typenumber

The uploaded document type

Response
application/json
{ "pk": 48312, "type": "document_front" }

Request

Delete an identification document previously uploaded.

Path
idstringrequired

The unique identifier of the Request

Bodymultipart/form-datarequired
docpkstringrequired

The database primary key of the document to be deleted

curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/pl_delete_document' \
  -H 'Content-Type: multipart/form-data' \
  -F docpk=string

Responses

Successful Response

Bodyapplication/json
statusstring

The successful response status message

Response
application/json
{ "status": "Document deleted successfully" }

Request

Retrieves a request's associated document in Base64 format.

Path
idstringrequired

The unique identifier of the Request

Bodymultipart/form-datarequired
typestringrequired

The type of the document to be retrieved

Enum"document_front""document_rear""document_owner""extra_document""contract""signed_contract"
rao_idstringrequired

The rao id number. This field is required only if request status is CREATED or VIDEOREVIEW

curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/pl_get_document' \
  -H 'Content-Type: multipart/form-data' \
  -F type=document_front \
  -F rao_id=string

Responses

Successful Response

Bodyapplication/json
pkstring

The request id

documentstring

The document content in Base64 format

typestring

The document type

Response
application/json
{ "document": "iVBORw0KGgoAAAANSUhEUgAAAPwAAAChCAYAAAGUvOLYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAABU9xJREFUeNqMlmuMXGUZx3/nfmZ257bX7m53t91uKbS1Ak0kIFIwIZHUSP0kBmLiJSIWXa3SBE1TkaZaU2liQFObED9QE0M(...)", "type": "contract" }
Operations
Operations