Create a function category

post/functionCategories
Internal-Use Only

Creates a new function category.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2020-06-01T15:38:30.988Z",
3 "modifiedTimeStamp": "2020-06-01T15:38:30.988Z",
4 "createdBy": "edmdev",
5 "modifiedBy": "edmdev",
6 "id": "4f4bf2a3-5eaa-4899-b238-0e3ebd21ef68",
7 "name": "statistical_functions",
8 "description": "Functions used to calculate various statistics.",
9 "hidden": true,
10 "links": [
11 {
12 "method": "GET",
13 "rel": "self",
14 "href": "/businessRules/functionCategories/4f4bf2a3-5eaa-4899-b238-0e3ebd21ef68",
15 "uri": "/businessRules/functionCategories/4f4bf2a3-5eaa-4899-b238-0e3ebd21ef68",
16 "type": "application/vnd.sas.business.rule.function.category"
17 }
18 ],
19 "version": 1
20}

Request Body

Properties of the function category to create.

A named group to hold a related set of functions.

Example:
{"creationTimeStamp":"2020-06-01T15:38:30.988Z","modifiedTimeStamp":"2020-06-01T15:38:30.988Z","createdBy":"edmdev","modifiedBy":"edmdev","id":"4f4bf2a3-5eaa-4899-b238-0e3ebd21ef68","name":"statistical_functions","description":"Functions used to calculate various statistics.","hidden":true,"links":[{"method":"GET","rel":"self","href":"/businessRules/functionCategories/4f4bf2a3-5eaa-4899-b238-0e3ebd21ef68","uri":"/businessRules/functionCategories/4f4bf2a3-5eaa-4899-b238-0e3ebd21ef68","type":"application/vnd.sas.business.rule.function.category"}],"version":1}
NameTypeRequiredDescription
id
string
false

The system-assigned unique ID for this object.

name
string
true

A unique name for the category.

description
string
false

A description of the category.

hidden
boolean
false

A boolean indicating if the function category is hidden or not.

createdBy
string
false

The user who created the category.

creationTimeStamp
string<date-time>
false

The data and time at which the category was created.

modifiedBy
string
false

The user who made the last modification to the category.

modifiedTimeStamp
string<date-time>
false

The date and time at which the category was last modified.

links
array [Link]
false

Zero or more links to related resources or operations.

version
integer
false

This media type's schema version number. This representation is version 1.

Responses

StatusMeaningDescription
201CreatedA function category was created.HeadersSchema
400Bad RequestThe request was invalid.Schema