Reference for https://buildcont.tpcx.com:17143/uiserver0/api/ui/interactive/sessions/
Create a session.
Url: https://buildcont.tpcx.com:17143/uiserver0/api/ui/interactive/sessions/
HTTP Method: POST
Message direction | Format | Body |
---|---|---|
Request | Xml | Example,Schema |
Request | Json | Example |
Response | Unknown | Could not generate schema document. |
The following is an example request Xml body:
<UserParameters xmlns="http://schemas.datacontract.org/2004/07/P21.UI.Service.Model.Common.V1"> <ClientPlatformApp>String content</ClientPlatformApp> <PrintMode>Browser</PrintMode> <ResponseWindowHandlingEnabled>true</ResponseWindowHandlingEnabled> <SessionTimeout>2147483647</SessionTimeout> <SessionType>User</SessionType> <TestingOptions> <AutoOpenPortals>true</AutoOpenPortals> <BypassApplicationRoleSecurity>true</BypassApplicationRoleSecurity> <DisableCustomSoftware>true</DisableCustomSoftware> <DisableDynachange>true</DisableDynachange> <OverrideConfigNo>2147483647</OverrideConfigNo> <Password>String content</Password> <Programmer>true</Programmer> </TestingOptions> <WWMSOptions> <BinID>String content</BinID> <CompanyID>String content</CompanyID> <LocationID>2147483647</LocationID> <WwmsOnly>true</WwmsOnly> </WWMSOptions> <WorkstationID>String content</WorkstationID> </UserParameters>
The following is an example request Json body:
{ "ClientPlatformApp":"String content", "PrintMode":0, "ResponseWindowHandlingEnabled":true, "SessionTimeout":2147483647, "SessionType":0, "TestingOptions":{ "AutoOpenPortals":true, "BypassApplicationRoleSecurity":true, "DisableCustomSoftware":true, "DisableDynachange":true, "OverrideConfigNo":2147483647, "Password":"String content", "Programmer":true }, "WWMSOptions":{ "BinID":"String content", "CompanyID":"String content", "LocationID":2147483647, "WwmsOnly":true }, "WorkstationID":"String content" }
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/P21.UI.Service.Model.Common.V1" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/P21.UI.Service.Model.Common.V1" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="UserParameters"> <xs:sequence> <xs:element minOccurs="0" name="ClientPlatformApp" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PrintMode" type="tns:PrintMode" /> <xs:element minOccurs="0" name="ResponseWindowHandlingEnabled" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="SessionTimeout" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="SessionType" type="tns:SessionType" /> <xs:element minOccurs="0" name="TestingOptions" nillable="true" type="tns:TestingOptions" /> <xs:element minOccurs="0" name="WWMSOptions" nillable="true" type="tns:WWMSOptions" /> <xs:element minOccurs="0" name="WorkstationID" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="UserParameters" nillable="true" type="tns:UserParameters" /> <xs:simpleType name="PrintMode"> <xs:restriction base="xs:string"> <xs:enumeration value="Browser" /> <xs:enumeration value="Local" /> <xs:enumeration value="Network" /> </xs:restriction> </xs:simpleType> <xs:element name="PrintMode" nillable="true" type="tns:PrintMode" /> <xs:simpleType name="SessionType"> <xs:restriction base="xs:string"> <xs:enumeration value="User" /> <xs:enumeration value="Auto" /> <xs:enumeration value="AutoInteractive" /> </xs:restriction> </xs:simpleType> <xs:element name="SessionType" nillable="true" type="tns:SessionType" /> <xs:complexType name="TestingOptions"> <xs:sequence> <xs:element minOccurs="0" name="AutoOpenPortals" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="BypassApplicationRoleSecurity" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="DisableCustomSoftware" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="DisableDynachange" nillable="true" type="xs:boolean" /> <xs:element minOccurs="0" name="OverrideConfigNo" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Programmer" nillable="true" type="xs:boolean" /> </xs:sequence> </xs:complexType> <xs:element name="TestingOptions" nillable="true" type="tns:TestingOptions" /> <xs:complexType name="WWMSOptions"> <xs:sequence> <xs:element minOccurs="0" name="BinID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CompanyID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="LocationID" type="xs:int" /> <xs:element minOccurs="0" name="WwmsOnly" type="xs:boolean" /> </xs:sequence> </xs:complexType> <xs:element name="WWMSOptions" nillable="true" type="tns:WWMSOptions" /> </xs:schema>
Additional request 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>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema"> <tns:element name="schema"> <tns:complexType /> </tns:element> </tns:schema>