Hermis
Click here for a complete list of operations.
GetReportObjectDataLookup
This method returns the an xml element based on the search parameters entered
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 /hermis.asmx HTTP/1.1 Host: hws.gov.ab.ca Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://hws.alberta.ca/hermis/schema/GetReportObjectDataLookup" <?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:Header> <HermisAuthenticationHeader xmlns="https://hws.alberta.ca/hermis/schema"> <Username>string</Username> <Email>string</Email> <Roles>string</Roles> <RoleIds>string</RoleIds> <EncryptedAuthenticatedUserData>string</EncryptedAuthenticatedUserData> <Errcode>int</Errcode> <ErrMessage>string</ErrMessage> </HermisAuthenticationHeader> </soap:Header> <soap:Body> <GetReportObjectDataLookup xmlns="https://hws.alberta.ca/hermis/schema"> <branch>AFA or PAA or ARHP</branch> <pagesize>int</pagesize> <pagenumber>int</pagenumber> <criterialist> <searchcriteria> <field>string</field> <operator>string</operator> <criteria>string</criteria> <betweencriteria>string</betweencriteria> <connector>string</connector> <openparenthesis>string</openparenthesis> <closeparenthesis>string</closeparenthesis> </searchcriteria> <searchcriteria> <field>string</field> <operator>string</operator> <criteria>string</criteria> <betweencriteria>string</betweencriteria> <connector>string</connector> <openparenthesis>string</openparenthesis> <closeparenthesis>string</closeparenthesis> </searchcriteria> </criterialist> <department>string</department> </GetReportObjectDataLookup> </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> <GetReportObjectDataLookupResponse xmlns="https://hws.alberta.ca/hermis/schema"> <GetReportObjectDataLookupResult>xml</GetReportObjectDataLookupResult> </GetReportObjectDataLookupResponse> </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 /hermis.asmx HTTP/1.1 Host: hws.gov.ab.ca 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:Header> <HermisAuthenticationHeader xmlns="https://hws.alberta.ca/hermis/schema"> <Username>string</Username> <Email>string</Email> <Roles>string</Roles> <RoleIds>string</RoleIds> <EncryptedAuthenticatedUserData>string</EncryptedAuthenticatedUserData> <Errcode>int</Errcode> <ErrMessage>string</ErrMessage> </HermisAuthenticationHeader> </soap12:Header> <soap12:Body> <GetReportObjectDataLookup xmlns="https://hws.alberta.ca/hermis/schema"> <branch>AFA or PAA or ARHP</branch> <pagesize>int</pagesize> <pagenumber>int</pagenumber> <criterialist> <searchcriteria> <field>string</field> <operator>string</operator> <criteria>string</criteria> <betweencriteria>string</betweencriteria> <connector>string</connector> <openparenthesis>string</openparenthesis> <closeparenthesis>string</closeparenthesis> </searchcriteria> <searchcriteria> <field>string</field> <operator>string</operator> <criteria>string</criteria> <betweencriteria>string</betweencriteria> <connector>string</connector> <openparenthesis>string</openparenthesis> <closeparenthesis>string</closeparenthesis> </searchcriteria> </criterialist> <department>string</department> </GetReportObjectDataLookup> </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> <GetReportObjectDataLookupResponse xmlns="https://hws.alberta.ca/hermis/schema"> <GetReportObjectDataLookupResult>xml</GetReportObjectDataLookupResult> </GetReportObjectDataLookupResponse> </soap12:Body> </soap12:Envelope>