POST api/Articles
Request Information
URI Parameters
None.
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:25.1453035+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:25.1453035+02:00</Timestamp> </Article>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |