PUBLIC SERVICES [PROD]
  1. Data Integration
PUBLIC SERVICES [PROD]
  • Introduction
  • Document Management
  • External Integration
  • Authentication
    • Generate a token to access ROIT APIs
      POST
  • Invoice-to-Pay
    • Documents Manager
      • Create document export request
      • Get export request by id
      • Delete export request by id
      • Generate signed URLs for export files by id
    • External System Integration
      • Get pending entities to be integrated
      • Register delivery integration
      • Update integration status
      • Get all documents attached to a request
      • Reprocess a specific request
    • Upload Document
      • Upload document as base64
  • Tax Reform
    • Data Integration
      • Create a new request
        GET
      • Update request status
        POST
      • Generate signed URL
        POST
      • Audit storage
        POST
      • Audit bigquery
        POST
  1. Data Integration

Update request status

HOM
https://hom.roit.ai
HOM
https://hom.roit.ai
POST
/roit-data-integration/v1/requests/update
Updates the status of an existing request

Request

Header Params

Body Params application/json

Example
{
    "processUniqueId": "string",
    "processStatus": "PENDING",
    "callbackUrl": "string",
    "callbackAuthToken": "string",
    "operationType": "string",
    "documentType": "ECF",
    "dataBaseDest": {
        "secret": "string",
        "tables": [
            {
                "name": "string",
                "dataset": "string",
                "metadata": {}
            }
        ]
    },
    "nationalRegister": "string",
    "metadata": {},
    "audit": {}
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://hom.roit.ai/roit-data-integration/v1/requests/update' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "processUniqueId": "string",
    "processStatus": "PENDING",
    "callbackUrl": "string",
    "callbackAuthToken": "string",
    "operationType": "string",
    "documentType": "ECF",
    "dataBaseDest": {
        "secret": "string",
        "tables": [
            {
                "name": "string",
                "dataset": "string",
                "metadata": {}
            }
        ]
    },
    "nationalRegister": "string",
    "metadata": {},
    "audit": {}
}'

Responses

🟢200OK
application/json
Request status updated successfully
Body

Example
{
    "status": "success",
    "message": "Request status updated successfully",
    "data": {
        "processUniqueId": "bb0c892a-9695-414d-966b-c3cd66959067",
        "createdAt": "2024-01-15T10:30:00Z",
        "updatedAt": "2024-01-15T11:00:00Z"
    }
}
🟠400Bad Request
🔴500Server Error
Modified at 2025-08-04 17:31:00
Previous
Create a new request
Next
Generate signed URL
Built with