POST /api/v1/customfields
Create a custom field.
-
name
: Name of the custom field type. -
collection
: Constant string, must be set to "users". -
type
: "text" (default) or "date". -
isRestricted
: set totrue
if the custom field should have a fixed list of values. Default:false
. -
authorizedValues
: array of authorized values. Only add ifisRestricted
is set totrue
.- If
type
is "date", values should be of the formatMM/DD/YY
.
- If
Servers
- https://app.360learning.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
company |
String | No |
(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
apiKey |
String | No |
(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
authorizedValues[] |
Array | No | |
name |
String | No | |
collection |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.