GetAllStructuresByServiceId() [MetadataStructureManager]

Get All Structures By Service Id

Description

Get the list of all metadata definition structures for a given service.

Package Details

Interface

IMetadataStructureManager

Syntax

Task<ICollection<MetadataStructure>> GetAllStructuresByServiceId(int serviceId);

Returns

Task<ICollection<MetadataStructure>>

API Endpoint

GET

/api/v1/metadata-definitions/{serviceId}

Parameters

Parameter

Description

Parameter Type

Parameter

Description

Parameter Type

serviceId

Service id to list the metadata definition structures.

Query string

Returns

On success, 200 OK

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

const int serviceId = 11; var structures = awat metadataStructureManager.GetAllStructuresByServiceId(serviceId);