| GET | /GetInvoices |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | query | int? | No | |
| D1 | query | DateTime? | No | |
| D2 | query | DateTime? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<InvoicesF> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CompanyName | form | string | No | |
| PreorderNum | form | string | No | |
| PTypeName | form | string | No | |
| UserName | form | string | No | |
| CompanyCode | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int? | No | |
| Ddate | form | DateTime | No | |
| CompanyId | form | int | No | |
| Vg | form | decimal | No | |
| Invnum | form | string | No | |
| Comment | form | string | No | |
| Vat | form | bool | No | |
| PreorderId | form | int? | No | |
| PType | form | int? | No | |
| CUser | form | string | No | |
| Crtime | 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 /GetInvoices 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:
[
{
CompanyName: String,
PreorderNum: String,
PTypeName: String,
UserName: String,
CompanyCode: String,
Id: 0,
Ddate: 0001-01-01,
CompanyId: 0,
Vg: 0,
Invnum: String,
Comment: String,
Vat: False,
PreorderId: 0,
PType: 0,
CUser: String,
Crtime: 0001-01-01
}
]
}