POST api/Audit/AddTrafficLog
Request Information
URI Parameters
None.
Body Parameters
TrafficLogDtoName | Description | Type | Additional information |
---|---|---|---|
Usercode | string |
None. |
|
DateTime | date |
None. |
|
Url | string |
None. |
|
Controller | string |
None. |
|
Action | string |
None. |
|
IPAddress | string |
None. |
|
MachineName | string |
None. |
|
UserAgent | string |
None. |
|
AuthMethod | string |
None. |
|
Referrer | string |
None. |
|
SiteName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Usercode": "sample string 1", "DateTime": "2025-01-09T15:45:54.4223282+00:00", "Url": "sample string 3", "Controller": "sample string 4", "Action": "sample string 5", "IPAddress": "sample string 6", "MachineName": "sample string 7", "UserAgent": "sample string 8", "AuthMethod": "sample string 9", "Referrer": "sample string 10", "SiteName": "sample string 11" }
application/xml, text/xml
Sample:
<TrafficLogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto"> <Action>sample string 5</Action> <AuthMethod>sample string 9</AuthMethod> <Controller>sample string 4</Controller> <DateTime>2025-01-09T15:45:54.4223282+00:00</DateTime> <IPAddress>sample string 6</IPAddress> <MachineName>sample string 7</MachineName> <Referrer>sample string 10</Referrer> <SiteName>sample string 11</SiteName> <Url>sample string 3</Url> <UserAgent>sample string 8</UserAgent> <Usercode>sample string 1</Usercode> </TrafficLogDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.