PUT api/post/update
Request Information
URI Parameters
None.
Body Parameters
PostViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Alias | string |
None. |
|
| CategoryID | integer |
None. |
|
| Image | string |
None. |
|
| Description | string |
None. |
|
| Content | string |
None. |
|
| HomeFlag | boolean |
None. |
|
| HotFlag | boolean |
None. |
|
| ViewCount | integer |
None. |
|
| Tags | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | string |
None. |
|
| MetaKeyword | string |
None. |
|
| MetaDescription | string |
None. |
|
| Status | boolean |
None. |
|
| PostCategory | PostCategoryViewModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |