| GET | /GetCardsByCompany2 |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| cardid | query | string | No | |
| UserName | query | string | No | |
| Password | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<CardsByCompany> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| card_id | form | string | No | |
| owner_name | form | string | No | |
| crtime | form | DateTime | No | |
| isbasic | form | bool | No | |
| pincode | form | string | No | |
| spend | form | bool | No | |
| fuel_id | form | int | No | |
| rcount | form | decimal | No | |
| rcount_nolife | form | decimal | No | |
| code | form | string | No | |
| fuelname | form | string | No | |
| owner_mobile | form | string | No | |
| owner_car | form | string | No | |
| limit | form | decimal | 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 /GetCardsByCompany2 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:
[
{
card_id: String,
owner_name: String,
crtime: 0001-01-01,
isbasic: False,
pincode: String,
spend: False,
fuel_id: 0,
rcount: 0,
rcount_nolife: 0,
code: String,
fuelname: String,
owner_mobile: String,
owner_car: String,
limit: 0
}
]
}