PUT api/DownloadHistory
Request Information
URI Parameters
None.
Body Parameters
DownloadHistoryName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
DocumentTypeFK | integer |
None. |
|
DocumentType | DocumentType |
None. |
|
JsonData | string |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "DocumentTypeFK": 2, "DocumentType": { "RecordNo": 1, "Name": "sample string 2", "FilePath": "sample string 3", "CreatedOn": "2024-12-22T13:08:17.036412+00:00", "UpdatedOn": "2024-12-22T13:08:17.036412+00:00", "IsDeleted": true }, "JsonData": "sample string 3", "CreatedOn": "2024-12-22T13:08:17.036412+00:00", "UpdatedOn": "2024-12-22T13:08:17.036412+00:00", "IsDeleted": true }
application/xml, text/xml
Sample:
<DownloadHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models"> <CreatedOn>2024-12-22T13:08:17.036412+00:00</CreatedOn> <DocumentType> <CreatedOn>2024-12-22T13:08:17.036412+00:00</CreatedOn> <FilePath>sample string 3</FilePath> <IsDeleted>true</IsDeleted> <Name>sample string 2</Name> <RecordNo>1</RecordNo> <UpdatedOn>2024-12-22T13:08:17.036412+00:00</UpdatedOn> </DocumentType> <DocumentTypeFK>2</DocumentTypeFK> <IsDeleted>true</IsDeleted> <JsonData>sample string 3</JsonData> <RecordNo>1</RecordNo> <UpdatedOn>2024-12-22T13:08:17.036412+00:00</UpdatedOn> </DownloadHistory>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.