| GET | /GetFixVal |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| unid | query | Guid? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<FixVal> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| unid | form | Guid | No | |
| FixValName | form | string | No | |
| ValueBit | form | bool? | No | |
| ValueInt | form | int? | No | |
| ValueDecimal | form | decimal? | No | |
| ValueNvarchar | form | string | No | |
| ValueDate | form | DateTime? | No | |
| ValueVarbinary | form | byte[] | 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 /GetFixVal HTTP/1.1 Host: axfuel.apex.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:
[
{
unid: 00000000000000000000000000000000,
FixValName: String,
ValueBit: False,
ValueInt: 0,
ValueDecimal: 0,
ValueNvarchar: String,
ValueDate: 0001-01-01,
ValueVarbinary: AA==
}
]
}