| GET | /api/v1/games/{GameId}/giftcode/received |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GameId | path | int | 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/games/{GameId}/giftcode/received 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:
[
{
eventId: 0,
eventName: String,
eventUrl: String,
description: String,
iconUrl: String,
label: String,
labelColor: String,
eventType: 0,
code: String,
serverId: String,
characterId: String,
characterName: String,
startDate: "0001-01-01T00:00:00.0000000+07:06",
dueDate: "0001-01-01T00:00:00.0000000+07:06",
eventStartDate: "0001-01-01T00:00:00.0000000+07:06",
eventEndDate: "0001-01-01T00:00:00.0000000+07:06",
isUsed: False
}
]
}