PUT api/PrivateArticles/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ArticleName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Author | string |
None. |
|
Subject | string |
None. |
|
Timestamp | date |
None. |
|
Content | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Author": "sample string 2", "Subject": "sample string 3", "Timestamp": "2024-10-23T19:22:28.2234294+02:00", "Content": "sample string 5" }
application/xml, text/xml
Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models"> <Author>sample string 2</Author> <Content>sample string 5</Content> <Id>1</Id> <Subject>sample string 3</Subject> <Timestamp>2024-10-23T19:22:28.2234294+02:00</Timestamp> </Article>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ArticleName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Author | string |
None. |
|
Subject | string |
None. |
|
Timestamp | date |
None. |
|
Content | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Author": "sample string 2", "Subject": "sample string 3", "Timestamp": "2024-10-23T19:22:28.2234294+02:00", "Content": "sample string 5" }
application/xml, text/xml
Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models"> <Author>sample string 2</Author> <Content>sample string 5</Content> <Id>1</Id> <Subject>sample string 3</Subject> <Timestamp>2024-10-23T19:22:28.2234294+02:00</Timestamp> </Article>