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": "bd9ec36e-c5ae-4dfb-8f54-15693131908e",
  "tenantId": "d2d8a0f7-7daf-4fc4-8943-694423837724",
  "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": "2026-04-01T11:57:01.7048563+00:00",
  "updatedDateUtc": "2026-04-01T11:57:01.7048563+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>2026-04-01T11:57:01.7048563+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-01T11:57:01.7048563+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>bd9ec36e-c5ae-4dfb-8f54-15693131908e</FileId>
  <IsShared>true</IsShared>
  <Name>sample string 3</Name>
  <Size>1</Size>
  <TenantId>d2d8a0f7-7daf-4fc4-8943-694423837724</TenantId>
</FileRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.