POST api/logs/create
Request Information
URI Parameters
None.
Body Parameters
DTOSYSLog| Name | Description | Type | Additional information |
|---|---|---|---|
| LogID | integer |
None. |
|
| LogType | string |
None. |
|
| ModuleName | string |
None. |
|
| FunctionName | string |
None. |
|
| RefID | integer |
None. |
|
| LogText | string |
None. |
|
| LogDetails | string |
None. |
|
| LogDate | date |
None. |
|
| FlagDeleted | boolean |
None. |
|
| UserId | integer |
None. |
|
| IPAddress | string |
None. |
|
| MachineName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LogID": 1,
"LogType": "sample string 2",
"ModuleName": "sample string 3",
"FunctionName": "sample string 4",
"RefID": 5,
"LogText": "sample string 6",
"LogDetails": "sample string 7",
"LogDate": "2025-10-26T11:09:15.7900198+08:00",
"FlagDeleted": true,
"UserId": 10,
"IPAddress": "sample string 11",
"MachineName": "sample string 12"
}
application/xml, text/xml
Sample:
<DTOSYSLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <FlagDeleted>true</FlagDeleted> <FunctionName>sample string 4</FunctionName> <IPAddress>sample string 11</IPAddress> <LogDate>2025-10-26T11:09:15.7900198+08:00</LogDate> <LogDetails>sample string 7</LogDetails> <LogID>1</LogID> <LogText>sample string 6</LogText> <LogType>sample string 2</LogType> <MachineName>sample string 12</MachineName> <ModuleName>sample string 3</ModuleName> <RefID>5</RefID> <UserId>10</UserId> </DTOSYSLog>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DTOSYSLog| Name | Description | Type | Additional information |
|---|---|---|---|
| LogID | integer |
None. |
|
| LogType | string |
None. |
|
| ModuleName | string |
None. |
|
| FunctionName | string |
None. |
|
| RefID | integer |
None. |
|
| LogText | string |
None. |
|
| LogDetails | string |
None. |
|
| LogDate | date |
None. |
|
| FlagDeleted | boolean |
None. |
|
| UserId | integer |
None. |
|
| IPAddress | string |
None. |
|
| MachineName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"LogID": 1,
"LogType": "sample string 2",
"ModuleName": "sample string 3",
"FunctionName": "sample string 4",
"RefID": 5,
"LogText": "sample string 6",
"LogDetails": "sample string 7",
"LogDate": "2025-10-26T11:09:15.8056457+08:00",
"FlagDeleted": true,
"UserId": 10,
"IPAddress": "sample string 11",
"MachineName": "sample string 12"
}
application/xml, text/xml
Sample:
<DTOSYSLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <FlagDeleted>true</FlagDeleted> <FunctionName>sample string 4</FunctionName> <IPAddress>sample string 11</IPAddress> <LogDate>2025-10-26T11:09:15.8056457+08:00</LogDate> <LogDetails>sample string 7</LogDetails> <LogID>1</LogID> <LogText>sample string 6</LogText> <LogType>sample string 2</LogType> <MachineName>sample string 12</MachineName> <ModuleName>sample string 3</ModuleName> <RefID>5</RefID> <UserId>10</UserId> </DTOSYSLog>