Create problem request

View as Markdown

Authentication

X-Api-Keystring
API Key authentication via header

Headers

X-Workspace-IdstringOptional

Request

This endpoint expects an object.
request_typestringOptional
request_sourceenumOptional
descriptionstringOptional
email_contentstringOptional
plain_text_description_overridestringOptional
Internal-only override for the persisted plain-text rendering of the description. When non-empty, AbstractRequestService persists it as RequestDetail.description instead of running HTMLSanitizerUtil.getPlainText() on the HTML description. Set ONLY by the email ingestion path (EmailIntentBasedRequestCreationService), which derives it from reqDescription via normalizeHtmlToPlainText(getPlainTextForRichHtml(...)) so system-generated HTML emails (BlackLine offboarding, etc.) avoid mashed table cells and blank-line storms. Annotated @JsonIgnore so external HTTP clients cannot set it via the request body — without that annotation, any caller of POST /requests, /service-requests, /incidents could write arbitrary unsanitized text into RequestDetail.description, bypassing the getPlainText() pipeline. The Lombok @SuperBuilder still exposes a setter for in-process Java callers (the email path), since builder access does not go through Jackson.
statusstringOptional
prioritystringOptional
parent_request_idlongOptional
agent_grouplongOptional
assigneelongOptional
subjectstringOptional
noteslist of objectsOptional
workspace_idlongOptional
conversation_infoobjectOptional
tagslist of longsOptional
cc_emailslist of stringsOptional
bcc_emailslist of stringsOptional
attachmentslist of longsOptional
requesterlongOptional
to_emailstringOptional
request_created_fromobjectOptional
custom_fieldsobjectOptional
created_atdatetimeOptional
updated_atdatetimeOptional
external_idstringOptional
external_sourceenumOptional
Allowed values:
resolution_timedatetimeOptional

When the ticket was resolved in the source system. Only accepted during migration (requires external_id or external_source).

first_response_timedatetimeOptional

When the first agent response occurred in the source system. Only accepted during migration (requires external_id or external_source).

first_response_due_timedatetimeOptional

SLA due time for first response from the source system. Only accepted during migration (requires external_id or external_source).

resolution_due_timedatetimeOptional

SLA due time for resolution from the source system. Only accepted during migration (requires external_id or external_source).

closed_status_atdatetimeOptional

When the ticket was moved to closed status in the source system. Only accepted during migration (requires external_id or external_source). When provided with a closed status, also sets resolution_time if not explicitly provided.

item_idlongOptional
item_fieldsobjectOptional
impactstringOptional
urgencystringOptional
categorystringOptional
subcategorystringOptional
assetslist of longsOptional

Response

Successful response