SLnet.WebExtApi

<back to all web services

DefaultViewMetadata

The following routes are available for this service:
GET/api/{DomainName}/entities/{EntityAlias}/metadataRetrieves the metadata for the given custom view

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/DefaultViewMetadata HTTP/1.1 
Host: drt-racing.gr 
Content-Type: application/json
Content-Length: length

{"EntityAlias":"String","DomainName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"RelativeViews":[{"Title":"String","Description":"String","Name":"String","Uri":"String"}],"CustomViews":[{"Title":"String","Description":"String","Name":"String","Uri":"String"}],"DynamicViews":[{"Name":"String","Uri":"String"}],"CurrentUserBrowserView":{"Title":"String","Description":"String","Name":"String","Uri":"String"},"Fields":[{"DecimalsProvider":"String","Name":"String","DataType":"String","AcceptedValues":{"AcceptedValuesList":"String","DisplayField1":"String","DisplayField2":"String","KeyField":"String","IndexField":"String","ParentField":"String","SortFields":[{"Name":"String","Direction":"String"}],"LookupData":[{"String":{}}],"DisplayInfo":{"AutoSizeColumns":false,"Columns":[{"Name":"String","Description":"String","Width":0}]}},"Description":"String","Width":0,"Editor":"String","Visible":false}],"Filters":[{"Name":"String","Description":"String","FieldName":"String","LinkName":"String","Kind":"String","DisplayAs":"String","Behaviour":"String","Operators":{"From":"String","To":"String","Value":"String"},"Required":false,"Visible":false,"Enable":false,"Hidden":false,"DataType":"String","PredefinedValues":{"From":{},"To":{},"Value":{}},"AcceptedValues":{"AcceptedValuesList":"String","DisplayField1":"String","DisplayField2":"String","KeyField":"String","IndexField":"String","ParentField":"String","SortFields":[{"Name":"String","Direction":"String"}],"LookupData":[{"String":{}}],"DisplayInfo":{"AutoSizeColumns":false,"Columns":[{"Name":"String","Description":"String","Width":0}]}},"AllowedOperators":["String"],"UseRange":false,"AllowNullState":false}],"IdentityField":"String","SortBy":[{"Expression":"String","Default":false}],"Title":"String","Description":"String","Name":"String","Uri":"String"}