Skip to content

UANATACA RA API DOCUMENTATION (v1)

Download OpenAPI description
Languages
Servers

https://api.uanataca.com/

Operations
Operations
Operations
Operations
Operations

Request

Displays information about renewal status of a request

Path
idstringrequired

The response status message

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

Responses

Successful Response

Bodyapplication/json
request_is_renewableboolean

Shows if the request is eligible for renewal

renewal_enabledboolean

Shows if the request has renewal enabled

reasonstring

Detailed reason of the current status

Response
application/json
{ "request_is_renewable": false, "renewal_enabled": false, "reason": "Not yet enabled" }

Request

Checks if the given contact data is already in use.

Body*/*
registration_authoritynumber

Registration authority number where the contact data it's going to be consulted.

serial_numberstring

Serial number to check

emailstring

Email address to check

mobile_phone_numberstring

Mobile phone number to check

curl -i -X POST \
  https://api.uanataca.com/api/v1/requests/check_contact_data_limits/ \
  -H 'Content-Type: */*' \
  -d '[object Object]'

Responses

Successful Response

Body
reasonstring

Response reason

resultstring

Response result

registration_authoritynumber

Registration authority checked

Response
{ "reason": "string", "result": "string", "registration_authority": 0 }

Request

Sends an OTP code via SMS for PIN reset or unlock.

Path
idstringrequired

The unique identifier of the Request

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

Responses

Successful Response

Bodyapplication/json
statusstring

Successful status message

messagenumber

Successful status description

Response
application/json
{ "status": "success", "message": "OTP sent via SMS" }
Operations
Operations