POST api/Log/CreateLog?type={type}
Documentation for 'CreateLog'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | Documentation for 'model'. |
Define this parameter in the request body. |
| type | Documentation for 'type'. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"ID": "05e4e54e-5189-4631-9538-81dc55177691",
"LogCategory": "sample string 2",
"MessageType": "sample string 3",
"Reference": "sample string 4",
"LogMessage": "sample string 5",
"Exception": "sample string 6",
"Url": "sample string 7",
"IsDeleted": true,
"CreatedDate": "2026-06-06T04:23:34.2347433+07:00",
"CreatedBy": 10,
"Trace": "sample string 11",
"Type": 12
}
application/xml, text/xml
Sample:
<LogModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>05e4e54e-5189-4631-9538-81dc55177691</ID> <LogCategory>sample string 2</LogCategory> <MessageType>sample string 3</MessageType> <Reference>sample string 4</Reference> <LogMessage>sample string 5</LogMessage> <Exception>sample string 6</Exception> <Url>sample string 7</Url> <IsDeleted>true</IsDeleted> <CreatedDate>2026-06-06T04:23:34.2347433+07:00</CreatedDate> <CreatedBy>10</CreatedBy> <Trace>sample string 11</Trace> <Type>12</Type> </LogModel>