FORMAT: 1A
HOST: http://192.168.0.53:5555

# Group Vectorapi
Group of all vectorapi-related resources.

## Releasebyparam

This resource is used to retrieve data by params which sent by client. This parameters should be from either release
or track or artist_info or subaccount table. Response contains the data from specified tables. 

## Index [/vectorapi/releasebyparam/index{?limit,access_token,vendorId,param}]

### Index [GET]

+ Parameters

    + limit (optional,number, `2`)
    + access_token (optional,varchar, `some token`)
    + vendorId (Required,number, `7123`)
    + param (optional,varchar, `{"release":{"upc":"888831223023"}}`)


+ Request JSON Message
    
    + Headers

            Accept: application/json

+ Response 200 (application/json)

    + Body
{
  "envelope": {
    "header": {
      "apiVersion": "1.0",
      "baseUrl": "192.168.0.69",
      "httpStatusCode": 200
    },
    "request": "releasebyparam/index?params=vectorapi&releasebyparam&index&json&2&<some_token>&7123&{\"release\":{\"upc\":\"888831223023\"}}",
    "response": {
      "result": [
        {
          "releaseId": 1369995,
          "upc": "888831223023",
          "releaseName": "Select Existing Track",
          "label": "121st Street Records",
          "description": "",
          "releaseDate": "2014-06-26",
          "listprice": null,
          "sellprice": null,
          "display": "Y",
          "deletions": "N",
          "distribution": "digital",
          "applfees": null,
          "referralId": null,
          "dateAddedRemove": null,
          "format": "Full Length",
          "origReleaseYear": null,
          "promocode": null,
          "cLine": "2014 Test Label",
          "manufacturerUpc": "",
          "albumDownload": "Y",
          "downloadPrice": null,
          "priority": 3,
          "territory": null,
          "saleStartDate": "2014-06-26",
          "originalReleaseDate": null,
          "vendorCatalogNumber": "",
          "languageId": null,
          "subtitleLanguageId": null,
          "promoboxNo": null,
          "additionalId": null,
          "dracatalog": null,
          "channelId": null,
          "trackdownBlackList": "N",
          "notForDistribution": "N",
          "europePublicDomain": null,
          "karaoke": null,
          "unknownArtist": null,
          "newRelease": "New",
          "productFormat": null,
          "promosNumber": null,
          "promoUpc": null,
          "syncOnly": "N",
          "countryOfOrigin": null,
          "shortSynopsis": null,
          "keywords": null,
          "productionCo": null,
          "preorderDate": "1900-01-01",
          "amdId": null,
          "wholesalePriceTier": null,
          "season": null,
          "episode": null,
          "productionNumber": null,
          "network": null,
          "genreNote": null,
          "vodStartDate": null,
          "physicalReleaseDate": null,
          "theatricalReleaseDate": null,
          "originalDigitalReleaseDate": null,
          "est": null,
          "vod": null,
          "rsdComment": null,
          "intMktManager": null,
          "tmsId": null,
          "brand": null,
          "digitalOnly": "N",
          "version": "",
          "ingestionCompleted": null,
          "releaseStatus": "label_processing",
          "displayUpc": "888831223023",
          "lastUpdated": "2014-06-02 13:58:00",
          "metaLanguage": "ENG",
          "itunesPreviewable": "yes",
          "vendorReleaseIdentifier": null,
          "ArtistInfo": {
            "artistId": 603918,
            "url": "",
            "artistEmail": null,
            "whenEntered": {
              "date": "2013-07-11 17:39:25",
              "timezone_type": 3,
              "timezone": "America/New_York"
            },
            "enteredBy": "16888",
            "description": "",
            "name": "000000 DuPre Test",
            "vendorId": 7123,
            "lastUpdated": {
              "date": "2013-07-11 17:40:14",
              "timezone_type": 3,
              "timezone": "America/New_York"
            },
            "joinArtistId": null,
            "myspaceUrl": "",
            "myspaceId": null,
            "addressCity": "",
            "addressState": 0,
            "addressOtherState": "",
            "orchardCountry": 1,
            "active": "-",
            "tmsId": "",
            "addressZip": "",
            "youtubeMytourdateUrl": null,
            "twitterMytourdateUrl": "http://www.theorchard.com/artist/603918/bio",
            "primaryPhoto": null,
            "artistType": "artist"
          },
          "Track": [
            {
              "id": 16716809,
              "trackName": "First",
              "upc": "888831223023",
              "cd": 1,
              "trackId": 1,
              "orchdmclip": null,
              "sample": "N",
              "dmclips": null,
              "isrc": "QMFMF1444250",
              "lengthMinute": null,
              "lengthSeconds": null,
              "writer": null,
              "credit": "orig_comp",
              "mechanical": "no",
              "publisher": null,
              "publishCompany": null,
              "dpdLicense": "no",
              "explicitLyrics": "N",
              "version": "",
              "purchasable": "Y",
              "downloadPrice": null,
              "pLine": "2013 arkepr in",
              "hidden": null,
              "offerType": "all",
              "digDistributionType": "digital_mobile",
              "thirdPartyPublisher": "N",
              "royaltyCollection": "Y",
              "publishingAdmin": "N",
              "syncAdmin": "Y",
              "additionalId": null,
              "trackType": "music",
              "mp3Url": null,
              "stereoOrMono": null,
              "bonus": "N",
              "recommended": "N",
              "youtubeMatches": "Monetize",
              "youtubeUploads": null,
              "preorderOnly": "N",
              "originalFileName": "abc.wav",
              "lastUpdated": "2014-06-02 13:54:24",
              "metaLanguage": "ENG",
              "previewStartTime": null,
              "closedCaptionExists": null,
              "vendorTrackIdentifier": null,
              "TrackArtist": [
                {
                  "id": 52007321,
                  "type": "performer",
                  "name": "000000 DuPre Test"
                }
              ],
              "TrackWriter": [],
              "TrackPublisher": []
            }
          ],
          "Subaccount": null
        }
      ]
    }
  }
}




+ **Other Optional Parameters**

    +limit
    + offset
    + vendorId
    + param //{"release":{"upc":"888831223023"}} , {"track":{"trackName":"Track 9"}}
