Update a function category

put/functionCategories/{categoryId}
Internal-Use Only

Updates the function category with the provided content.

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}

Path Parameters

NameTypeRequiredDescription
categoryId
string
true

The ID of the function category to update.

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

The entity tag from the last time the category was retrieved.

Examples:
"\"kt144a1d\""

Request Body

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
200OKThe function category was updated.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo resource exists at the requested path.Schema
412Precondition FailedThe `If-Match` header did not match the resource's entity tag.Schema
428Precondition RequiredThe request headers did not include the `If-Match` precondition.Schema