Service
Click here for a complete list of operations.
SchooooolsSchoolDomain
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webserviceaccess/service.asmx HTTP/1.1 Host: pmate.ua.pt Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://pmate.ua.pt/SchooooolsSchoolDomain" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SchooooolsSchoolDomain xmlns="http://pmate.ua.pt"> <TimeStamp>string</TimeStamp> <token>string</token> <Login>string</Login> </SchooooolsSchoolDomain> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SchooooolsSchoolDomainResponse xmlns="http://pmate.ua.pt"> <SchooooolsSchoolDomainResult>Sucesso or TokenInvalido or ParametrosInvalidos or ErroInesperado or JaExistente or SemDados or SemDadosAtualizados or SemAcesso</SchooooolsSchoolDomainResult> <schoolDomain transactionOpeningTime="string"> <schools> <school id="int"> <name>string</name> </school> <school id="int"> <name>string</name> </school> </schools> <groups> <group id="int"> <name>string</name> <schoolYearRef xsi:nil="true" /> <grade>int</grade> <schoolRef xsi:nil="true" /> <students xsi:nil="true" /> <teacherParticipations xsi:nil="true" /> </group> <group id="int"> <name>string</name> <schoolYearRef xsi:nil="true" /> <grade>int</grade> <schoolRef xsi:nil="true" /> <students xsi:nil="true" /> <teacherParticipations xsi:nil="true" /> </group> </groups> <courses> <course id="int"> <name>string</name> <fromIdTurma>int</fromIdTurma> <starts>string</starts> <ends>string</ends> </course> <course id="int"> <name>string</name> <fromIdTurma>int</fromIdTurma> <starts>string</starts> <ends>string</ends> </course> </courses> <schoolYears> <schoolYear id="int"> <name>string</name> </schoolYear> <schoolYear id="int"> <name>string</name> </schoolYear> </schoolYears> <projects> <project id="int"> <name>string</name> <url>string</url> </project> <project id="int"> <name>string</name> <url>string</url> </project> </projects> <users> <user id="int" type="int"> <name>string</name> <address>string</address> <locality>string</locality> <postal_code>string</postal_code> <personal_phone_number>string</personal_phone_number> <email>string</email> <gender>string</gender> <username>string</username> <password>string</password> <current_password>string</current_password> <tax_id_number>string</tax_id_number> <social_security_number>string</social_security_number> <identifier_type>string</identifier_type> <identifier_number>string</identifier_number> <identifier_emission_date>string</identifier_emission_date> <identifier_emitting_archive>string</identifier_emitting_archive> <work_phone_number>string</work_phone_number> <coord>string</coord> <parentRef xsi:nil="true" /> </user> <user id="int" type="int"> <name>string</name> <address>string</address> <locality>string</locality> <postal_code>string</postal_code> <personal_phone_number>string</personal_phone_number> <email>string</email> <gender>string</gender> <username>string</username> <password>string</password> <current_password>string</current_password> <tax_id_number>string</tax_id_number> <social_security_number>string</social_security_number> <identifier_type>string</identifier_type> <identifier_number>string</identifier_number> <identifier_emission_date>string</identifier_emission_date> <identifier_emitting_archive>string</identifier_emitting_archive> <work_phone_number>string</work_phone_number> <coord>string</coord> <parentRef xsi:nil="true" /> </user> </users> <userEscolas> <userEscola id="int" kind="string"> <userRef xsi:nil="true" /> <schoolRef xsi:nil="true" /> <projectRef xsi:nil="true" /> <grade>int</grade> <schoolYearRef xsi:nil="true" /> </userEscola> <userEscola id="int" kind="string"> <userRef xsi:nil="true" /> <schoolRef xsi:nil="true" /> <projectRef xsi:nil="true" /> <grade>int</grade> <schoolYearRef xsi:nil="true" /> </userEscola> </userEscolas> </schoolDomain> </SchooooolsSchoolDomainResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webserviceaccess/service.asmx HTTP/1.1 Host: pmate.ua.pt Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SchooooolsSchoolDomain xmlns="http://pmate.ua.pt"> <TimeStamp>string</TimeStamp> <token>string</token> <Login>string</Login> </SchooooolsSchoolDomain> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SchooooolsSchoolDomainResponse xmlns="http://pmate.ua.pt"> <SchooooolsSchoolDomainResult>Sucesso or TokenInvalido or ParametrosInvalidos or ErroInesperado or JaExistente or SemDados or SemDadosAtualizados or SemAcesso</SchooooolsSchoolDomainResult> <schoolDomain transactionOpeningTime="string"> <schools> <school id="int"> <name>string</name> </school> <school id="int"> <name>string</name> </school> </schools> <groups> <group id="int"> <name>string</name> <schoolYearRef xsi:nil="true" /> <grade>int</grade> <schoolRef xsi:nil="true" /> <students xsi:nil="true" /> <teacherParticipations xsi:nil="true" /> </group> <group id="int"> <name>string</name> <schoolYearRef xsi:nil="true" /> <grade>int</grade> <schoolRef xsi:nil="true" /> <students xsi:nil="true" /> <teacherParticipations xsi:nil="true" /> </group> </groups> <courses> <course id="int"> <name>string</name> <fromIdTurma>int</fromIdTurma> <starts>string</starts> <ends>string</ends> </course> <course id="int"> <name>string</name> <fromIdTurma>int</fromIdTurma> <starts>string</starts> <ends>string</ends> </course> </courses> <schoolYears> <schoolYear id="int"> <name>string</name> </schoolYear> <schoolYear id="int"> <name>string</name> </schoolYear> </schoolYears> <projects> <project id="int"> <name>string</name> <url>string</url> </project> <project id="int"> <name>string</name> <url>string</url> </project> </projects> <users> <user id="int" type="int"> <name>string</name> <address>string</address> <locality>string</locality> <postal_code>string</postal_code> <personal_phone_number>string</personal_phone_number> <email>string</email> <gender>string</gender> <username>string</username> <password>string</password> <current_password>string</current_password> <tax_id_number>string</tax_id_number> <social_security_number>string</social_security_number> <identifier_type>string</identifier_type> <identifier_number>string</identifier_number> <identifier_emission_date>string</identifier_emission_date> <identifier_emitting_archive>string</identifier_emitting_archive> <work_phone_number>string</work_phone_number> <coord>string</coord> <parentRef xsi:nil="true" /> </user> <user id="int" type="int"> <name>string</name> <address>string</address> <locality>string</locality> <postal_code>string</postal_code> <personal_phone_number>string</personal_phone_number> <email>string</email> <gender>string</gender> <username>string</username> <password>string</password> <current_password>string</current_password> <tax_id_number>string</tax_id_number> <social_security_number>string</social_security_number> <identifier_type>string</identifier_type> <identifier_number>string</identifier_number> <identifier_emission_date>string</identifier_emission_date> <identifier_emitting_archive>string</identifier_emitting_archive> <work_phone_number>string</work_phone_number> <coord>string</coord> <parentRef xsi:nil="true" /> </user> </users> <userEscolas> <userEscola id="int" kind="string"> <userRef xsi:nil="true" /> <schoolRef xsi:nil="true" /> <projectRef xsi:nil="true" /> <grade>int</grade> <schoolYearRef xsi:nil="true" /> </userEscola> <userEscola id="int" kind="string"> <userRef xsi:nil="true" /> <schoolRef xsi:nil="true" /> <projectRef xsi:nil="true" /> <grade>int</grade> <schoolYearRef xsi:nil="true" /> </userEscola> </userEscolas> </schoolDomain> </SchooooolsSchoolDomainResponse> </soap12:Body> </soap12:Envelope>