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": [ "12d0d51b-6398-4735-b937-7c166973d2b8", "11a2a3d7-30d4-4fe3-a4b3-7f3dd5ec4695" ] } ] }
text/javascript
Sample:
{"results":[{"CanEditRequestMetadata":true,"EditableDataMarts":["12d0d51b-6398-4735-b937-7c166973d2b8","11a2a3d7-30d4-4fe3-a4b3-7f3dd5ec4695"]}]}
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>12d0d51b-6398-4735-b937-7c166973d2b8</d2p1:guid> <d2p1:guid>11a2a3d7-30d4-4fe3-a4b3-7f3dd5ec4695</d2p1:guid> </EditableDataMarts> </MetadataEditPermissionsSummaryDTO>