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 .xml suffix or ?format=xml

HTTP + XML

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

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

<DefaultViewMetadata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.WebAPI.Api">
  <DomainName>String</DomainName>
  <EntityAlias>String</EntityAlias>
</DefaultViewMetadata>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ViewsLinkResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.Common">
  <Name>String</Name>
  <Uri>String</Uri>
  <Description>String</Description>
  <Title>String</Title>
  <CurrentUserBrowserView>
    <Name>String</Name>
    <Uri>String</Uri>
    <Description>String</Description>
    <Title>String</Title>
  </CurrentUserBrowserView>
  <CustomViews>
    <BaseViewLinkResource>
      <Name>String</Name>
      <Uri>String</Uri>
      <Description>String</Description>
      <Title>String</Title>
    </BaseViewLinkResource>
  </CustomViews>
  <DynamicViews>
    <LinkResource>
      <Name>String</Name>
      <Uri>String</Uri>
    </LinkResource>
  </DynamicViews>
  <Fields>
    <ViewField>
      <AcceptedValues>
        <AcceptedValuesList>String</AcceptedValuesList>
        <DisplayField1>String</DisplayField1>
        <DisplayField2>String</DisplayField2>
        <DisplayInfo>
          <AutoSizeColumns>false</AutoSizeColumns>
          <Columns>
            <LookupColumn>
              <Description>String</Description>
              <Name>String</Name>
              <Width>0</Width>
            </LookupColumn>
          </Columns>
        </DisplayInfo>
        <IndexField>String</IndexField>
        <KeyField>String</KeyField>
        <LookupData xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>String</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
        </LookupData>
        <ParentField>String</ParentField>
        <SortFields>
          <SortByField>
            <Direction>String</Direction>
            <Name>String</Name>
          </SortByField>
        </SortFields>
      </AcceptedValues>
      <DataType>String</DataType>
      <Description>String</Description>
      <Editor>String</Editor>
      <Name>String</Name>
      <Visible>false</Visible>
      <Width>0</Width>
      <DecimalsProvider>String</DecimalsProvider>
    </ViewField>
  </Fields>
  <Filters>
    <SchemaFilter>
      <AcceptedValues>
        <AcceptedValuesList>String</AcceptedValuesList>
        <DisplayField1>String</DisplayField1>
        <DisplayField2>String</DisplayField2>
        <DisplayInfo>
          <AutoSizeColumns>false</AutoSizeColumns>
          <Columns>
            <LookupColumn>
              <Description>String</Description>
              <Name>String</Name>
              <Width>0</Width>
            </LookupColumn>
          </Columns>
        </DisplayInfo>
        <IndexField>String</IndexField>
        <KeyField>String</KeyField>
        <LookupData xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:ArrayOfKeyValueOfstringanyType>
            <d5p1:KeyValueOfstringanyType>
              <d5p1:Key>String</d5p1:Key>
              <d5p1:Value />
            </d5p1:KeyValueOfstringanyType>
          </d5p1:ArrayOfKeyValueOfstringanyType>
        </LookupData>
        <ParentField>String</ParentField>
        <SortFields>
          <SortByField>
            <Direction>String</Direction>
            <Name>String</Name>
          </SortByField>
        </SortFields>
      </AcceptedValues>
      <AllowNullState>false</AllowNullState>
      <AllowedOperators xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </AllowedOperators>
      <Behaviour>String</Behaviour>
      <DataType>String</DataType>
      <Description>String</Description>
      <DisplayAs>String</DisplayAs>
      <Enable>false</Enable>
      <FieldName>String</FieldName>
      <Hidden>false</Hidden>
      <Kind>String</Kind>
      <LinkName>String</LinkName>
      <Name>String</Name>
      <Operators>
        <From>String</From>
        <To>String</To>
        <Value>String</Value>
      </Operators>
      <PredefinedValues>
        <From />
        <To />
        <Value />
      </PredefinedValues>
      <Required>false</Required>
      <UseRange>false</UseRange>
      <Visible>false</Visible>
    </SchemaFilter>
  </Filters>
  <IdentityField>String</IdentityField>
  <RelativeViews>
    <BaseViewLinkResource>
      <Name>String</Name>
      <Uri>String</Uri>
      <Description>String</Description>
      <Title>String</Title>
    </BaseViewLinkResource>
  </RelativeViews>
  <SortBy>
    <SortField>
      <Default>false</Default>
      <Expression>String</Expression>
    </SortField>
  </SortBy>
</ViewsLinkResource>