Update a function category
put/functionCategories/{categoryId}
Updates the function category with the provided content.
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": 120}
Name | Type | Required | Description |
---|---|---|---|
categoryId | string | true | The ID of the function category to update. |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | true | The entity tag from the last time the category was retrieved. Examples: "\"kt144a1d\"" |
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}
Name | Type | Required | Description |
---|---|---|---|
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. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The function category was updated. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No resource exists at the requested path. | Schema | |
412 | Precondition Failed | The `If-Match` header did not match the resource's entity tag. | Schema | |
428 | Precondition Required | The request headers did not include the `If-Match` precondition. | Schema |