GET api/Data/{id}

Fornisce un metadato che rappresenta la struttura di un dato specifico. Per utilizzare questo metodo è necessario conoscere l'ID del dato ricercato. Per ricavare l'ID è possibile utilizzare le apposite funzioni di ricerca del servizio

Request Information

Parameters

NameDescriptionAdditional information
id
ID del dato

Define this parameter in the request URI.

Response Information

Struttura che rappresenta il metadato cercato

Response body formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Description": "sample string 2",
  "keywords": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "MetadataUrl": "sample string 3",
  "License": "sample string 4",
  "LicenseIconUrl": "sample string 5",
  "Topics": "sample string 6",
  "TopicsIconUrl": "sample string 7",
  "UploadedFile": "sample string 8",
  "UploadedDocumentationFile": "sample string 9",
  "ServiceUrl": "sample string 10",
  "Publisher": "sample string 11",
  "DataType": "sample string 12",
  "DataTypeIconUrl": "sample string 13",
  "DataFormat": "sample string 14",
  "DataArguments": "sample string 15",
  "CreationDate": "2021-10-18T15:21:39.3506602+02:00",
  "LastChange": "2021-10-18T15:21:39.3506602+02:00",
  "PublishingDate": "2021-10-18T15:21:39.3506602+02:00",
  "ExpirationDate": "2021-10-18T15:21:39.3506602+02:00",
  "Published": true,
  "_Id": "sample string 21"
}

application/xml, text/xml

Sample:
<Metadata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaleOpenData.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Joshua.Models">sample string 21</Id>
  <_Id xmlns="http://schemas.datacontract.org/2004/07/Joshua.Models">sample string 21</_Id>
  <CreationDate>2021-10-18T15:21:39.3506602+02:00</CreationDate>
  <DataArguments>sample string 15</DataArguments>
  <DataFormat>sample string 14</DataFormat>
  <DataType>sample string 12</DataType>
  <DataTypeIconUrl>sample string 13</DataTypeIconUrl>
  <Description>sample string 2</Description>
  <DocumentationFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <ExpirationDate>2021-10-18T15:21:39.3506602+02:00</ExpirationDate>
  <File xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <LastChange>2021-10-18T15:21:39.3506602+02:00</LastChange>
  <License>sample string 4</License>
  <LicenseIconUrl>sample string 5</LicenseIconUrl>
  <MetadataUrl>sample string 3</MetadataUrl>
  <Published>true</Published>
  <Publisher>sample string 11</Publisher>
  <PublishingDate>2021-10-18T15:21:39.3506602+02:00</PublishingDate>
  <ServiceUrl>sample string 10</ServiceUrl>
  <Title>sample string 1</Title>
  <Topics>sample string 6</Topics>
  <TopicsIconUrl>sample string 7</TopicsIconUrl>
  <UploadedDocumentationFile>sample string 9</UploadedDocumentationFile>
  <UploadedFile>sample string 8</UploadedFile>
  <keywords xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </keywords>
</Metadata>