POST api/Values/MAddErrorLog
Request Information
URI Parameters
None.
Body Parameters
Collection of ErrorLogDomain| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ErrorLogTypeID | integer |
None. |
|
| Error | string |
None. |
|
| Timestamp | date |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"ErrorLogTypeID": 2,
"Error": "sample string 3",
"Timestamp": "2026-07-30T14:51:57.22031+05:00",
"UserID": 5
},
{
"ID": 1,
"ErrorLogTypeID": 2,
"Error": "sample string 3",
"Timestamp": "2026-07-30T14:51:57.22031+05:00",
"UserID": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfErrorLogDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPITest.Models">
<ErrorLogDomain>
<Error>sample string 3</Error>
<ErrorLogTypeID>2</ErrorLogTypeID>
<ID>1</ID>
<Timestamp>2026-07-30T14:51:57.22031+05:00</Timestamp>
<UserID>5</UserID>
</ErrorLogDomain>
<ErrorLogDomain>
<Error>sample string 3</Error>
<ErrorLogTypeID>2</ErrorLogTypeID>
<ID>1</ID>
<Timestamp>2026-07-30T14:51:57.22031+05:00</Timestamp>
<UserID>5</UserID>
</ErrorLogDomain>
</ArrayOfErrorLogDomain>
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. |