POST _api/KBAPI/UploadNewContent
Request Information
URI Parameters
None.
Body Parameters
NewContentParam| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
Required |
|
| RefNo | string |
None. |
|
| Department | integer |
Required |
|
| PrjStatus | string |
Required |
|
| Project | string |
None. |
|
| ProjectClassification | string |
None. |
|
| DocumentCategory | integer |
None. |
|
| ContentType | integer |
None. |
|
| Classification | integer |
None. |
|
| Uploadedby | string |
None. |
|
| EmailAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"RefNo": "sample string 2",
"Department": 3,
"PrjStatus": "sample string 4",
"Project": "sample string 5",
"ProjectClassification": "sample string 6",
"DocumentCategory": 7,
"ContentType": 8,
"Classification": 9,
"Uploadedby": "sample string 10",
"EmailAddress": "sample string 11"
}
application/xml, text/xml
Sample:
<NewContentParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnowledgeBank.Models"> <Classification>9</Classification> <ContentType>8</ContentType> <Department>3</Department> <DocumentCategory>7</DocumentCategory> <EmailAddress>sample string 11</EmailAddress> <PrjStatus>sample string 4</PrjStatus> <Project>sample string 5</Project> <ProjectClassification>sample string 6</ProjectClassification> <RefNo>sample string 2</RefNo> <Title>sample string 1</Title> <Uploadedby>sample string 10</Uploadedby> </NewContentParam>
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.