PUT api/Article/UpdatePublishById/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

ArticlePublishItem
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ArticlePublishItem'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.