Cyan Web API - Version 1


POST api/filemetadata

            Creates a metadata record that is used to track files uploaded to blob storage
            

Request Information

Parameters

NameDescriptionAdditional information
fileRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "fileId": "42ceebc9-dca1-4bcf-9383-9b3360fc9abf",
  "tenantId": "f9dbdeac-35b1-4272-9785-5ae17170c6b8",
  "name": "sample string 3",
  "description": "sample string 4",
  "blobStorageUrl": "sample string 5",
  "size": 1,
  "contentType": "sample string 6",
  "isShared": true,
  "correlationId": "sample string 8",
  "createdBy": "sample string 9",
  "createdDateUtc": "2025-04-21T01:07:48.7092336+00:00",
  "updatedDateUtc": "2025-04-21T01:07:48.7092336+00:00"
}

application/xml, text/xml

Sample:
<FileRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2025-04-21T01:07:48.7092336+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-04-21T01:07:48.7092336+00:00</UpdatedDateUtc>
  <BlobStorageUrl>sample string 5</BlobStorageUrl>
  <ContentType>sample string 6</ContentType>
  <CorrelationId>sample string 8</CorrelationId>
  <CreatedBy>sample string 9</CreatedBy>
  <Description>sample string 4</Description>
  <FileId>42ceebc9-dca1-4bcf-9383-9b3360fc9abf</FileId>
  <IsShared>true</IsShared>
  <Name>sample string 3</Name>
  <Size>1</Size>
  <TenantId>f9dbdeac-35b1-4272-9785-5ae17170c6b8</TenantId>
</FileRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.