- Introduction
- Document Management
- External Integration
- Authentication
- Invoice-to-Pay
- Documents Manager
- External System Integration
- Upload Document
- Tax Reform
- Data Integration
- External System Integration
Update integration status
HOM
HOM
POST
/ibs-core-entrypoint/api/v1/entrypoint/requests/status
Entrypoint
Request
Header Params
Authorization
string
required
Body Params application/json
status
enum<string>
required
Allowed values:
PROCESSINGRECEIVEDPENDINGERRORDONEWARNING
Example:
DONE
reference
string
required
Example:
abcd1234-ef56-gh78-ij90-klmnopqrstuv
message
string
required
Example:
Document was successfully processed
requestId
string
required
Example:
1234a5b6-cd78-9012-3456-789e012345fg
integrationId
string
required
Example:
9876c5d4-ba32-1098-7654-321f98765432
entryReference
number
optional
Example:
1234567890
entryDate
string
optional
Example:
2024-01-01T01:01:01.000Z
systemInfo
object
optional
Default:
{}
Example:
{"system":"ROIT ADMIN","version":"1.0.0","host":"localhost","port":3000}
metadata
object
optional
Default:
{}
Example:
{"customField":"customValue"}
Examples
{
"status": "DONE",
"reference": "abcd1234-ef56-gh78-ij90-klmnopqrstuv",
"message": "Document was successfully processed",
"requestId": "1234a5b6-cd78-9012-3456-789e012345fg",
"integrationId": "9876c5d4-ba32-1098-7654-321f98765432",
"entryReference": 1234567890,
"entryDate": "2024-01-01T01:01:01.000Z",
"systemInfo": {
"system": "ROIT ADMIN",
"version": "1.0.0",
"host": "localhost",
"port": 3000
},
"metadata": {
"customField": "customValue"
}
}
Request 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
curl --location --request POST 'https://hom.roit.ai/ibs-core-entrypoint/api/v1/entrypoint/requests/status' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"status": "DONE",
"reference": "abcd1234-ef56-gh78-ij90-klmnopqrstuv",
"message": "Document was successfully processed",
"requestId": "1234a5b6-cd78-9012-3456-789e012345fg",
"integrationId": "9876c5d4-ba32-1098-7654-321f98765432",
"entryReference": 1234567890,
"entryDate": "2024-01-01T01:01:01.000Z",
"systemInfo": {
"system": "ROIT ADMIN",
"version": "1.0.0",
"host": "localhost",
"port": 3000
},
"metadata": {
"customField": "customValue"
}
}'
Responses
🟢201Created
application/json
Body
timestamp
number
optional
status
string
optional
message
string
optional
data
object (UpdateStatusResponseDto)
optional
id
string
optional
Example:
550e8400-e29b-41d4-a716-446655440000
entity
enum<string>
required
Allowed values:
DOCUMENTACCOUNTS_PAYABLEPURCHASE_ORDERERP_PARAMSSUPPLIERGENERICTAX_VALIDATIONDOCUMENT_REVERSESERVICE_ENTRY_SHEET
Example:
DOCUMENT
masterId
string
required
Example:
MASTER001
requestId
string
required
Example:
REQ123456
reference
string
required
Example:
REF123456
integrationId
string
required
Example:
INT001
type
string
required
Example:
NFE
status
enum<string>
required
Allowed values:
PROCESSINGRECEIVEDPENDINGERRORDONEWARNING
Example:
DONE
isPriority
boolean
optional
Example:
false
retryAfter
number
required
Example:
0
message
string
optional
Example:
Documento processado com sucesso
metadata
object
optional
Example:
{"processId":"PROC123","priority":true,"retryCount":0}
entryReference
number
optional
Example:
123456
entryDate
string
optional
Example:
2024-03-28T10:00:00Z
systemInfo
object
optional
Example:
{"programVersion":"1.0.0"}
Example
{
"timestamp": 0,
"status": "string",
"message": "string",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"entity": "DOCUMENT",
"masterId": "MASTER001",
"requestId": "REQ123456",
"reference": "REF123456",
"integrationId": "INT001",
"type": "NFE",
"status": "PROCESSING",
"isPriority": false,
"retryAfter": 0,
"message": "Documento processado com sucesso",
"metadata": {
"processId": "PROC123",
"priority": true,
"retryCount": 0
},
"entryReference": 123456,
"entryDate": "2024-03-28T10:00:00Z",
"systemInfo": {
"programVersion": "1.0.0"
}
}
}
🟠400Bad Request
🟠403Forbidden
Modified at 2025-04-25 12:29:14