Get Current Structure By Service Id
Description
Get the current metadata definition structure for a given service.
Package Details
Interface
IMetadataStructureManager
Syntax
Task<MetadataStructure> GetCurrentStructureByServiceId(int serviceId);
Returns
Task<MetadataStructure>
API Endpoint
GET
/api/v1/current-metadata-definition/{serviceId}
Parameters
Parameter | Description | Parameter Type |
---|---|---|
serviceId | Service id to retrieve current metadata definition structure. | Query string |
Returns
On success, 200 OK
On error, 400 Bad Request
On authorization error, 403 Forbidden
Example
Code Block | ||
---|---|---|
| ||
const int serviceId = 11; var structure = await metadataStructureManager.GetCurrentStructureByServiceId(int serviceId); |
...