Documents

Document Retrieval of related Formulary documents based on the ProductID, FormularyID and IndicationID. These documents can be further filtered to either return or not return the Druglist Documents based on the 'IncludeDrugList' parameter value.


Document links (by ProductId, FormularyId and IndicationId)

Pharmacy Documents (by ProductId, FormularyId and IndicationId)

Retrieve Documents by DocumentId


Document links (by ProductId, FormularyId and IndicationId)


Request URL
GET Formulary/v1/Notes/Documents


URI Parameters

NameDescription Type Required / Optional
ProductId

ProductId used to search for Document Links

integer

Required

FormularyId

FormularyId used to search for Document Links

integer

Required

IndicationId

IndicationId used to search for Document Links

integer

Optional


Resource Description of Response Object

DocumentLinksResponse
NameDescription Type Required / Optional
DocumentLinks

Collection of DocumentLink

Optional


Available Response Formats & Sample Data

{
  "DocumentLinks": [
    {
      "IndicationId": 1,
      "URLs": "sample string 2"
    },
    {
      "IndicationId": 1,
      "URLs": "sample string 2"
    }
  ]
}
<DocumentLinksResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.mmitnetwork.com/formulary/notes">
  <DocumentLinks>
    <DocumentLink>
      <IndicationId>1</IndicationId>
      <URLs>sample string 2</URLs>
    </DocumentLink>
    <DocumentLink>
      <IndicationId>1</IndicationId>
      <URLs>sample string 2</URLs>
    </DocumentLink>
  </DocumentLinks>
</DocumentLinksResponse>

Build Request


NameDescription Input Value Type Required / Optional
ProductId

ProductId used to search for Document Links

integer

Required

FormularyId

FormularyId used to search for Document Links

integer

Required

IndicationId

IndicationId used to search for Document Links

integer

Optional





Request URL

GET Formulary/v1/Notes/Documents?ProductId=ProductId&FormularyId=FormularyId&IndicationId=IndicationId

Status

Response Details

            
            

Pharmacy Documents (by ProductId, FormularyId and IndicationId)


Request URL
GET Formulary/v1/Notes/DocumentLinks

Retrieve Documents by DocumentId


Request URL
GET Formulary/v1/Notes/Documents/Lookup


URI Parameters

NameDescription Type Required / Optional
DocumentId

GUID (4F79B1F9-324C-4254-8506-C08E9917C2B6) or Numeric (613108) Format

string

Required


Resource Description of Response Object

Binary Representation of a file. Returns Status Code of 500 when document not found.

HttpResponseMessage
NameDescription Type Required / Optional
Version

Version

Optional

Content

HttpContent

Optional

StatusCode

HttpStatusCode

Optional

ReasonPhrase

string

Optional

Headers

Collection of Object

Optional

RequestMessage

HttpRequestMessage

Optional

IsSuccessStatusCode

boolean

Optional


Available Response Formats & Sample Data


Build Request


NameDescription Input Value Type Required / Optional
DocumentId

GUID (4F79B1F9-324C-4254-8506-C08E9917C2B6) or Numeric (613108) Format

string

Required





Request URL

GET Formulary/v1/Notes/Documents/Lookup?DocumentId=DocumentId

Status

Response Details