POST api/BugReports

Request Information

URI Parameters

None.

Body Parameters

BugReport
NameDescriptionTypeAdditional information
Id

integer

None.

ReportTitle

string

Max length: 50

WorkStationTitle

string

Max length: 100

Tel

string

Max length: 50

Email

string

Max length: 50

Fax

string

Max length: 50

FullAddress

string

Max length: 150

CustomerName

string

Max length: 50

ReportDateTime

date

None.

BugDescription

string

Data type: Html

Max length: 1000

ApplicationType

ApplicationsType

None.

PCName

string

Max length: 50

SoftwareSerial

string

Max length: 70

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReportTitle": "sample string 2",
  "WorkStationTitle": "sample string 3",
  "Tel": "sample string 4",
  "Email": "sample string 5",
  "Fax": "sample string 6",
  "FullAddress": "sample string 7",
  "CustomerName": "sample string 8",
  "ReportDateTime": "2026-03-10T12:07:09.4887415+03:30",
  "BugDescription": "sample string 10",
  "ApplicationType": 1,
  "PCName": "sample string 11",
  "SoftwareSerial": "sample string 12"
}

application/xml, text/xml

Sample:
<BugReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ApplicationType>نرم_افزار_اتوماسیون_اداری</ApplicationType>
  <BugDescription>sample string 10</BugDescription>
  <CustomerName>sample string 8</CustomerName>
  <Email>sample string 5</Email>
  <Fax>sample string 6</Fax>
  <FullAddress>sample string 7</FullAddress>
  <Id>1</Id>
  <PCName>sample string 11</PCName>
  <ReportDateTime>2026-03-10T12:07:09.4887415+03:30</ReportDateTime>
  <ReportTitle>sample string 2</ReportTitle>
  <SoftwareSerial>sample string 12</SoftwareSerial>
  <Tel>sample string 4</Tel>
  <WorkStationTitle>sample string 3</WorkStationTitle>
</BugReport>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.