Versions Compared

Key

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

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

Code Block
languagec#
const int serviceId = 11;
var structures = awat metadataStructureManager.GetAllStructuresByServiceId(serviceId);