POST api/file/insert
Request Information
URI Parameters
None.
Body Parameters
FileModel| Name | Description | Type | Additional 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": "7bfe54d0-4110-4f13-9d51-d47bce508487",
"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": "e31d3cb6-8aa5-486e-8c3c-35457da684db",
"CreatedDate": "2026-01-06T12:54:03.473475+00:00",
"ModifiedUserID": "22ff6365-763b-43b0-8d92-16d350e4eda5",
"ModifiedDate": "2026-01-06T12:54:03.473475+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>2026-01-06T12:54:03.473475+00:00</CreatedDate> <CreatedUserID>e31d3cb6-8aa5-486e-8c3c-35457da684db</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>2026-01-06T12:54:03.473475+00:00</ModifiedDate> <ModifiedUserID>22ff6365-763b-43b0-8d92-16d350e4eda5</ModifiedUserID> <Sort>1</Sort> <Token>7bfe54d0-4110-4f13-9d51-d47bce508487</Token> </FileModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.