POST api/Library/AddDocumentDetails

Request Information

URI Parameters

None.

Body Parameters

ManageDocumentModel
NameDescriptionTypeAdditional information
EmployeeId

decimal number

None.

DocumentId

decimal number

None.

DocId

decimal number

None.

LibraryCategoryId

string

None.

LibraryTagID

string

None.

DocumentCatagoryMasterID

string

None.

DocumentCategoryTagMasterID

string

None.

YearId

string

None.

NYearId

string

None.

DocumentTitle

string

None.

NDocumentTitle

string

None.

UploadDocument

string

None.

NUploadDocument

string

None.

IsRenewable

boolean

None.

OldRef

decimal number

None.

NextRenewDate

date

None.

NNextRenewDate

date

None.

ReminderDate

date

None.

NReminderDate

date

None.

IsDisplay

boolean

None.

IsActive

boolean

None.

IsUpdatedOn

date

None.

IsUpdatedBy

decimal number

None.

IsDeletedOn

date

None.

IsDeletedBy

decimal number

None.

IsAddOn

date

None.

IsAddBy

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1.0,
  "DocumentId": 2.0,
  "DocId": 3.0,
  "LibraryCategoryId": "sample string 4",
  "LibraryTagID": "sample string 5",
  "DocumentCatagoryMasterID": "sample string 6",
  "DocumentCategoryTagMasterID": "sample string 7",
  "YearId": "sample string 8",
  "NYearId": "sample string 9",
  "DocumentTitle": "sample string 10",
  "NDocumentTitle": "sample string 11",
  "UploadDocument": "sample string 12",
  "NUploadDocument": "sample string 13",
  "IsRenewable": true,
  "OldRef": 1.0,
  "NextRenewDate": "2025-12-06T08:50:58.1259169+05:30",
  "NNextRenewDate": "2025-12-06T08:50:58.1259169+05:30",
  "ReminderDate": "2025-12-06T08:50:58.1259169+05:30",
  "NReminderDate": "2025-12-06T08:50:58.1259169+05:30",
  "IsDisplay": true,
  "IsActive": true,
  "IsUpdatedOn": "2025-12-06T08:50:58.1259169+05:30",
  "IsUpdatedBy": 1.0,
  "IsDeletedOn": "2025-12-06T08:50:58.1259169+05:30",
  "IsDeletedBy": 1.0,
  "IsAddOn": "2025-12-06T08:50:58.1259169+05:30",
  "IsAddBy": 1.0
}

application/xml, text/xml

Sample:
<ManageDocumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Model">
  <DocId>3</DocId>
  <DocumentCatagoryMasterID>sample string 6</DocumentCatagoryMasterID>
  <DocumentCategoryTagMasterID>sample string 7</DocumentCategoryTagMasterID>
  <DocumentId>2</DocumentId>
  <DocumentTitle>sample string 10</DocumentTitle>
  <EmployeeId>1</EmployeeId>
  <IsActive>true</IsActive>
  <IsAddBy>1</IsAddBy>
  <IsAddOn>2025-12-06T08:50:58.1259169+05:30</IsAddOn>
  <IsDeletedBy>1</IsDeletedBy>
  <IsDeletedOn>2025-12-06T08:50:58.1259169+05:30</IsDeletedOn>
  <IsDisplay>true</IsDisplay>
  <IsRenewable>true</IsRenewable>
  <IsUpdatedBy>1</IsUpdatedBy>
  <IsUpdatedOn>2025-12-06T08:50:58.1259169+05:30</IsUpdatedOn>
  <LibraryCategoryId>sample string 4</LibraryCategoryId>
  <LibraryTagID>sample string 5</LibraryTagID>
  <NDocumentTitle>sample string 11</NDocumentTitle>
  <NNextRenewDate>2025-12-06T08:50:58.1259169+05:30</NNextRenewDate>
  <NReminderDate>2025-12-06T08:50:58.1259169+05:30</NReminderDate>
  <NUploadDocument>sample string 13</NUploadDocument>
  <NYearId>sample string 9</NYearId>
  <NextRenewDate>2025-12-06T08:50:58.1259169+05:30</NextRenewDate>
  <OldRef>1</OldRef>
  <ReminderDate>2025-12-06T08:50:58.1259169+05:30</ReminderDate>
  <UploadDocument>sample string 12</UploadDocument>
  <YearId>sample string 8</YearId>
</ManageDocumentModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ManageDocumentModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.