Reference
Orders
GET/api/v1/ordersList orders
Lists orders, newest first, 50 per page, with their one-off and monthly net amounts in cents. Use get_order for one order's quote, period and tasks.scope orders:read
Query
| status | one of active, completed, cancelled[]Statuses to include. Default: all. |
| query | stringWords to find in the order number, customer, the quote's number, title or contact, or a task title. |
| page | integer1-based page of 50 rows. Omit for the first page. |
Response 200
| items[] | object[] |
| items[].id | string |
| items[].number | string |
| items[].title | string | null |
| items[].customer | string |
| items[].status | string |
| items[].one_off_net_cents | integer |
| items[].monthly_net_cents | integer |
| items[].start_date | string | null |
| items[].open_tasks | integer |
| items[].url | string |
| page | integer |
| total | integer |
| has_more | boolean |
Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"customer": {
"type": "string"
},
"status": {
"type": "string"
},
"one_off_net_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"monthly_net_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"start_date": {
"type": [
"string",
"null"
]
},
"open_tasks": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"title",
"customer",
"status",
"one_off_net_cents",
"monthly_net_cents",
"start_date",
"open_tasks",
"url"
],
"additionalProperties": false
}
},
"page": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"has_more": {
"type": "boolean"
}
},
"required": [
"items",
"page",
"total",
"has_more"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/ordersCreate order
Enters an order that never went through a quote -- a running contract -- with its sales contract: a recurring line for the monthly amount, an undated line for the one-off amount, which somebody dates in the billing section. finance.manage only. No onboarding tasks, and nothing is sent.scope orders:write
Body (JSON)
| titlerequired | string |
| companyrequired | stringThe customer's company id, from search_companies: active and a customer. |
| business_unit | stringName or id of a business unit (list_business_units). Default: the default unit. |
| billing_moderequired | one of fixed, time_material |
| start_daterequired | stringYYYY-MM-DD |
| contract_term_monthsrequired | integer |
| one_off_net_cents | integerDefault: 0. |
| monthly_net_cents | integerDefault: 0. |
| comment | string |
Response 200
| id | string |
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
GET/api/v1/orders/{id}Get order
One order: amounts in cents, contract term, delivery period, the quote it came from and its company, its hourly rates per role and who works in which role, the default assignee, the repositories linked to it, its tasks, and the notes kept on the order and on its company.scope orders:read
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
Response 200
| id | string |
| number | string |
| title | string | null |
| customer | string |
| status | string |
| business_unit | string |
| project_type | string | null |
| customer_reference | string | null |
| one_off_net_cents | integer |
| monthly_net_cents | integer |
| contract_value_cents | integer |
| contract_term_months | integer |
| billing_mode | string |
| start_date | string | null |
| delivery_from | string | null |
| delivery_to | string | null |
| comment | string | null |
| quote | object | null |
| quote.id | string |
| quote.number | string |
| quote.title | string |
| quote.contact | string |
| company | object | null |
| company.id | string |
| company.name | string |
| notes[] | object[] |
| notes[].author | string |
| notes[].agentoptional | string |
| notes[].created_at | string |
| notes[].body | string |
| company_notes[] | object[] |
| company_notes[].author | string |
| company_notes[].agentoptional | string |
| company_notes[].created_at | string |
| company_notes[].body | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| tasks[] | object[] |
| tasks[].id | string |
| tasks[].number | string |
| tasks[].title | string |
| tasks[].status | string |
| tasks[].assignee | string | null |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"customer": {
"type": "string"
},
"status": {
"type": "string"
},
"business_unit": {
"type": "string"
},
"project_type": {
"type": [
"string",
"null"
]
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"one_off_net_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"monthly_net_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"contract_value_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"contract_term_months": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"billing_mode": {
"type": "string"
},
"start_date": {
"type": [
"string",
"null"
]
},
"delivery_from": {
"type": [
"string",
"null"
]
},
"delivery_to": {
"type": [
"string",
"null"
]
},
"comment": {
"type": [
"string",
"null"
]
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"title": {
"type": "string"
},
"contact": {
"type": "string"
}
},
"required": [
"id",
"number",
"title",
"contact"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"company": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"agent": {
"type": "string"
},
"created_at": {
"type": "string"
},
"body": {
"type": "string"
}
},
"required": [
"author",
"created_at",
"body"
],
"additionalProperties": false
}
},
"company_notes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"agent": {
"type": "string"
},
"created_at": {
"type": "string"
},
"body": {
"type": "string"
}
},
"required": [
"author",
"created_at",
"body"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"assignee": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"number",
"title",
"status",
"assignee"
],
"additionalProperties": false
}
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"title",
"customer",
"status",
"business_unit",
"project_type",
"customer_reference",
"one_off_net_cents",
"monthly_net_cents",
"contract_value_cents",
"contract_term_months",
"billing_mode",
"start_date",
"delivery_from",
"delivery_to",
"comment",
"quote",
"company",
"notes",
"company_notes",
"default_assignee",
"rates",
"people",
"tasks",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
PATCH/api/v1/orders/{id}Update order
Changes an order's status, the customer's reference or the default assignee; at least one. status (leads.manage): completing or cancelling also ends or cancels its contract, and cancelling cancels the quote it was accepted from -- it bills nothing more. customer_reference (tasks.manage): "" clears it; invoices already drafted keep theirs. default_assignee (tasks.manage): who gets new unassigned tasks on the order -- "me", "none", a user id or e-mail; tasks already there are not touched.scope orders:write
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
Body (JSON)
| status | one of active, completed, cancelled |
| customer_reference | string |
| default_assignee | string |
Response 200
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/orders/{id}/peopleSet order person role
Says which billing role a person works in on this order -- what the time form suggests when they book, not a restriction. role null removes it. tasks.manage only.scope orders:write
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
Body (JSON)
| userrequired | string"me", a user id or e-mail address. |
| rolerequired | string | nullThe billing role's key, or null to remove the person's role. |
Response 200
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/orders/{id}/ratesSet order rate
Puts a billing role on an order, or changes what the order pays for it, by the hour. Without rate_cents the role is added at today's list rate, and one already on the order stays as it is. A rate is agreed per order: the customer's next project is negotiated again. tasks.manage only.scope orders:write
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
Body (JSON)
| rolerequired | stringThe billing role's key, from list_catalog_items or get_order. |
| rate_cents | integer |
Response 200
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
DELETE/api/v1/orders/{id}/rates/{role_id}Remove order rate
Takes a billing role off an order. Bookings in that role can then not be priced: the service report shows them as a gap. tasks.manage only.scope orders:write
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
| role_idrequired | stringThe billing role's key, as get_order lists it. |
Response 200
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/orders/{id}/repositoriesLink repository
Routes the issues of a repository already connected to nxva.base to this order -- all of them, or only those with issue_label. Connecting a new repository stays in the settings. tasks.manage only.scope orders:write
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
Body (JSON)
| repositoryrequired | string"owner/name" or the repository's id. |
| issue_label | stringOnly issues with this label belong to the order. |
Response 200
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
DELETE/api/v1/orders/{id}/repositories/{repository_id}Unlink repository
Stops routing a repository's issues to this order. Its tasks stay, with their booked time. tasks.manage only.scope orders:write
Path
| idrequired | stringThe order's id or number, e.g. "AB-2026-0007". |
| repository_idrequired | string"owner/name" or the repository's id. |
Response 200
| number | string |
| status | string |
| customer_reference | string | null |
| default_assignee | object | null |
| default_assignee.id | string |
| default_assignee.name | string | null |
| rates[] | object[] |
| rates[].role | string |
| rates[].name | string |
| rates[].rate_cents | integer |
| people[] | object[] |
| people[].user | object |
| people[].user.id | string |
| people[].user.name | string | null |
| people[].role | string |
| repositoriesoptional | string[] |
| issue_labelsoptional | object |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"customer_reference": {
"type": [
"string",
"null"
]
},
"default_assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"name": {
"type": "string"
},
"rate_cents": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"role",
"name",
"rate_cents"
],
"additionalProperties": false
}
},
"people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"required": [
"user",
"role"
],
"additionalProperties": false
}
},
"repositories": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_labels": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"customer_reference",
"default_assignee",
"rates",
"people",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.