POST api/AddContact
Request Information
URI Parameters
None.
Body Parameters
ContactUs| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| CreationDate | date |
None. |
|
| StudentId | integer |
None. |
|
| TeacherId | integer |
None. |
|
| Status | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2025-12-11T18:53:17.3679978+00:00",
"StudentId": 1,
"TeacherId": 1,
"Status": true
}
application/xml, text/xml
Sample:
<ContactUs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities"> <CreationDate>2025-12-11T18:53:17.3679978+00:00</CreationDate> <Description>sample string 3</Description> <Id>1</Id> <Status>true</Status> <StudentId>1</StudentId> <TeacherId>1</TeacherId> <Title>sample string 2</Title> </ContactUs>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |