POST api/knowledges-category/CreatePost
Request Information
URI Parameters
None.
Body Parameters
KnowledgesPostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RowID | integer |
None. |
|
| Contents | string |
None. |
|
| Title | string |
None. |
|
| CategoryID | integer |
None. |
|
| Disable | boolean |
None. |
|
| PostDate | string |
None. |
|
| PostBy | string |
None. |
|
| LastModified | string |
None. |
|
| ModifiedBy | string |
None. |
|
| DeletedDate | string |
None. |
|
| DeletedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RowID": 1,
"Contents": "sample string 2",
"Title": "sample string 3",
"CategoryID": 4,
"Disable": true,
"PostDate": "sample string 6",
"PostBy": "sample string 7",
"LastModified": "sample string 8",
"ModifiedBy": "sample string 9",
"DeletedDate": "sample string 10",
"DeletedBy": "sample string 11"
}
application/xml, text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | PageModel |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
},
"error": {
"message": "sample string 1",
"code": "sample string 2",
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
}
}
}
application/xml, text/xml
Sample: