Health Library Webservice


GetArticle


Returns article as well formed html for a given ChunkIID. This web method requires a token that is available to the customer during registration.


Test

To test the operation using the HTTP GET protocol, click the 'Invoke' button.
Parameter Value
Token:
ChunkIID:

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

POST /healthinfo/Library.asmx HTTP/1.1
Host: webservices.healthgate.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.healthgate.com/HealthInfo/GetArticle"

<?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>
    <GetArticle xmlns="http://webservices.healthgate.com/HealthInfo/">
      <Token>string</Token>
      <ChunkIID>int</ChunkIID>
    </GetArticle>
  </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>
    <GetArticleResponse xmlns="http://webservices.healthgate.com/HealthInfo/">
      <GetArticleResult>xml</GetArticleResult>
    </GetArticleResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /healthinfo/Library.asmx/GetArticle?
Token=string&ChunkIID=string HTTP/1.1
Host: webservices.healthgate.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /healthinfo/Library.asmx/GetArticle HTTP/1.1
Host: webservices.healthgate.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Token=string&ChunkIID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml