Versions Compared

Key

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

Anchor
Top
Top

Resource Types can be accessed through this API using GET. This service retrieves information about resource types.

Info
titleBase URL for Environment Resource Types REST API

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

Table of Contents
maxLevel1

Back to Top

...

GET

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 equal 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.

name={name}

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?name={name}

...

Tip

The query parameters are not case sensitive. Searching by name=EXAMPLE is the same as searching by name=example.

Parameters


Parameter

Type

Required

Description

NameURLNoThis is a URL query parameter for the name which is used to search the resource types.


Example

If we had a resource types in our database with the following attributes

...

Code Block
themeEclipse
titleResource Type
[
{
	"resourceTypeName": "EBS Forms Service",
	"resourceTypeId": 19182,
	"isActive": true,
	"description": null
}
]


Back to Top

...