| GET | /POS/Pharma/TTAcc |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<PharmaTTAcc> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Acc | form | string | No | |
| Acc_nu | form | string | No | |
| Type | form | int? | No | |
| Discount | form | decimal? | No | |
| VgFix | form | decimal? | No | |
| VgFixMax | form | decimal? | No | |
| VgVat | form | decimal? | No | |
| Note | form | string | No | |
| AccInc | form | string | No | |
| AccExp | form | string | No | |
| FType | form | int? | No | |
| ProviderServiceId | 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/TTAcc HTTP/1.1 Host: 10.10.0.107 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:
[
{
Id: 0,
Acc: String,
Acc_nu: String,
Type: 0,
Discount: 0,
VgFix: 0,
VgFixMax: 0,
VgVat: 0,
Note: String,
AccInc: String,
AccExp: String,
FType: 0,
ProviderServiceId: String
}
]
}