Risk Register
Create Risk
Create new risk for a entity(vendor) with given name. Allows to update the field which are define custom during cofiguration.
Body:
{
"name": "string",
"entity": "string",
"owner": "string"
"<column slug for custom field>":"value for custom vield"
}
Documentation for Item Types
Below are the format based on column types which are supposed to be sent as value
- Text
- Description: Handles plain textual data.
- Input Example: "Hello, World!"
- RichText
- Description: Manages text with rich text formatting elements.
- Input Example: "Hello, World!"
- DateInterval (DATEDELTA)
- Description: Represents an interval of dates.Intervals allowed: "month", "week", "day", "year" and "hour".
- Input Example: {"size": 10, "interval": "day"}
- Date
- Description: Manages a single date value. input as %Y-%m-%d format, output as ISO 8601 format
- Input Example: "2023-01-01"
- SingleSelect
- Description: Handles the selection of a single option from a set of choices.Please take a look at args for 'item' of type SingleSelect, Input is the key of the option to be selected, output is the value of the option selected.
- Input Example: 2
- Binary
- Description: Manages binary values, typically representing true or false.
- Input Example: True
- MultiSelect
- Description: Handles the selection of multiple options from a list.Please take a look at args for 'item' of type MultiSelect.Input is the list of keys of the options to be selected, output is the list of values of the options selected.
- Input Example: [0, 2]
- Phone
- Description: Processes phone number data.
- Input Example: "+1-123-456-7890"
- Description: Manages email address information.
- Input Example: "user@example.com"
- User
- Description: Validates and saves expent user-related data. Input is the array of user ids.
- Input Example: [76]
- Team
- Description: Validates and saves expent team-related data. Input is the array of team ids.
- Input Example: [33] [Team Id]
- Number
- Description: Manages numerical values.
- Input Example: 42
- File
- Description: Processes file data.
- Input Example: {"filename": "document.txt", "filetype": "txt", "url": "http://example.com/document.txt"}
- Url
- Description: Manages web URLs.
- Input Example: "http://example.com"
- Currency
- Description: Processes currency data.
- Input Example: {"amount": 100, "currency": "USD"}
post/v2/risk/register
Request
- Base URLhttps://api.expent.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
authorizationstring required
The authorization token can be retrieved by calling the OAuth authentication API. The value for this header parameter follows the format "Bearer access_token" (excluding the quotes). For example: <br /> Bearer MZA1YJMYZDKTZTFMMI0ZYZG1LTLMMDGTYTG4NJG2YZC3NJGY
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.