ODBC guide

Create a ticket using raw JSON


Creates a new ticket by supplying the raw JSON body directly. This example demonstrates using the _rawdoc_ column to pass the full JSON payload for ticket creation.

INSERT INTO Tickets(_rawdoc_) 
VALUES(
  '{
      "subject": "Test ticket #1",    
      "comment": {
        "body": "Test ticket #1"
      },
      "priority": "urgent"
    }'
)