Reference for https://api.tiescloud.net/v1.0/Staff/Teachers/{PAGE}

Url: https://api.tiescloud.net/v1.0/Staff/Teachers/{PAGE}

HTTP Method: GET

This operation supports JSONP responses. The callback function can be specified using the "callback" Url query parameter.

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<PackageOfTeacherlo0anOFf xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model">
  <ExceptionCode>String content</ExceptionCode>
  <ExceptionDescription>String content</ExceptionDescription>
  <PageCount>2147483647</PageCount>
  <PageIndex>2147483647</PageIndex>
  <PageSize>2147483647</PageSize>
  <Return>
    <Teacher xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff">
      <Department>String content</Department>
      <DistrictNumber>2147483647</DistrictNumber>
      <Email>String content</Email>
      <EmployeeNumber>2147483647</EmployeeNumber>
      <EndDate>String content</EndDate>
      <FullName>String content</FullName>
      <Modified>
        <By xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common">String content</By>
        <Date xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common">1999-05-31T11:20:00</Date>
      </Modified>
      <SchoolId>String content</SchoolId>
      <SchoolYear>2147483647</SchoolYear>
      <StartDate>String content</StartDate>
      <WorkExtension>2147483647</WorkExtension>
      <WorkNumber>12678967.543233</WorkNumber>
    </Teacher>
    <Teacher xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff">
      <Department>String content</Department>
      <DistrictNumber>2147483647</DistrictNumber>
      <Email>String content</Email>
      <EmployeeNumber>2147483647</EmployeeNumber>
      <EndDate>String content</EndDate>
      <FullName>String content</FullName>
      <Modified>
        <By xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common">String content</By>
        <Date xmlns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common">1999-05-31T11:20:00</Date>
      </Modified>
      <SchoolId>String content</SchoolId>
      <SchoolYear>2147483647</SchoolYear>
      <StartDate>String content</StartDate>
      <WorkExtension>2147483647</WorkExtension>
      <WorkNumber>12678967.543233</WorkNumber>
    </Teacher>
  </Return>
  <TotalCount>2147483647</TotalCount>
  <TotalPages>2147483647</TotalPages>
</PackageOfTeacherlo0anOFf>

The following is an example response Json body:

{
	"ExceptionCode":"String content",
	"ExceptionDescription":"String content",
	"PageCount":2147483647,
	"PageIndex":2147483647,
	"PageSize":2147483647,
	"Return":[{
		"Department":"String content",
		"DistrictNumber":2147483647,
		"Email":"String content",
		"EmployeeNumber":2147483647,
		"EndDate":"String content",
		"FullName":"String content",
		"Modified":{
			"By":"String content",
			"Date":"\/Date(928167600000-0500)\/"
		},
		"SchoolId":"String content",
		"SchoolYear":2147483647,
		"StartDate":"String content",
		"WorkExtension":2147483647,
		"WorkNumber":12678967.543233
	}],
	"TotalCount":2147483647,
	"TotalPages":2147483647
}

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Ties.API.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Ties.API.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff" />
  <xs:complexType name="PackageOfTeacherlo0anOFf">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="PackageOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/Ties.API.Model" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="Teacher" Namespace="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:sequence>
      <xs:element minOccurs="0" name="ExceptionCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ExceptionDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PageCount" type="xs:int" />
      <xs:element minOccurs="0" name="PageIndex" type="xs:int" />
      <xs:element minOccurs="0" name="PageSize" type="xs:int" />
      <xs:element minOccurs="0" name="Return" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff" type="q1:ArrayOfTeacher" />
      <xs:element minOccurs="0" name="TotalCount" type="xs:int" />
      <xs:element minOccurs="0" name="TotalPages" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PackageOfTeacherlo0anOFf" nillable="true" type="tns:PackageOfTeacherlo0anOFf" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Ties.API.Model.Staff" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common" />
  <xs:complexType name="ArrayOfTeacher">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Teacher" nillable="true" type="tns:Teacher" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTeacher" nillable="true" type="tns:ArrayOfTeacher" />
  <xs:complexType name="Teacher">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:StaffBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Teacher" nillable="true" type="tns:Teacher" />
  <xs:complexType name="StaffBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="Department" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DistrictNumber" type="xs:int" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmployeeNumber" type="xs:int" />
      <xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Modified" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common" type="q1:LastModified" />
      <xs:element minOccurs="0" name="SchoolId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SchoolYear" type="xs:int" />
      <xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="WorkExtension" type="xs:int" />
      <xs:element minOccurs="0" name="WorkNumber" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="StaffBase" nillable="true" type="tns:StaffBase" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Ties.API.Model.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="LastModified">
    <xs:sequence>
      <xs:element minOccurs="0" name="By" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Date" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="LastModified" nillable="true" type="tns:LastModified" />
</xs:schema>

<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>