ApexERPHost

<back to all web services

GetMohPrescription

Requires Authentication
The following routes are available for this service:
GET/POS/MOH/Prescription/{IdNumber}
GET/POS/MOH/Prescription
GetMohPrescription Parameters:
NameParameterData TypeRequiredDescription
BranchNumqueryintNo
IdNumberpathstringNo
BirthDatequeryDateTimeNo
StatusqueryintNo
GetMohPrescriptionResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<MohPrescription>No
MohPrescription Parameters:
NameParameterData TypeRequiredDescription
UNIDformintNo
DSformstringNo
Is_GenericformintNo
Product_IDformintNo
Prescr_IDformstringNo
RecipeNoformstringNo
Oper_DateformDateTime?No
DurationformDateTime?No
Prod_DescrformstringNo
ProductGenericformstringNo
Dosage_PrivformboolNo
Prod_CountformintNo
Prod_LeftformintNo
StatusformstringNo
PharmaTherapyGroupformstringNo
IssuanceModeformstringNo
IdNumberformstringNo
BirthdayformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /POS/MOH/Prescription/{IdNumber} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetMohPrescriptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.POS">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Result>
    <MohPrescription>
      <UNID>0</UNID>
      <DS>String</DS>
      <Is_Generic>0</Is_Generic>
      <Product_ID>0</Product_ID>
      <Prescr_ID>String</Prescr_ID>
      <RecipeNo>String</RecipeNo>
      <Oper_Date>0001-01-01T00:00:00</Oper_Date>
      <Duration>0001-01-01T00:00:00</Duration>
      <Prod_Descr>String</Prod_Descr>
      <ProductGeneric>String</ProductGeneric>
      <Dosage_Priv>false</Dosage_Priv>
      <Prod_Count>0</Prod_Count>
      <Prod_Left>0</Prod_Left>
      <Status>String</Status>
      <PharmaTherapyGroup>String</PharmaTherapyGroup>
      <IssuanceMode>String</IssuanceMode>
      <IdNumber>String</IdNumber>
      <Birthday>0001-01-01T00:00:00</Birthday>
    </MohPrescription>
  </Result>
</GetMohPrescriptionResponse>