POST api/ResourcesMaterialApi/AddFile
Request Information
URI Parameters
None.
Body Parameters
ResourcesMaterialAddFileName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
BrId | integer |
None. |
|
FileName | string |
None. |
|
FilePath | string |
None. |
|
FileType | string |
None. |
|
FolderId | integer |
None. |
|
IsDownloadable | boolean |
None. |
|
IsViewable | boolean |
None. |
|
PublishDate | date |
None. |
|
ExpiryDate | date |
None. |
|
CreatedBy | integer |
None. |
|
IsBaseFolder | boolean |
None. |
|
FolderType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "BrId": 2, "FileName": "sample string 3", "FilePath": "sample string 4", "FileType": "sample string 5", "FolderId": 6, "IsDownloadable": true, "IsViewable": true, "PublishDate": "2025-01-09T01:07:31.9662241+05:00", "ExpiryDate": "2025-01-09T01:07:31.9662241+05:00", "CreatedBy": 11, "IsBaseFolder": true, "FolderType": 13 }
application/xml, text/xml
Sample:
<ResourcesMaterialAddFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels"> <BrId>2</BrId> <CreatedBy>11</CreatedBy> <ExpiryDate>2025-01-09T01:07:31.9662241+05:00</ExpiryDate> <FileName>sample string 3</FileName> <FilePath>sample string 4</FilePath> <FileType>sample string 5</FileType> <FolderId>6</FolderId> <FolderType>13</FolderType> <Id>1</Id> <IsBaseFolder>true</IsBaseFolder> <IsDownloadable>true</IsDownloadable> <IsViewable>true</IsViewable> <PublishDate>2025-01-09T01:07:31.9662241+05:00</PublishDate> </ResourcesMaterialAddFile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |