Function: extension.GetOne

Returns a single Extension Object identified by the given id.

Syntax

{
	"method": "extension.GetOne",
	"params": {
		"id": "...",
		"mode": "...",
		"include": "...",
		"select": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
getOne(id: string, mode?: DataMode | undefined, include?: DataMode | undefined): Promise<Extension>;

Parameters

id : guid

The Extension’s id.

mode : DataMode optional

View of the object to return: raw or effective. Default is effective.

include : DataMode optional

Adds the other view to the result; only values that differ are added (under @meta.overlay).

select : string[] optional

List of properties that should be contained in the result object.

Result : Extension

Matching Extension Object.

Errors

Data.NotFound

The requested data was not found or the caller does not have the required permission to access it. For additional information, see Data.NotFound.

Remarks

This method requires API read access.