POST api/file/Update

Request Information

URI Parameters

None.

Body Parameters

FileModel
NameDescriptionTypeAdditional information
Token

globally unique identifier

None.

ID

integer

None.

CompanyID

integer

None.

Data

Collection of byte

None.

Length

integer

None.

ContentType

string

None.

FileName

string

None.

FileExtension

string

None.

IsListedInFolders

boolean

None.

FolderID

integer

None.

IsPublicImage

boolean

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

Sort

integer

None.

ImageID

integer

None.

CreatedUserID

globally unique identifier

None.

CreatedDate

date

None.

ModifiedUserID

globally unique identifier

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "7a31d066-fdc2-4754-8b2f-55c1da85f8f7",
  "ID": 2,
  "CompanyID": 3,
  "Data": "QEA=",
  "Length": 4,
  "ContentType": "sample string 5",
  "FileName": "sample string 6",
  "FileExtension": "sample string 7",
  "IsListedInFolders": true,
  "FolderID": 1,
  "IsPublicImage": true,
  "IsDeleted": true,
  "IsActive": true,
  "Sort": 1,
  "ImageID": 1,
  "CreatedUserID": "7c673576-c2e3-427c-af7a-6da69278fdf2",
  "CreatedDate": "2025-08-28T23:32:46.5903608+00:00",
  "ModifiedUserID": "eb5e64b3-abe4-461f-a337-cb5eb9870b28",
  "ModifiedDate": "2025-08-28T23:32:46.5903608+00:00"
}

application/xml, text/xml

Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core.FileModels">
  <CompanyID>3</CompanyID>
  <ContentType>sample string 5</ContentType>
  <CreatedDate>2025-08-28T23:32:46.5903608+00:00</CreatedDate>
  <CreatedUserID>7c673576-c2e3-427c-af7a-6da69278fdf2</CreatedUserID>
  <Data>QEA=</Data>
  <FileExtension>sample string 7</FileExtension>
  <FileName>sample string 6</FileName>
  <FolderID>1</FolderID>
  <ID>2</ID>
  <ImageID>1</ImageID>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <IsListedInFolders>true</IsListedInFolders>
  <IsPublicImage>true</IsPublicImage>
  <Length>4</Length>
  <ModifiedDate>2025-08-28T23:32:46.5903608+00:00</ModifiedDate>
  <ModifiedUserID>eb5e64b3-abe4-461f-a337-cb5eb9870b28</ModifiedUserID>
  <Sort>1</Sort>
  <Token>7a31d066-fdc2-4754-8b2f-55c1da85f8f7</Token>
</FileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.