Skip to main content
Skip table of contents

5.11 Service Resources

5.11.1 ThruServiceVersion Structure
ThruServiceVersion structure contains information about versions of specific REST service in the ThruServer.

Item Name

Data Type

Sample Value

Comments

ServiceName

String

FileSystem

Service name

SupportedVersions

String

1.0

Service version

Sample

CODE
<ThruServiceVersion>
  <ServiceName>FileSystem</ServiceName>
  <SupportedVersions>
    <string>1.0</string>
  </SupportedVersions>
</ThruServiceVersion>

Data Transfer Object

CODE
public class ThruServiceVersion
{
  public string ServiceName
  public string[] SupportedVersions
}

5.11.2 ThruServiceVersionsResult Structure
ThruServiceVersionsResult structure contains information about versions of REST services in the ThruServer.

Item Name

Data Type

Sample Value

Comments

ServiceVersions

Collection <ThruServiceVersion >

REST Services

Sample

CODE
<ThruServiceVersionsResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceVersions>
    <ThruServiceVersion>
      <ServiceName>Authentication</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>FileSystem</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>Message</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>Search</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>Favorites</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>Server</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>Ticket</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>SystemLog</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
    <ThruServiceVersion>
      <ServiceName>User</ServiceName>
      <SupportedVersions>
        <string>1.0</string>
      </SupportedVersions>
    </ThruServiceVersion>
  </ServiceVersions>
</ThruServiceVersionsResult>

Data Transfer Object

CODE
public class ThruServiceVersionsResult
{
  public ThruServiceVersion[] ServiceVersions    
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.