POST api2/redeem_code_for.json

Redeem unlock code for email address

Request Information

URI Parameters

None.

Body Parameters

API.Models.UnlockCodeForRequest
NameDescriptionTypeAdditional information
email

string

Required

password

string

Required

firstName

string

None.

lastName

string

None.

companyName

string

None.

code

string

Required

projectID

string

None.

ipAddress

string

None.

Request Formats

{
  "email": "sample string 1",
  "password": "sample string 2",
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "companyName": "sample string 5",
  "code": "sample string 6",
  "projectID": "sample string 7",
  "ipAddress": "sample string 8"
}

Response Information

Resource Description

API.Models.UnlockCodeForResponse
NameDescriptionTypeAdditional information
existingUser

Is existing User

boolean

None.

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

{
  "existingUser": true,
  "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-10-09T22:13:28.7976279+02:00",
      "OrderDate": "2024-10-09T22:13:28.7976279+02:00",
      "DRM": true,
      "ShopID": 8,
      "OrderLicenseType": "Unknown",
      "Categories": [],
      "ContentModifiedDate": "2024-10-09T22:13:28.7976279+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-10-09T22:13:28.7976279+02:00",
      "OrderDate": "2024-10-09T22:13:28.7976279+02:00",
      "DRM": true,
      "ShopID": 8,
      "OrderLicenseType": "Unknown",
      "Categories": [],
      "ContentModifiedDate": "2024-10-09T22:13:28.7976279+02:00",
      "AutoUpdate": 10,
      "CompanyID": 11,
      "ParentID": 12,
      "Watermark": true,
      "Attachments": 14,
      "HD": true,
      "Comment": "sample string 16"
    }
  ],
  "message": "sample string 3",
  "orderID": 4
}