DELETE api/Gender/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

Gender
NameDescriptionTypeAdditional information
Name

string

None.

Age

سن

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:
{
  "Name": "sample string 1",
  "Age": 2,
  "CreatedDate": "2024-11-20T20:01:35.5036198+03:30",
  "CreatedBy": "sample string 3",
  "UpdatedDate": "2024-11-20T20:01:35.5036198+03:30",
  "UpdatedBy": "sample string 4",
  "DeletedDate": "2024-11-20T20:01:35.5036198+03:30",
  "DeletedBy": "sample string 5",
  "Id": 6
}

application/xml, text/xml

Sample:
<Gender xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.DomainClasses.General">
  <Id xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities">6</Id>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 3</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-11-20T20:01:35.5036198+03:30</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 5</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-11-20T20:01:35.5036198+03:30</DeletedDate>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 4</UpdatedBy>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-11-20T20:01:35.5036198+03:30</UpdatedDate>
  <Age>2</Age>
  <Name>sample string 1</Name>
</Gender>

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

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.