Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
Top
Top

...

Table of Contents
maxLevel2

Each function returns a JSON resource type object. The resource type object has these attributes:

AttributesTypeDescription
descriptionStringThe description of the resource type.
resourceTypeIdLongThe unique Id of the resource type.
resourceTypeNameStringThe unique name of the resource type.
isActiveBooleanThe boolean representing whether the resource type is active.

Back to Top

...

GET

GET by ID

This GET service will find a resource type with the given Id and return the JSON representation of the object. 

...

GET (Using Query Parameters)

This GET service will return a list of resource types in the form of JSON objects based on a query parameter for the display name. Resource Types are only returned if they contain the specified parameter. If no query parameters are given this request will return the entire list of resource types.

Info
titleAPI URLs

http://host:port/flexdeploy/rest/administration/resourcetypes?

Append the following character sequences to the above URL to specify Query parameters.

resourceTypeName={resourceTypeName}

Examples:
To return all of the resource types:

http://host:port/flexdeploy/rest/administration/resourcetypes

To search by name only:

http://host:port/flexdeploy/rest/administration/resourcetypes?resourceTypeName={resourceTypeName}

...

Back to Top

...

PATCH

This PATCH service will update an existing resource type with the information passed through a JSON object. If an attribute of the JSON is null it will not be updated in the resource type.

Info
titleAPI URL

http://host:port/flexdeploy/administration/resourcetypes/{Id}

...