GET
/
queued_requests
/
{requestId}
Get queued request by ID
curl --request GET \
  --url https://qubesync.com/api/v1/queued_requests/{requestId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "state": "response_received",
    "webhook_state": "succeeded",
    "request_xml": "<QBXML><QBXMLMsgsRq onError='stopOnError'><CustomerQueryRq requestID='1'><MaxReturned>1</MaxReturned></CustomerQueryRq></QBXMLMsgsRq></QBXML>",
    "response_xml": "<QBXML><QBXMLMsgsRs statusCode='0' statusSeverity='Info' statusMessage='Status OK'><CustomerQueryRs requestID='1' statusCode='0' statusSeverity='Info' statusMessage='Status OK'><CustomerRet><ListID>80000001-1234567890</ListID><Name>Sample Customer</Name></CustomerRet></CustomerQueryRs></QBXMLMsgsRs></QBXML>",
    "webhook_url": "https://example.com/webhooks/quickbooks/status",
    "webhook_attempts": [
      {
        "attempted_at": "2023-01-01T12:00:05Z",
        "response": "success"
      }
    ],
    "links": {
      "self": "/api/v1/queued_requests/550e8400-e29b-41d4-a716-446655440000",
      "ui": "/app/queued_requests/550e8400-e29b-41d4-a716-446655440000",
      "connection_ui": "/app/connections/123e4567-e89b-12d3-a456-426614174000"
    },
    "inserted_at": "2023-01-01T12:00:00Z",
    "updated_at": "2023-01-01T12:00:05Z",
    "completed_at": "2023-01-01T12:00:05Z"
  }
}

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Path Parameters

requestId
string<uuid>
required

The unique identifier of the queued request

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

200
application/json

Queued request found and returned successfully

The response is of type object.