GET api/v1/log/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LogEventModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Date | date |
Required |
|
LogLevel | LogLevel |
Required |
|
Name | string |
String length: inclusive between 4 and 50 |
|
Message | string |
String length: inclusive between 30 and 500 |
|
CustomerId | integer |
Range: inclusive between 1 and 2147483647 |
|
ProductId | integer |
Range: inclusive between 1 and 2147483647 |
|
VersionId | integer |
Range: inclusive between 1 and 2147483647 |
|
Revision | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Date": "2025-02-23T05:09:04.0531483+00:00", "LogLevel": 0, "Name": "sample string 3", "Message": "sample string 4", "CustomerId": 1, "ProductId": 1, "VersionId": 5, "Revision": 1 }
application/xml, text/xml
Sample:
<LogEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bullet.WebAPI.Models.DTO"> <CustomerId>1</CustomerId> <Date>2025-02-23T05:09:04.0531483+00:00</Date> <Id>1</Id> <LogLevel>Trace</LogLevel> <Message>sample string 4</Message> <Name>sample string 3</Name> <ProductId>1</ProductId> <Revision>1</Revision> <VersionId>5</VersionId> </LogEventModel>