Monitor API availability and service status. Use these endpoints to verify connectivity and check if the API is operational.
API References
/- Upsert usage records for contract obligations
List Contracts
Create Contract
Get Contract
List usage records for a contract
Upsert usage records for...
DualEntry Public API (1.0.0)
Download OpenAPI description
Languages
Servers
Production environment
https://api.dualentry.com
Development environment (for testing)
https://api-dev.dualentry.com
- Production environmenthttps://api.dualentry.com/public/v1/contracts/{contract_id}/usage/
- Development environment (for testing)https://api-dev.dualentry.com/public/v1/contracts/{contract_id}/usage/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.dualentry.com/public/v1/contracts/{contract_id}/usage/'Response
application/json
[ { "id": 0, "contract_id": 0, "obligation_id": 0, "usage_date": "2019-08-24", "quantity": "string", "rate": "string", "amount": "string", "effective_rate": "string", "revenue_recognition_id": 0, "status": "draft", "invoice_status": "string", "memo": "", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]
- Production environmenthttps://api.dualentry.com/public/v1/contracts/{contract_id}/usage/bulk-upsert/
- Development environment (for testing)https://api-dev.dualentry.com/public/v1/contracts/{contract_id}/usage/bulk-upsert/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.dualentry.com/public/v1/contracts/{contract_id}/usage/bulk-upsert/' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"id": 0,
"obligation_id": 0,
"usage_date": "2019-08-24",
"quantity": 0,
"rate": 0,
"status": "draft"
}
]
}'Response
application/json
[ { "id": 0, "contract_id": 0, "obligation_id": 0, "usage_date": "2019-08-24", "quantity": "string", "rate": "string", "amount": "string", "effective_rate": "string", "revenue_recognition_id": 0, "status": "draft", "invoice_status": "string", "memo": "", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]