POST api/Project/SaveDiagnosticLog
Request Information
URI Parameters
None.
Body Parameters
DiagnosticLogViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| LogDate | date |
None. |
|
| Ping | integer |
None. |
|
| DownloadSmall | integer |
None. |
|
| DownloadBig | integer |
None. |
|
| DatabaseQuery | integer |
None. |
|
| Server | string |
None. |
|
| DiagnosticType | integer |
None. |
|
| DeviceType | string |
None. |
|
| IsMobile | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"companyId": 2,
"logDate": "2025-11-02T15:09:31.9243705+00:00",
"ping": 3,
"downloadSmall": 1,
"downloadBig": 1,
"databaseQuery": 1,
"server": "sample string 4",
"diagnosticType": 1,
"deviceType": "sample string 5",
"isMobile": true
}
application/xml, text/xml
Sample:
<DiagnosticLogViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<CompanyId>2</CompanyId>
<DatabaseQuery>1</DatabaseQuery>
<DeviceType>sample string 5</DeviceType>
<DiagnosticType>1</DiagnosticType>
<DownloadBig>1</DownloadBig>
<DownloadSmall>1</DownloadSmall>
<Id>1</Id>
<IsMobile>true</IsMobile>
<LogDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-02T15:09:31.9243705Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</LogDate>
<Ping>3</Ping>
<Server>sample string 4</Server>
</DiagnosticLogViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.