| GET | /api/v1/logs/giftcode |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GameId | query | int | No | |
| FromDate | query | DateTime | No | |
| ToDate | query | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Page | form | int | No | |
| Limit | form | int | No | |
| OffSet | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Code | form | int | No | |
| Message | form | string | Yes | |
| Data | form | List<ReceivedGiftcodeResponse> | Yes | |
| Pagination | form | Pagination | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | form | int | No | |
| EventName | form | string | Yes | |
| EventUrl | form | string | No | |
| Description | form | string | No | |
| IconUrl | form | string | No | |
| Label | form | string | No | |
| LabelColor | form | string | No | |
| EventType | form | int | No | |
| Code | form | string | No | |
| ServerId | form | string | No | |
| CharacterId | form | string | No | |
| CharacterName | form | string | No | |
| StartDate | form | DateTime? | No | |
| DueDate | form | DateTime? | No | |
| EventStartDate | form | DateTime? | No | |
| EventEndDate | form | DateTime? | No | |
| CreatedDate | form | DateTime | No | |
| IsUsed | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Total | form | long | No | |
| Pages | form | int | No | |
| Offset | form | long | No | |
| Limit | form | int | No | |
| CurrentPage | form | int | 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 /api/v1/logs/giftcode HTTP/1.1 Host: efun-id-api-sandbox.efun.vn Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
code: 0,
message: String,
data:
[
{
userId: 0,
userName: String,
vipPoint: 0,
orderId: String,
exportCode: String,
giftCode: String,
gameId: 0,
gameName: String,
serverId: 0,
serverName: String,
packageId: 0,
packageName: String,
characterId: String,
characterName: String,
payCode: 0,
payMsg: String,
ipAddress: String,
userAgent: String,
signature: String,
responseData: String,
id: 000000000000000000000000
}
]
}