Create a Request
Introduction
Please note that: theauthor_uid should be the same as requested_by_uid OR reference a User with an admin role
Custom forms
When submittingcustom_form_inputs[], you can use arbitrary forms and native forms
You can actually send a mix of Arbitrary and Native forms as long as the native form are valid.
An example payload would be:
files at the moment via the public API.
Arbitrary forms
You can submit arbitrary values by sendingcustom_form_inputs[] items with the format
Native forms
Native custom forms are always scoped by Service object. If you submit at least one native form, then the whole custom form validation logic will run (e.g if you have a field that is required and missing on the payload, it will fail the creation of the request). So the flow to use them is to:- retrieve the custom forms from the target you’re planning on submitting
GET https://api.siit.io/v1/services/wa_xxxxendpoint (custom_form_input_configuration[]) - add the
custom_form_inputs[]to your request creation payload
Usage
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The title as markdown. Takes precedence over title when both are provided.
employee_portal, slack, mail, ms_teams can be different from the author UID (e.g Admin submitting on behalf)
please use "title_markdown" instead
please use "description_markdown" instead
The description as markdown. Takes precedence over description when both are provided.
must be equal to requester UID or reference an admin user. Defaults to the token owner when omitted.
can be provided along submitted_from=slack to link directly to a specific message. Note that if bot has a specific public request configuration for the channel then the request mode will be "public".
open, in_progress, waiting, resolved, archived low, medium, high, urgent An optional array containing data attached to the request. Each item must include either "uid" (native input) or "label" (arbitrary input), plus "value".
A custom form input item for request creation. Either "label" (arbitrary input) or "uid" (native input from service configuration) must be provided.
- Arbitrary input (by label)
- Native input (by uid)
Response
Request created

