PUT api/Article/UpdatePublishById/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
ArticlePublishItemName | Description | Type | Additional information |
---|---|---|---|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "StartDate": "2024-11-21T12:03:36.2698922+03:30", "EndDate": "2024-11-21T12:03:36.2698922+03:30", "Id": 1 }
application/xml, text/xml
Sample:
<ArticlePublishItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.Services.Articles.Models"> <Id xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities">1</Id> <EndDate>2024-11-21T12:03:36.2698922+03:30</EndDate> <StartDate>2024-11-21T12:03:36.2698922+03:30</StartDate> </ArticlePublishItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |