DELETE api/Visit/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

Visit
NameDescriptionTypeAdditional information
Ip

string

None.

Href

string

None.

Referer

string

None.

Date

date

None.

UserId

string

None.

Browser

string

None.

BrowserVersion

string

None.

Os

string

None.

IsMobileDevice

boolean

None.

MobileDeviceManufacturer

string

None.

MobileDeviceModel

string

None.

UserAgent

string

None.

Description

string

None.

CreatedDate

date

None.

CreatedBy

string

Max length: 256

UpdatedDate

date

None.

UpdatedBy

string

Max length: 256

DeletedDate

date

None.

DeletedBy

string

Max length: 256

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Ip": "sample string 1",
  "Href": "sample string 2",
  "Referer": "sample string 3",
  "Date": "2024-12-22T14:33:55.633339+03:30",
  "UserId": "sample string 5",
  "Browser": "sample string 6",
  "BrowserVersion": "sample string 7",
  "Os": "sample string 8",
  "IsMobileDevice": true,
  "MobileDeviceManufacturer": "sample string 10",
  "MobileDeviceModel": "sample string 11",
  "UserAgent": "sample string 12",
  "Description": "sample string 13",
  "CreatedDate": "2024-12-22T14:33:55.633339+03:30",
  "CreatedBy": "sample string 14",
  "UpdatedDate": "2024-12-22T14:33:55.633339+03:30",
  "UpdatedBy": "sample string 15",
  "DeletedDate": "2024-12-22T14:33:55.633339+03:30",
  "DeletedBy": "sample string 16",
  "Id": 17
}

application/xml, text/xml

Sample:
<Visit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.DomainClasses.Log">
  <Id xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities">17</Id>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 14</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-12-22T14:33:55.633339+03:30</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 16</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-12-22T14:33:55.633339+03:30</DeletedDate>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 15</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-12-22T14:33:55.633339+03:30</UpdatedDate>
  <Browser>sample string 6</Browser>
  <BrowserVersion>sample string 7</BrowserVersion>
  <Date>2024-12-22T14:33:55.633339+03:30</Date>
  <Description>sample string 13</Description>
  <Href>sample string 2</Href>
  <Ip>sample string 1</Ip>
  <IsMobileDevice>true</IsMobileDevice>
  <MobileDeviceManufacturer>sample string 10</MobileDeviceManufacturer>
  <MobileDeviceModel>sample string 11</MobileDeviceModel>
  <Os>sample string 8</Os>
  <Referer>sample string 3</Referer>
  <UserAgent>sample string 12</UserAgent>
  <UserId>sample string 5</UserId>
</Visit>

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 'Visit'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.