POST api/AuditTrail/CreateAudit
Request Information
URI Parameters
None.
Body Parameters
AuditTrailModelName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
IPAddress | string |
None. |
|
ActionPerformed | string |
Required |
|
DataAffected | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "IPAddress": "sample string 2", "ActionPerformed": "sample string 3", "DataAffected": "sample string 4" }
application/xml, text/xml
Sample:
<AuditTrailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <ActionPerformed>sample string 3</ActionPerformed> <DataAffected>sample string 4</DataAffected> <IPAddress>sample string 2</IPAddress> <UserId>sample string 1</UserId> </AuditTrailModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.