GET Users/GetMetadataEditPermissionsSummary
Returns an object indicating if the current user has Request metadata edit permission, and a list of the datamarts that the user can edit at least 1 requests metadata for.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MetadataEditPermissionsSummaryDTOName | Description | Type | Additional information |
---|---|---|---|
CanEditRequestMetadata |
Gets or sets if the User has granted permissions to be able to edit at least one request within the system. |
boolean |
None. |
EditableDataMarts |
Gets or sets a collection of DataMart IDs the user is able to edit the metadata for at least one route within the system. |
Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "CanEditRequestMetadata": true, "EditableDataMarts": [ "7258ef30-73c9-4210-97d1-abdcc58d5676", "799038fb-7ee2-4890-89ac-09ec7bb78c9f" ] } ] }
text/javascript
Sample:
{"results":[{"CanEditRequestMetadata":true,"EditableDataMarts":["7258ef30-73c9-4210-97d1-abdcc58d5676","799038fb-7ee2-4890-89ac-09ec7bb78c9f"]}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<MetadataEditPermissionsSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <CanEditRequestMetadata>true</CanEditRequestMetadata> <EditableDataMarts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>7258ef30-73c9-4210-97d1-abdcc58d5676</d2p1:guid> <d2p1:guid>799038fb-7ee2-4890-89ac-09ec7bb78c9f</d2p1:guid> </EditableDataMarts> </MetadataEditPermissionsSummaryDTO>