PUT api/Article/UpdatePublishById/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
ArticlePublishItem| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2025-11-17T09:57:20.1796212+03:30",
"EndDate": "2025-11-17T09:57:20.1796212+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>2025-11-17T09:57:20.1796212+03:30</EndDate> <StartDate>2025-11-17T09:57:20.1796212+03:30</StartDate> </ArticlePublishItem>
application/x-www-form-urlencoded
Sample:
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. |