POST api2/redeem_code.json

Redeem unlock code

Request Information

URI Parameters

None.

Body Parameters

API.Models.UnlockCodeRequest
NameDescriptionTypeAdditional information
code

string

Required

projectID

string

None.

ipAddress

string

None.

Request Formats

{
  "code": "sample string 1",
  "projectID": "sample string 2",
  "ipAddress": "sample string 3"
}

Response Information

Resource Description

API.Models.UnlockCodeResponse
NameDescriptionTypeAdditional information
ok

Unlock code valid

boolean

None.

content

Unlock code contained Products

Collection of API.Models.MyContent

None.

message

Message

string

None.

orderID

OrderID

integer

None.

Response Formats

{
  "ok": true,
  "content": [
    {
      "Tagging": {
        "Year": "sample string 1",
        "Chapters": "sample string 2",
        "Runtime": "sample string 3",
        "Album": "sample string 4",
        "Entries": [
          {
            "Type": "sample string 1",
            "Name": "sample string 2",
            "Role": "sample string 3"
          },
          {
            "Type": "sample string 1",
            "Name": "sample string 2",
            "Role": "sample string 3"
          }
        ],
        "Genres": [
          {
            "Name": "sample string 1"
          },
          {
            "Name": "sample string 1"
          }
        ],
        "Studios": [
          {
            "Name": "sample string 1"
          },
          {
            "Name": "sample string 1"
          }
        ],
        "ChapterDetails": [
          {
            "Name": "sample string 1",
            "Runtime": 2
          },
          {
            "Name": "sample string 1",
            "Runtime": 2
          }
        ]
      },
      "ProjectID": 1,
      "LongProjectID": "sample string 2",
      "Title": "sample string 3",
      "Description": "sample string 4",
      "ContentType": "fluxDVD",
      "PictureURL": "sample string 5",
      "ReleaseDate": "2024-06-13T08:46:40.5790379+02:00",
      "OrderDate": "2024-06-13T08:46:40.5790379+02:00",
      "DRM": true,
      "ShopID": 8,
      "OrderLicenseType": "Unknown",
      "Categories": [],
      "ContentModifiedDate": "2024-06-13T08:46:40.5790379+02:00",
      "AutoUpdate": 10,
      "CompanyID": 11,
      "ParentID": 12,
      "Watermark": true,
      "Attachments": 14,
      "HD": true,
      "Comment": "sample string 16"
    },
    {
      "Tagging": {
        "Year": "sample string 1",
        "Chapters": "sample string 2",
        "Runtime": "sample string 3",
        "Album": "sample string 4",
        "Entries": [
          {
            "Type": "sample string 1",
            "Name": "sample string 2",
            "Role": "sample string 3"
          },
          {
            "Type": "sample string 1",
            "Name": "sample string 2",
            "Role": "sample string 3"
          }
        ],
        "Genres": [
          {
            "Name": "sample string 1"
          },
          {
            "Name": "sample string 1"
          }
        ],
        "Studios": [
          {
            "Name": "sample string 1"
          },
          {
            "Name": "sample string 1"
          }
        ],
        "ChapterDetails": [
          {
            "Name": "sample string 1",
            "Runtime": 2
          },
          {
            "Name": "sample string 1",
            "Runtime": 2
          }
        ]
      },
      "ProjectID": 1,
      "LongProjectID": "sample string 2",
      "Title": "sample string 3",
      "Description": "sample string 4",
      "ContentType": "fluxDVD",
      "PictureURL": "sample string 5",
      "ReleaseDate": "2024-06-13T08:46:40.5790379+02:00",
      "OrderDate": "2024-06-13T08:46:40.5790379+02:00",
      "DRM": true,
      "ShopID": 8,
      "OrderLicenseType": "Unknown",
      "Categories": [],
      "ContentModifiedDate": "2024-06-13T08:46:40.5790379+02:00",
      "AutoUpdate": 10,
      "CompanyID": 11,
      "ParentID": 12,
      "Watermark": true,
      "Attachments": 14,
      "HD": true,
      "Comment": "sample string 16"
    }
  ],
  "message": "sample string 2",
  "orderID": 3
}