SLnet.WebExtApi

<back to all web services

ChangeViewFiltersMetadata

Generic API

The following routes are available for this service:
POST/api/{DomainName}/views/{ViewName}/metadata/filtersReturns the filters of the specified 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/ChangeViewFiltersMetadata HTTP/1.1 
Host: drt-racing.gr 
Content-Type: application/xml
Content-Length: length

<ChangeViewFiltersMetadata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.WebAPI.Api">
  <DomainName>String</DomainName>
  <ViewName>String</ViewName>
  <filterName>String</filterName>
  <filters xmlns:d2p1="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.Common">
    <d2p1:SchemaFilter>
      <d2p1:AcceptedValues>
        <d2p1:AcceptedValuesList>String</d2p1:AcceptedValuesList>
        <d2p1:DisplayField1>String</d2p1:DisplayField1>
        <d2p1:DisplayField2>String</d2p1:DisplayField2>
        <d2p1:DisplayInfo>
          <d2p1:AutoSizeColumns>false</d2p1:AutoSizeColumns>
          <d2p1:Columns>
            <d2p1:LookupColumn>
              <d2p1:Description>String</d2p1:Description>
              <d2p1:Name>String</d2p1:Name>
              <d2p1:Width>0</d2p1:Width>
            </d2p1:LookupColumn>
          </d2p1:Columns>
        </d2p1:DisplayInfo>
        <d2p1:IndexField>String</d2p1:IndexField>
        <d2p1:KeyField>String</d2p1:KeyField>
        <d2p1: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>
        </d2p1:LookupData>
        <d2p1:ParentField>String</d2p1:ParentField>
        <d2p1:SortFields>
          <d2p1:SortByField>
            <d2p1:Direction>String</d2p1:Direction>
            <d2p1:Name>String</d2p1:Name>
          </d2p1:SortByField>
        </d2p1:SortFields>
      </d2p1:AcceptedValues>
      <d2p1:AllowNullState>false</d2p1:AllowNullState>
      <d2p1:AllowedOperators xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:AllowedOperators>
      <d2p1:Behaviour>String</d2p1:Behaviour>
      <d2p1:DataType>String</d2p1:DataType>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:DisplayAs>String</d2p1:DisplayAs>
      <d2p1:Enable>false</d2p1:Enable>
      <d2p1:FieldName>String</d2p1:FieldName>
      <d2p1:Hidden>false</d2p1:Hidden>
      <d2p1:Kind>String</d2p1:Kind>
      <d2p1:LinkName>String</d2p1:LinkName>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Operators>
        <d2p1:From>String</d2p1:From>
        <d2p1:To>String</d2p1:To>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:Operators>
      <d2p1:PredefinedValues>
        <d2p1:From />
        <d2p1:To />
        <d2p1:Value />
      </d2p1:PredefinedValues>
      <d2p1:Required>false</d2p1:Required>
      <d2p1:UseRange>false</d2p1:UseRange>
      <d2p1:Visible>false</d2p1:Visible>
    </d2p1:SchemaFilter>
  </filters>
</ChangeViewFiltersMetadata>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfSchemaFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SLnet.WebExtApi.Common">
  <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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:ArrayOfKeyValueOfstringanyType>
          <d4p1:KeyValueOfstringanyType>
            <d4p1:Key>String</d4p1:Key>
            <d4p1:Value />
          </d4p1:KeyValueOfstringanyType>
        </d4p1:ArrayOfKeyValueOfstringanyType>
      </LookupData>
      <ParentField>String</ParentField>
      <SortFields>
        <SortByField>
          <Direction>String</Direction>
          <Name>String</Name>
        </SortByField>
      </SortFields>
    </AcceptedValues>
    <AllowNullState>false</AllowNullState>
    <AllowedOperators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1: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>
</ArrayOfSchemaFilter>