GET | /POS/Pharma/{PosId}/Products/Supplies |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PosId | path | int | No | |
ReceiptId | query | Guid | No | |
ClientAcc | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<PharmaPosProductSupplie> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SupplieId | form | string | No | |
Code | form | string | No | |
DestNumber | form | string | No | |
LifeDate | form | DateTime? | No | |
RCount | form | decimal | No | |
dDate | form | DateTime | No | |
SupplierAccount | form | string | No | |
SupplierName | form | string | No | |
MaxDiscount | form | decimal | No | |
PriceGR | form | decimal | No | |
PriceGT | form | decimal | No | |
Points | form | decimal | No | |
IsService | form | int | No | |
Prod | 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 |
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/{PosId}/Products/Supplies 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 } }, Result: [ { SupplieId: String, Code: String, DestNumber: String, LifeDate: 0001-01-01, RCount: 0, dDate: 0001-01-01, SupplierAccount: String, SupplierName: String, MaxDiscount: 0, PriceGR: 0, PriceGT: 0, Points: 0, IsService: 0, Prod: { 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 } } ] }