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>
CODE
  <ServiceName>FileSystem</ServiceName>
CODE
  <SupportedVersions>
CODE
    <string>1.0</string>
CODE
  </SupportedVersions>
CODE
</ThruServiceVersion>

Data Transfer Object

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

Data Transfer Object

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.