Hermis


Click here for a complete list of operations.

GetObjectsInAuthorityByTerm

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/GetObjectsInAuthorityByTerm"

<?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>
    <AuthenticationToken xmlns="https://hws.alberta.ca/hermis/schema">
      <InnerToken>guid</InnerToken>
      <UID_Type>string</UID_Type>
      <UID>int</UID>
      <sUID>string</sUID>
      <Language>string</Language>
      <Errcode>int</Errcode>
      <ErrMessage>string</ErrMessage>
      <Branch>int</Branch>
    </AuthenticationToken>
  </soap:Header>
  <soap:Body>
    <branch xmlns="https://hws.alberta.ca/hermis/schema">AFA or PAA or ARHP</branch>
    <pagesize xmlns="https://hws.alberta.ca/hermis/schema">int</pagesize>
    <pagenumber xmlns="https://hws.alberta.ca/hermis/schema">int</pagenumber>
    <criterialist xmlns="https://hws.alberta.ca/hermis/schema">
      <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>
  </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>
    <GetObjectsInAuthorityByTermResult xmlns="https://hws.alberta.ca/hermis/schema">xml</GetObjectsInAuthorityByTermResult>
  </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>
    <AuthenticationToken xmlns="https://hws.alberta.ca/hermis/schema">
      <InnerToken>guid</InnerToken>
      <UID_Type>string</UID_Type>
      <UID>int</UID>
      <sUID>string</sUID>
      <Language>string</Language>
      <Errcode>int</Errcode>
      <ErrMessage>string</ErrMessage>
      <Branch>int</Branch>
    </AuthenticationToken>
  </soap12:Header>
  <soap12:Body>
    <branch xmlns="https://hws.alberta.ca/hermis/schema">AFA or PAA or ARHP</branch>
    <pagesize xmlns="https://hws.alberta.ca/hermis/schema">int</pagesize>
    <pagenumber xmlns="https://hws.alberta.ca/hermis/schema">int</pagenumber>
    <criterialist xmlns="https://hws.alberta.ca/hermis/schema">
      <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>
  </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>
    <GetObjectsInAuthorityByTermResult xmlns="https://hws.alberta.ca/hermis/schema">xml</GetObjectsInAuthorityByTermResult>
  </soap12:Body>
</soap12:Envelope>