Service
Click here for a complete list of operations.
SchooooolsUserDomain
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/SchooooolsUserDomain" <?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> <SchooooolsUserDomain xmlns="http://pmate.ua.pt"> <TimeStamp>string</TimeStamp> <token>string</token> <Login>string</Login> </SchooooolsUserDomain> </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> <SchooooolsUserDomainResponse xmlns="http://pmate.ua.pt"> <SchooooolsUserDomainResult>Sucesso or TokenInvalido or ParametrosInvalidos or ErroInesperado or JaExistente or SemDados or SemDadosAtualizados or SemAcesso</SchooooolsUserDomainResult> <userDomain transactionOpeningTime="string"> <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> </userDomain> </SchooooolsUserDomainResponse> </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> <SchooooolsUserDomain xmlns="http://pmate.ua.pt"> <TimeStamp>string</TimeStamp> <token>string</token> <Login>string</Login> </SchooooolsUserDomain> </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> <SchooooolsUserDomainResponse xmlns="http://pmate.ua.pt"> <SchooooolsUserDomainResult>Sucesso or TokenInvalido or ParametrosInvalidos or ErroInesperado or JaExistente or SemDados or SemDadosAtualizados or SemAcesso</SchooooolsUserDomainResult> <userDomain transactionOpeningTime="string"> <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> </userDomain> </SchooooolsUserDomainResponse> </soap12:Body> </soap12:Envelope>