curl --request POST \
--url https://web.edcontrols.com/api/v2/data/tickets/{database} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content": {
"title": "<string>",
"body": "<string>"
},
"participants": {
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"assignees": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"support": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
]
},
"plan": {
"dueDate": "2026-07-01T00:00:00Z"
},
"tags": [
"<string>"
],
"map": "<string>",
"groupId": "<string>",
"location": {
"x": 69.85,
"y": 136.44,
"zoom": 2,
"latitude": 123,
"longitude": 123
}
}
'import requests
url = "https://web.edcontrols.com/api/v2/data/tickets/{database}"
payload = {
"content": {
"title": "<string>",
"body": "<string>"
},
"participants": {
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
],
"assignees": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
],
"support": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
]
},
"plan": { "dueDate": "2026-07-01T00:00:00Z" },
"tags": ["<string>"],
"map": "<string>",
"groupId": "<string>",
"location": {
"x": 69.85,
"y": 136.44,
"zoom": 2,
"latitude": 123,
"longitude": 123
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content: {title: '<string>', body: JSON.stringify('<string>')},
participants: {
consulted: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
],
informed: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
],
assignees: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
],
support: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
]
},
plan: {dueDate: '2026-07-01T00:00:00Z'},
tags: ['<string>'],
map: '<string>',
groupId: '<string>',
location: {x: 69.85, y: 136.44, zoom: 2, latitude: 123, longitude: 123}
})
};
fetch('https://web.edcontrols.com/api/v2/data/tickets/{database}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/tickets/{database}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'content' => [
'title' => '<string>',
'body' => '<string>'
],
'participants' => [
'consulted' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
],
'informed' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
],
'assignees' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
],
'support' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
]
],
'plan' => [
'dueDate' => '2026-07-01T00:00:00Z'
],
'tags' => [
'<string>'
],
'map' => '<string>',
'groupId' => '<string>',
'location' => [
'x' => 69.85,
'y' => 136.44,
'zoom' => 2,
'latitude' => 123,
'longitude' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/tickets/{database}"
payload := strings.NewReader("{\n \"content\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\"\n },\n \"participants\": {\n \"consulted\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"informed\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"assignees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"support\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ]\n },\n \"plan\": {\n \"dueDate\": \"2026-07-01T00:00:00Z\"\n },\n \"tags\": [\n \"<string>\"\n ],\n \"map\": \"<string>\",\n \"groupId\": \"<string>\",\n \"location\": {\n \"x\": 69.85,\n \"y\": 136.44,\n \"zoom\": 2,\n \"latitude\": 123,\n \"longitude\": 123\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://web.edcontrols.com/api/v2/data/tickets/{database}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\"\n },\n \"participants\": {\n \"consulted\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"informed\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"assignees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"support\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ]\n },\n \"plan\": {\n \"dueDate\": \"2026-07-01T00:00:00Z\"\n },\n \"tags\": [\n \"<string>\"\n ],\n \"map\": \"<string>\",\n \"groupId\": \"<string>\",\n \"location\": {\n \"x\": 69.85,\n \"y\": 136.44,\n \"zoom\": 2,\n \"latitude\": 123,\n \"longitude\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/tickets/{database}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\"\n },\n \"participants\": {\n \"consulted\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"informed\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"assignees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"support\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ]\n },\n \"plan\": {\n \"dueDate\": \"2026-07-01T00:00:00Z\"\n },\n \"tags\": [\n \"<string>\"\n ],\n \"map\": \"<string>\",\n \"groupId\": \"<string>\",\n \"location\": {\n \"x\": 69.85,\n \"y\": 136.44,\n \"zoom\": 2,\n \"latitude\": 123,\n \"longitude\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"_rev": "<string>",
"project": "<string>",
"groupId": "<string>",
"map": "<string>",
"archived": "<string>",
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z"
},
"content": {
"title": "<string>",
"body": "<string>",
"author": {
"email": "jsmith@example.com",
"type": "<string>"
},
"attachments": [
{}
]
},
"state": {
"state": "completed"
},
"plan": {
"dueDate": "2023-11-07T05:31:56Z"
},
"location": {
"x": 70.37382900555563,
"y": 135.8290570591101,
"zoom": 3,
"latitude": 123,
"longitude": 123,
"rev": "<string>",
"type": "IB.EdBundle.Document.Location"
},
"participants": {
"responsible": {
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
},
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
]
},
"audits": [
{}
],
"comments": [
{
"note": "Re-inspected: the crack has not moved.",
"author": "inspector@example.com",
"time": "2026-09-09T13:04:12.652Z",
"public": true,
"attachments": [],
"allowedUsers": []
}
],
"customFields": [
{
"id": "3f0c2a1e-5b7d-4c8e-9a10-2d4e6f8a0b1c",
"label": "Element type",
"type": "freetext",
"value": "<string>",
"richOptions": [
{
"id": "O1",
"text": "<p>Fire door with closer</p>",
"type": "textselect",
"image": "<string>"
}
]
}
]
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Create a ticket
Creates a ticket in a project. Only content.title is required; the server
fills the defaults (state.state=created, author = the token user, visible,
and no archived field — the ticket is born active).
When map placement is omitted the ticket is pinned to the project geo map,
which is created on demand if the project does not have one yet. To pin the
ticket to a real drawing, pass map plus a location — see
Place a ticket on a drawing.
The created ticket has no attachments: content.attachments is cleared. A
photo can be added afterwards with PUT /tickets/{database}/{ticketId}/uploadAttachment,
which attaches it as a comment attachment. A map
snapshot cannot be added at all, so a ticket created
here has none until someone moves its pin in the app.
Authorization is evaluated before the request body. A caller without a
qualifying role on the project receives 403 whatever the body contains.
The body is validated before anything is written. A well-formed JSON object
that violates a field constraint is rejected with 422 and an
application/problem+json body whose detail names the offending field, for
example participants.informed[0] must be an object with an 'email' field, not a string. A body that is not a JSON object at all is rejected with 400.
Participant addresses are stored as-is and are not checked against project membership: a typo creates an assignment that reaches nobody.
Requires the service account to be Accountable or Support on the project, or a reporter on the drawing the ticket is placed on.
curl --request POST \
--url https://web.edcontrols.com/api/v2/data/tickets/{database} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content": {
"title": "<string>",
"body": "<string>"
},
"participants": {
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"assignees": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"support": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
]
},
"plan": {
"dueDate": "2026-07-01T00:00:00Z"
},
"tags": [
"<string>"
],
"map": "<string>",
"groupId": "<string>",
"location": {
"x": 69.85,
"y": 136.44,
"zoom": 2,
"latitude": 123,
"longitude": 123
}
}
'import requests
url = "https://web.edcontrols.com/api/v2/data/tickets/{database}"
payload = {
"content": {
"title": "<string>",
"body": "<string>"
},
"participants": {
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
],
"assignees": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
],
"support": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": True
}
]
},
"plan": { "dueDate": "2026-07-01T00:00:00Z" },
"tags": ["<string>"],
"map": "<string>",
"groupId": "<string>",
"location": {
"x": 69.85,
"y": 136.44,
"zoom": 2,
"latitude": 123,
"longitude": 123
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content: {title: '<string>', body: JSON.stringify('<string>')},
participants: {
consulted: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
],
informed: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
],
assignees: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
],
support: [
{
email: 'jsmith@example.com',
type: 'IB.EdBundle.Document.Person',
watchChanges: true
}
]
},
plan: {dueDate: '2026-07-01T00:00:00Z'},
tags: ['<string>'],
map: '<string>',
groupId: '<string>',
location: {x: 69.85, y: 136.44, zoom: 2, latitude: 123, longitude: 123}
})
};
fetch('https://web.edcontrols.com/api/v2/data/tickets/{database}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/tickets/{database}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'content' => [
'title' => '<string>',
'body' => '<string>'
],
'participants' => [
'consulted' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
],
'informed' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
],
'assignees' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
],
'support' => [
[
'email' => 'jsmith@example.com',
'type' => 'IB.EdBundle.Document.Person',
'watchChanges' => true
]
]
],
'plan' => [
'dueDate' => '2026-07-01T00:00:00Z'
],
'tags' => [
'<string>'
],
'map' => '<string>',
'groupId' => '<string>',
'location' => [
'x' => 69.85,
'y' => 136.44,
'zoom' => 2,
'latitude' => 123,
'longitude' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/tickets/{database}"
payload := strings.NewReader("{\n \"content\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\"\n },\n \"participants\": {\n \"consulted\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"informed\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"assignees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"support\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ]\n },\n \"plan\": {\n \"dueDate\": \"2026-07-01T00:00:00Z\"\n },\n \"tags\": [\n \"<string>\"\n ],\n \"map\": \"<string>\",\n \"groupId\": \"<string>\",\n \"location\": {\n \"x\": 69.85,\n \"y\": 136.44,\n \"zoom\": 2,\n \"latitude\": 123,\n \"longitude\": 123\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://web.edcontrols.com/api/v2/data/tickets/{database}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\"\n },\n \"participants\": {\n \"consulted\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"informed\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"assignees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"support\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ]\n },\n \"plan\": {\n \"dueDate\": \"2026-07-01T00:00:00Z\"\n },\n \"tags\": [\n \"<string>\"\n ],\n \"map\": \"<string>\",\n \"groupId\": \"<string>\",\n \"location\": {\n \"x\": 69.85,\n \"y\": 136.44,\n \"zoom\": 2,\n \"latitude\": 123,\n \"longitude\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/tickets/{database}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\"\n },\n \"participants\": {\n \"consulted\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"informed\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"assignees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ],\n \"support\": [\n {\n \"email\": \"jsmith@example.com\",\n \"type\": \"IB.EdBundle.Document.Person\",\n \"watchChanges\": true\n }\n ]\n },\n \"plan\": {\n \"dueDate\": \"2026-07-01T00:00:00Z\"\n },\n \"tags\": [\n \"<string>\"\n ],\n \"map\": \"<string>\",\n \"groupId\": \"<string>\",\n \"location\": {\n \"x\": 69.85,\n \"y\": 136.44,\n \"zoom\": 2,\n \"latitude\": 123,\n \"longitude\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"_rev": "<string>",
"project": "<string>",
"groupId": "<string>",
"map": "<string>",
"archived": "<string>",
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z"
},
"content": {
"title": "<string>",
"body": "<string>",
"author": {
"email": "jsmith@example.com",
"type": "<string>"
},
"attachments": [
{}
]
},
"state": {
"state": "completed"
},
"plan": {
"dueDate": "2023-11-07T05:31:56Z"
},
"location": {
"x": 70.37382900555563,
"y": 135.8290570591101,
"zoom": 3,
"latitude": 123,
"longitude": 123,
"rev": "<string>",
"type": "IB.EdBundle.Document.Location"
},
"participants": {
"responsible": {
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
},
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
]
},
"audits": [
{}
],
"comments": [
{
"note": "Re-inspected: the crack has not moved.",
"author": "inspector@example.com",
"time": "2026-09-09T13:04:12.652Z",
"public": true,
"attachments": [],
"allowedUsers": []
}
],
"customFields": [
{
"id": "3f0c2a1e-5b7d-4c8e-9a10-2d4e6f8a0b1c",
"label": "Element type",
"type": "freetext",
"value": "<string>",
"richOptions": [
{
"id": "O1",
"text": "<p>Fire door with closer</p>",
"type": "textselect",
"image": "<string>"
}
]
}
]
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Authorizations
Path Parameters
Body
Optional. An object keyed by participant role. Every participant is an
object carrying a required email — never a bare email string. Each role
accepts a single participant object or an array of them, so
{"email": "pm@example.com"} and [{"email": "pm@example.com"}] are
equivalent; the properties below show the conventional form per role.
The accepted roles are exactly those listed below. Any other key is rejected
with 422, as is a participant without an email.
Addresses are stored as-is and are not validated against project membership.
Show child attributes
Show child attributes
Optional placement coordinates on the target map. Ignored — and not
validated — when map is omitted, because the ticket then takes the geo map's
default position (52.396734, 4.848101, zoom: 18). Every coordinate must
be a number, or the request is rejected with 422.
x and y are pixel coordinates in the zoom-0 tile plane of the target
drawing: origin top-left, y downwards, running to renderinfo.width / 64
and renderinfo.height / 64 (read renderinfo from
GET /api/v2/data/maps/{database}/{id}). They are not range-checked — a
value past the edge puts the marker in the padding beside the page. See
Place a ticket on a drawing for how to
derive them.
Anything you omit is defaulted: x and y to 0, zoom to 18,
type to IB.EdBundle.Document.Location.
Show child attributes
Show child attributes
Response
The created ticket document.
Position on the map. On a drawing, x/y are pixel coordinates in the
zoom-0 tile plane — origin top-left, y downwards, running to
renderinfo.width / 64 and renderinfo.height / 64 of the target map.
latitude/longitude hold the GPS position of the phone the ticket was
made on, written by the mobile apps when location services were on at that
moment, and 0 otherwise — for a GIS, read these, not x/y. On the geo
map the coordinates are geographic. See
Place a ticket on a drawing.
Show child attributes
Show child attributes
The values filled in for the project's custom fields (Expert plan, at
most three per project; defined in the project's customFields).
Each entry repeats the field's definition (id, label, type and,
for a choice field, richOptions) and adds the ticket's value.
Absent, null or an empty array when no field was filled in; a field
that was left empty has no value (or null).
Read-only through this API: POST /tickets/{database} and PATCH
ignore it. See Read custom field values.
Show child attributes
Show child attributes
