POST api/AddFiles
Request Information
URI Parameters
None.
Body Parameters
FilesName | Description | Type | Additional information |
---|---|---|---|
FileID | integer |
None. |
|
CategoryID | integer |
None. |
|
FileType | string |
None. |
|
Extension | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | date |
None. |
|
SortOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FileID": 1, "CategoryID": 2, "FileType": "sample string 3", "Extension": "sample string 4", "CreatedBy": "sample string 5", "CreatedOn": "2024-12-22T01:02:29.7117721-08:00", "SortOrder": 7 }
application/xml, text/xml
Sample:
<Files xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models"> <CategoryID>2</CategoryID> <CreatedBy>sample string 5</CreatedBy> <CreatedOn>2024-12-22T01:02:29.7117721-08:00</CreatedOn> <Extension>sample string 4</Extension> <FileID>1</FileID> <FileType>sample string 3</FileType> <SortOrder>7</SortOrder> </Files>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>