GET api2/unlockcodes/{project_id}.json

Get available unlock codes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
project_id

Product ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of API.Models.CustomerCodes
NameDescriptionTypeAdditional information
code

Unlock Code

string

None.

max_unlock_count

Maximum code usage

integer

None.

current_unlock_count

Current code usage

integer

None.

project_id

Product ID

integer

None.

is_gift

Gift Order

boolean

None.

num_user

Number of total users

integer

None.

order_id

Order ID

integer

None.

Response Formats

[
  {
    "code": "sample string 1",
    "max_unlock_count": 2,
    "current_unlock_count": 3,
    "project_id": 4,
    "is_gift": true,
    "num_user": 6,
    "order_id": 7
  },
  {
    "code": "sample string 1",
    "max_unlock_count": 2,
    "current_unlock_count": 3,
    "project_id": 4,
    "is_gift": true,
    "num_user": 6,
    "order_id": 7
  }
]