Schema SessionService.xsd


schema location:  C:\Working\SVN\m2mmc\branches\4.4.3\win\unified-web-service\APIs\v2\Schema\SessionService.xsd
targetNamespace:  http://nphase.com/unifiedwebservice/v2
 
Elements 
LogInRequest 
LogInResponse 
LogOutRequest 
LogOutResponse 


element LogInRequest
diagram
namespace http://nphase.com/unifiedwebservice/v2
children Username Password
annotation
documentation 
Logs in to the ThingSpace Platform and returns a session token that you must use in subsequent API requests. The token expires after 20 minutes of inactivity.
source
<xs:element name="LogInRequest">
  <xs:annotation>
    <xs:documentation>Logs in to the ThingSpace Platform and returns a session token that you must use in subsequent API requests. The token expires after 20 minutes of inactivity.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Username" type="xs:string">
        <xs:annotation>
          <xs:documentation>The user name for the account.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Password" type="xs:string">
        <xs:annotation>
          <xs:documentation>The password for the account.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element LogInRequest/Username
diagram
namespace http://nphase.com/unifiedwebservice/v2
type xs:string
annotation
documentation 
The user name for the account.
source
<xs:element name="Username" type="xs:string">
  <xs:annotation>
    <xs:documentation>The user name for the account.</xs:documentation>
  </xs:annotation>
</xs:element>

element LogInRequest/Password
diagram
namespace http://nphase.com/unifiedwebservice/v2
type xs:string
annotation
documentation 
The password for the account.
source
<xs:element name="Password" type="xs:string">
  <xs:annotation>
    <xs:documentation>The password for the account.</xs:documentation>
  </xs:annotation>
</xs:element>

element LogInResponse
diagram
namespace http://nphase.com/unifiedwebservice/v2
children SessionToken
annotation
documentation 
Returns a session identifier, which you must include in the header of all subsequent API requests in the current session.
source
<xs:element name="LogInResponse">
  <xs:annotation>
    <xs:documentation>Returns a session identifier, which you must include in the header of all subsequent API requests in the current session.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="SessionToken" type="xs:string">
        <xs:annotation>
          <xs:documentation>The session identifier for the session that was created by the login request.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element LogInResponse/SessionToken
diagram
namespace http://nphase.com/unifiedwebservice/v2
type xs:string
annotation
documentation 
The session identifier for the session that was created by the login request.
source
<xs:element name="SessionToken" type="xs:string">
  <xs:annotation>
    <xs:documentation>The session identifier for the session that was created by the login request.</xs:documentation>
  </xs:annotation>
</xs:element>

element LogOutRequest
diagram
namespace http://nphase.com/unifiedwebservice/v2
children SessionToken
annotation
documentation 
Terminates the specified session by logging out of the ThingSpace Platform and invalidating the session identifier.
source
<xs:element name="LogOutRequest">
  <xs:annotation>
    <xs:documentation>Terminates the specified session by logging out of the ThingSpace Platform and invalidating the session identifier.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="SessionToken" type="xs:string">
        <xs:annotation>
          <xs:documentation>The identifier of the session to be terminated.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element LogOutRequest/SessionToken
diagram
namespace http://nphase.com/unifiedwebservice/v2
type xs:string
annotation
documentation 
The identifier of the session to be terminated.
source
<xs:element name="SessionToken" type="xs:string">
  <xs:annotation>
    <xs:documentation>The identifier of the session to be terminated.</xs:documentation>
  </xs:annotation>
</xs:element>

element LogOutResponse
diagram
namespace http://nphase.com/unifiedwebservice/v2
children SessionToken
annotation
documentation 
Returns the session token for the session that was terminated.
source
<xs:element name="LogOutResponse">
  <xs:annotation>
    <xs:documentation>Returns the session token for the session that was terminated.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="SessionToken" type="xs:string">
        <xs:annotation>
          <xs:documentation>The session identifier for the session that was terminated by the log out request.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element LogOutResponse/SessionToken
diagram
namespace http://nphase.com/unifiedwebservice/v2
type xs:string
annotation
documentation 
The session identifier for the session that was terminated by the log out request.
source
<xs:element name="SessionToken" type="xs:string">
  <xs:annotation>
    <xs:documentation>The session identifier for the session that was terminated by the log out request.</xs:documentation>
  </xs:annotation>
</xs:element>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy