Endpoints to manage the service settings
Oneshot API (1.0.0)
One-Shot API for single-use certificate electronic signatures. All endpoints are relative to the base path /oneshot/api/v1.
For the public testing environment (sandbox URL, RAO token, prerequisites, and how to use the test Optimizer), see the Get started guide in the One-Shot documentation: Get started with One-Shot.
https://optimizer-developers.uanataca.com/oneshot/api/v1/
The RAO's digital identity password. If not included in this call, must be included in calls that require RAO's credentials
The RAO's digital identity PIN. If not included in this call, must be included in calls that require RAO's credentials
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/token \
-H 'Content-Type: application/json' \
-d '{
"username": "string",
"password": "string",
"pin": "string",
"env": "string"
}'{ "status": "success", "message": "Token created", "details": { "token_uid": "14185cd9-c6ec-30f4-9f59-a844a77bc234" } }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/token/{token_uid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/token/{token_uid}'{ "status": "success", "details": { "username": "2626807", "password": "true", "pin": "true", "rao_id": "1182", "env": "xxx" } }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/token/{token_uid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/token/{token_uid}'{ "status": "success", "message": "Token 0112c943-87a3-4fdf-b12g-d95233e973b5 deleted successfully" }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/tokens
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/tokens{ "status": "success", "detail": { "6d1cae4d55be4cdf9cac50ee36f73406": { … } } }