GET | /POS/Pharma/Prescriptions |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PrescriptionNumber | query | string | No | |
PersonalNumber | query | string | No | |
PolicyNumber | query | string | No | |
CardNumber | query | string | No | |
CofoundingProviderId | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Products | form | List<PrescriptionProduct> | No | |
Info | form | PrescriptionInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PrescribedQuantity | form | decimal | No | |
LeftQuantity | form | decimal | No | |
CofoundingPrice | form | decimal? | No | |
CofoundingCoveragePercent | form | decimal? | No | |
Product | form | PharmaPosProduct | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BCode | form | string | No | |
ProdId | form | string | No | |
Name | form | string | No | |
GenericName | form | string | No | |
GenericId | form | string | No | |
ProducerName | form | string | No | |
ProducerCountry | form | string | No | |
PackCount | form | short | No | |
PackBCount | form | decimal | No | |
Vat | form | decimal | No | |
Unit | form | string | No | |
PDose | form | string | No | |
RCount | form | decimal | No | |
Priority | form | int? | No | |
Action | form | int? | No | |
Specific | form | bool | No | |
IsService | form | int | No | |
CategoryId | form | string | No | |
ProducerId | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
PrescriptionNumber | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
PersonalNumber | form | string | No | |
OpDate | form | DateTime | No | |
ExpirationDate | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /POS/Pharma/Prescriptions HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Products: [ { PrescribedQuantity: 0, LeftQuantity: 0, CofoundingPrice: 0, CofoundingCoveragePercent: 0, Product: { BCode: String, ProdId: String, Name: String, GenericName: String, GenericId: String, ProducerName: String, ProducerCountry: String, PackCount: 0, PackBCount: 0, Vat: 0, Unit: String, PDose: String, RCount: 0, Priority: 0, Action: 0, Specific: False, IsService: 0, CategoryId: String, ProducerId: String } } ], Info: { ID: 0, PrescriptionNumber: String, FirstName: String, LastName: String, PersonalNumber: String, OpDate: 0001-01-01, ExpirationDate: 0001-01-01 } }