POST api/file/insert
Request Information
URI Parameters
None.
Body Parameters
FileModelName | 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": "d3b4a7d8-35ab-4d80-9a11-ee593a67ad36", "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": "83f79bd8-b25f-4c2b-8604-c455931dc77e", "CreatedDate": "2025-08-28T23:32:54.0057465+00:00", "ModifiedUserID": "af0a7553-b2af-479b-a627-ad474716847e", "ModifiedDate": "2025-08-28T23:32:54.0057465+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:54.0057465+00:00</CreatedDate> <CreatedUserID>83f79bd8-b25f-4c2b-8604-c455931dc77e</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:54.0057465+00:00</ModifiedDate> <ModifiedUserID>af0a7553-b2af-479b-a627-ad474716847e</ModifiedUserID> <Sort>1</Sort> <Token>d3b4a7d8-35ab-4d80-9a11-ee593a67ad36</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.