DELETE api/VisitSummary/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

VisitSummary
NameDescriptionTypeAdditional information
Year

integer

None.

Month

integer

None.

Type

string

None.

Title

string

None.

Visits

integer

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:
{
  "Year": 1,
  "Month": 2,
  "Type": "sample string 3",
  "Title": "sample string 4",
  "Visits": 5,
  "CreatedDate": "2021-01-23T08:19:46.8940449+03:30",
  "CreatedBy": "sample string 6",
  "UpdatedDate": "2021-01-23T08:19:46.8940449+03:30",
  "UpdatedBy": "sample string 7",
  "DeletedDate": "2021-01-23T08:19:46.8940449+03:30",
  "DeletedBy": "sample string 8",
  "Id": 9
}

application/xml, text/xml

Sample:
<VisitSummary 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">9</Id>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 6</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2021-01-23T08:19:46.8940449+03:30</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 8</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2021-01-23T08:19:46.8940449+03:30</DeletedDate>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 7</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2021-01-23T08:19:46.8940449+03:30</UpdatedDate>
  <Month>2</Month>
  <Title>sample string 4</Title>
  <Type>sample string 3</Type>
  <Visits>5</Visits>
  <Year>1</Year>
</VisitSummary>

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

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.