POST api/Audit/Search

Request Information

URI Parameters

None.

Body Parameters

AuditSearchModel
NameDescriptionTypeAdditional information
Email

string

Data type: EmailAddress

Matching regular expression pattern: ^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$

StartDate

date

Required

Data type: Date

EndDate

date

Required

pageNumber

integer

Required

Range: inclusive between 1 and 2147483647

pageSize

integer

Required

Range: inclusive between 1 and 2147483647

ApplicationName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "StartDate": "2024-11-06T15:21:47.7172799+00:00",
  "EndDate": "2024-11-06T15:21:47.7172799+00:00",
  "pageNumber": 1,
  "pageSize": 1,
  "ApplicationName": "sample string 4"
}

application/xml, text/xml

Sample:
<AuditSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models">
  <ApplicationName>sample string 4</ApplicationName>
  <Email>sample string 1</Email>
  <EndDate>2024-11-06T15:21:47.7172799+00:00</EndDate>
  <StartDate>2024-11-06T15:21:47.7172799+00:00</StartDate>
  <pageNumber>1</pageNumber>
  <pageSize>1</pageSize>
</AuditSearchModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AuditSearchModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.