Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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

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);
  • No labels