GET resources?systemName={systemName}&systemDataId={systemDataId}&systemEntityType={systemEntityType}

Use this format to retrieve a Resource using its composite key (i.e. the values taken from its originating system) rather than its DDP-assigned Resource id. Response body contains a JSON description of the Resource properties.

Returns "200 OK" if the Resource retrieval occurs successfully.

Returns "404 Not Found" if the Resource does not exist in Data.Parliament.

Request Information

Parameters

NameDescriptionAdditional information
systemName
The Name of the Client System to which the Resource belongs.

Define this parameter in the request URI.

systemDataId
The Data Id of the Resource.

Define this parameter in the request URI.

systemEntityType
The Entity TYpe of the Resource.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompositeResourceKey": {
    "SystemName": "sample string 1",
    "SystemDataId": "sample string 2",
    "SystemEntityType": "sample string 3"
  },
  "IsPublic": true,
  "ResourceVersion": 3,
  "ResourceFileURIs": [
    "http://data.parliament.uk/1",
    "http://data.parliament.uk/2",
    "http://data.parliament.uk/3"
  ],
  "ResourceFiles": [
    {
      "ResourceFileURI": "http://data.parliament.uk/1",
      "ResourceFileVersion": 2
    },
    {
      "ResourceFileURI": "http://data.parliament.uk/1",
      "ResourceFileVersion": 2
    },
    {
      "ResourceFileURI": "http://data.parliament.uk/1",
      "ResourceFileVersion": 2
    }
  ],
  "DatasetURIs": [
    "http://data.parliament.uk/1",
    "http://data.parliament.uk/2",
    "http://data.parliament.uk/3"
  ]
}