Reference for http://studentpractice.pilotiko.gr/Api/Offices/v1/ChangeAssignedStudent
Url: http://studentpractice.pilotiko.gr/Api/Offices/v1/ChangeAssignedStudent
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example request Xml body:
<AssignStudent xmlns="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api"> <PositionID>2147483647</PositionID> <StudentID>2147483647</StudentID> </AssignStudent>
The following is an example request Json body:
{
"PositionID":2147483647,
"StudentID":2147483647
}
The following is an example response Xml body:
<ServiceResponseOfPositionResult79sL5Dh_S xmlns="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api">
<ErrorCode>2147483647</ErrorCode>
<Message>String content</Message>
<Success>true</Success>
<Result>
<AssignedAt>1999-05-31T11:20:00</AssignedAt>
<AssignedAtString>String content</AssignedAtString>
<AssignedStudent>
<Academic>
<Department>String content</Department>
<ID>2147483647</ID>
<Institution>String content</Institution>
<InstitutionID>2147483647</InstitutionID>
<School>String content</School>
</Academic>
<AcademicIDNumber>String content</AcademicIDNumber>
<GreekFirstName>String content</GreekFirstName>
<GreekLastName>String content</GreekLastName>
<ID>2147483647</ID>
<IsActive>true</IsActive>
<IsNameLatin>true</IsNameLatin>
<LatinFirstName>String content</LatinFirstName>
<LatinLastName>String content</LatinLastName>
<PreviousAcademic>
<Department>String content</Department>
<ID>2147483647</ID>
<Institution>String content</Institution>
<InstitutionID>2147483647</InstitutionID>
<School>String content</School>
</PreviousAcademic>
<PrincipalUserName>String content</PrincipalUserName>
<StudentNumber>String content</StudentNumber>
<SystemFirstName>String content</SystemFirstName>
<SystemLastName>String content</SystemLastName>
</AssignedStudent>
<CancellationReason>String content</CancellationReason>
<CompletedAt>1999-05-31T11:20:00</CompletedAt>
<CompletedAtString>String content</CompletedAtString>
<CompletionComments>String content</CompletionComments>
<DaysLeftForAssignment>2147483647</DaysLeftForAssignment>
<GroupDetails>
<Academics>
<AcademicResult>
<Department>String content</Department>
<ID>2147483647</ID>
<Institution>String content</Institution>
<InstitutionID>2147483647</InstitutionID>
<IsActive>true</IsActive>
<School>String content</School>
</AcademicResult>
<AcademicResult>
<Department>String content</Department>
<ID>2147483647</ID>
<Institution>String content</Institution>
<InstitutionID>2147483647</InstitutionID>
<IsActive>true</IsActive>
<School>String content</School>
</AcademicResult>
</Academics>
<AvailablePositions>2147483647</AvailablePositions>
<City>String content</City>
<CityID>2147483647</CityID>
<ContactPhone>String content</ContactPhone>
<Country>String content</Country>
<CountryID>2147483647</CountryID>
<Description>String content</Description>
<Duration>2147483647</Duration>
<EndDate>1999-05-31T11:20:00</EndDate>
<EndDateString>String content</EndDateString>
<HasTimeLimit>true</HasTimeLimit>
<ID>2147483647</ID>
<IsAvailableToAllAcademics>true</IsAvailableToAllAcademics>
<PhysicalObjects>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
</PhysicalObjects>
<PositionType>String content</PositionType>
<Prefecture>String content</Prefecture>
<PrefectureID>2147483647</PrefectureID>
<ProviderID>2147483647</ProviderID>
<StartDate>1999-05-31T11:20:00</StartDate>
<StartDateString>String content</StartDateString>
<Supervisor>String content</Supervisor>
<SupervisorEmail>String content</SupervisorEmail>
<TimeLimit>String content</TimeLimit>
<Title>String content</Title>
</GroupDetails>
<GroupID>2147483647</GroupID>
<ID>2147483647</ID>
<ImplementationEndDate>1999-05-31T11:20:00</ImplementationEndDate>
<ImplementationEndDateString>String content</ImplementationEndDateString>
<ImplementationStartDate>1999-05-31T11:20:00</ImplementationStartDate>
<ImplementationStartDateString>String content</ImplementationStartDateString>
<PositionStatus>String content</PositionStatus>
<PreAssignedAt>1999-05-31T11:20:00</PreAssignedAt>
<PreAssignedAtString>String content</PreAssignedAtString>
<PreAssignedForAcademic>
<Department>String content</Department>
<ID>2147483647</ID>
<Institution>String content</Institution>
<InstitutionID>2147483647</InstitutionID>
<IsActive>true</IsActive>
<School>String content</School>
</PreAssignedForAcademic>
</Result>
</ServiceResponseOfPositionResult79sL5Dh_S>
The following is an example response Json body:
{
"ErrorCode":2147483647,
"Message":"String content",
"Success":true,
"Result":{
"AssignedAt":"\/Date(928138800000+0300)\/",
"AssignedAtString":"String content",
"AssignedStudent":{
"Academic":{
"Department":"String content",
"ID":2147483647,
"Institution":"String content",
"InstitutionID":2147483647,
"School":"String content"
},
"AcademicIDNumber":"String content",
"GreekFirstName":"String content",
"GreekLastName":"String content",
"ID":2147483647,
"IsActive":true,
"IsNameLatin":true,
"LatinFirstName":"String content",
"LatinLastName":"String content",
"PreviousAcademic":{
"Department":"String content",
"ID":2147483647,
"Institution":"String content",
"InstitutionID":2147483647,
"School":"String content"
},
"PrincipalUserName":"String content",
"StudentNumber":"String content",
"SystemFirstName":"String content",
"SystemLastName":"String content"
},
"CancellationReason":"String content",
"CompletedAt":"\/Date(928138800000+0300)\/",
"CompletedAtString":"String content",
"CompletionComments":"String content",
"DaysLeftForAssignment":2147483647,
"GroupDetails":{
"Academics":[{
"Department":"String content",
"ID":2147483647,
"Institution":"String content",
"InstitutionID":2147483647,
"IsActive":true,
"School":"String content"
}],
"AvailablePositions":2147483647,
"City":"String content",
"CityID":2147483647,
"ContactPhone":"String content",
"Country":"String content",
"CountryID":2147483647,
"Description":"String content",
"Duration":2147483647,
"EndDate":"\/Date(928138800000+0300)\/",
"EndDateString":"String content",
"HasTimeLimit":true,
"ID":2147483647,
"IsAvailableToAllAcademics":true,
"PhysicalObjects":["String content"],
"PositionType":"String content",
"Prefecture":"String content",
"PrefectureID":2147483647,
"ProviderID":2147483647,
"StartDate":"\/Date(928138800000+0300)\/",
"StartDateString":"String content",
"Supervisor":"String content",
"SupervisorEmail":"String content",
"TimeLimit":"String content",
"Title":"String content"
},
"GroupID":2147483647,
"ID":2147483647,
"ImplementationEndDate":"\/Date(928138800000+0300)\/",
"ImplementationEndDateString":"String content",
"ImplementationStartDate":"\/Date(928138800000+0300)\/",
"ImplementationStartDateString":"String content",
"PositionStatus":"String content",
"PreAssignedAt":"\/Date(928138800000+0300)\/",
"PreAssignedAtString":"String content",
"PreAssignedForAcademic":{
"Department":"String content",
"ID":2147483647,
"Institution":"String content",
"InstitutionID":2147483647,
"IsActive":true,
"School":"String content"
}
}
}
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="AssignStudent">
<xs:sequence>
<xs:element minOccurs="0" name="PositionID" type="xs:int" />
<xs:element minOccurs="0" name="StudentID" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="AssignStudent" nillable="true" type="tns:AssignStudent" />
</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>
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:complexType name="ServiceResponseOfPositionResult79sL5Dh_S">
<xs:annotation>
<xs:appinfo>
<GenericType Name="ServiceResponseOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
<GenericParameter Name="PositionResult" Namespace="http://schemas.datacontract.org/2004/07/ATLAS.Web.Api" />
</GenericType>
</xs:appinfo>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="tns:ServiceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="Result" nillable="true" type="tns:PositionResult" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ServiceResponseOfPositionResult79sL5Dh_S" nillable="true" type="tns:ServiceResponseOfPositionResult79sL5Dh_S" />
<xs:complexType name="ServiceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="ErrorCode" type="xs:int" />
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Success" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<xs:element name="ServiceResponse" nillable="true" type="tns:ServiceResponse" />
<xs:complexType name="PositionResult">
<xs:sequence>
<xs:element minOccurs="0" name="AssignedAt" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="AssignedAtString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="AssignedStudent" nillable="true" type="tns:StudentResult" />
<xs:element minOccurs="0" name="CancellationReason" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CompletedAt" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="CompletedAtString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CompletionComments" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="DaysLeftForAssignment" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="GroupDetails" nillable="true" type="tns:PositionGroupResult" />
<xs:element minOccurs="0" name="GroupID" type="xs:int" />
<xs:element minOccurs="0" name="ID" type="xs:int" />
<xs:element minOccurs="0" name="ImplementationEndDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="ImplementationEndDateString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ImplementationStartDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="ImplementationStartDateString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PositionStatus" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PreAssignedAt" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="PreAssignedAtString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PreAssignedForAcademic" nillable="true" type="tns:AcademicResult" />
</xs:sequence>
</xs:complexType>
<xs:element name="PositionResult" nillable="true" type="tns:PositionResult" />
<xs:complexType name="StudentResult">
<xs:sequence>
<xs:element minOccurs="0" name="Academic" nillable="true" type="tns:StudentAcademic" />
<xs:element minOccurs="0" name="AcademicIDNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="GreekFirstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="GreekLastName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ID" type="xs:int" />
<xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
<xs:element minOccurs="0" name="IsNameLatin" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" name="LatinFirstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="LatinLastName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PreviousAcademic" nillable="true" type="tns:StudentAcademic" />
<xs:element minOccurs="0" name="PrincipalUserName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="StudentNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="SystemFirstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="SystemLastName" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="StudentResult" nillable="true" type="tns:StudentResult" />
<xs:complexType name="StudentAcademic">
<xs:sequence>
<xs:element minOccurs="0" name="Department" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ID" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="Institution" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="InstitutionID" type="xs:int" />
<xs:element minOccurs="0" name="School" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="StudentAcademic" nillable="true" type="tns:StudentAcademic" />
<xs:complexType name="PositionGroupResult">
<xs:sequence>
<xs:element minOccurs="0" name="Academics" nillable="true" type="tns:ArrayOfAcademicResult" />
<xs:element minOccurs="0" name="AvailablePositions" type="xs:int" />
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CityID" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="ContactPhone" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CountryID" type="xs:int" />
<xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Duration" type="xs:int" />
<xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="EndDateString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="HasTimeLimit" type="xs:boolean" />
<xs:element minOccurs="0" name="ID" type="xs:int" />
<xs:element minOccurs="0" name="IsAvailableToAllAcademics" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" name="PhysicalObjects" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
<xs:element minOccurs="0" name="PositionType" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Prefecture" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="PrefectureID" nillable="true" type="xs:int" />
<xs:element minOccurs="0" name="ProviderID" type="xs:int" />
<xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="0" name="StartDateString" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Supervisor" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="SupervisorEmail" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="TimeLimit" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="PositionGroupResult" nillable="true" type="tns:PositionGroupResult" />
<xs:complexType name="ArrayOfAcademicResult">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="AcademicResult" nillable="true" type="tns:AcademicResult" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfAcademicResult" nillable="true" type="tns:ArrayOfAcademicResult" />
<xs:complexType name="AcademicResult">
<xs:sequence>
<xs:element minOccurs="0" name="Department" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ID" type="xs:int" />
<xs:element minOccurs="0" name="Institution" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="InstitutionID" type="xs:int" />
<xs:element minOccurs="0" name="IsActive" type="xs:boolean" />
<xs:element minOccurs="0" name="School" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="AcademicResult" nillable="true" type="tns:AcademicResult" />
</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.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ArrayOfstring">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</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>