POST v1/logs
Request Information
URI Parameters
None.
Body Parameters
Collection of LogDtoName | Description | Type | Additional information |
---|---|---|---|
MachineName | string |
None. |
|
Logged | date |
None. |
|
Level | string |
None. |
|
Message | string |
None. |
|
Logger | string |
None. |
|
Exception | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "machineName": "sample string 1", "logged": "2025-05-23T16:50:21.8766082-04:00", "level": "sample string 3", "message": "sample string 4", "logger": "sample string 5", "exception": "sample string 6" }, { "machineName": "sample string 1", "logged": "2025-05-23T16:50:21.8766082-04:00", "level": "sample string 3", "message": "sample string 4", "logger": "sample string 5", "exception": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfLogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.Controllers.api.v1"> <LogDto> <_x003C_Exception_x003E_k__BackingField>sample string 6</_x003C_Exception_x003E_k__BackingField> <_x003C_Level_x003E_k__BackingField>sample string 3</_x003C_Level_x003E_k__BackingField> <_x003C_Logged_x003E_k__BackingField>2025-05-23T16:50:21.8766082-04:00</_x003C_Logged_x003E_k__BackingField> <_x003C_Logger_x003E_k__BackingField>sample string 5</_x003C_Logger_x003E_k__BackingField> <_x003C_MachineName_x003E_k__BackingField>sample string 1</_x003C_MachineName_x003E_k__BackingField> <_x003C_Message_x003E_k__BackingField>sample string 4</_x003C_Message_x003E_k__BackingField> </LogDto> <LogDto> <_x003C_Exception_x003E_k__BackingField>sample string 6</_x003C_Exception_x003E_k__BackingField> <_x003C_Level_x003E_k__BackingField>sample string 3</_x003C_Level_x003E_k__BackingField> <_x003C_Logged_x003E_k__BackingField>2025-05-23T16:50:21.8766082-04:00</_x003C_Logged_x003E_k__BackingField> <_x003C_Logger_x003E_k__BackingField>sample string 5</_x003C_Logger_x003E_k__BackingField> <_x003C_MachineName_x003E_k__BackingField>sample string 1</_x003C_MachineName_x003E_k__BackingField> <_x003C_Message_x003E_k__BackingField>sample string 4</_x003C_Message_x003E_k__BackingField> </LogDto> </ArrayOfLogDto>
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. |