POST api/Report/SaveReport

Request Information

URI Parameters

None.

Body Parameters

ReportMdl
NameDescriptionTypeAdditional information
ReportId

integer

None.

reportTypeId

integer

None.

reportType

string

None.

reportStatusId

integer

None.

reportStatus

string

None.

reportStatusColor

string

None.

caseNumber

string

None.

airportId

integer

None.

aircraftId

integer

None.

description

string

None.

createdDate

date

None.

modifiedDate

date

None.

airport

string

None.

comment

string

None.

crewMember

string

None.

airCraft

string

None.

CreatedBy

string

None.

modifiedBy

string

None.

ApprovedBy

string

None.

comment1

string

None.

comment2

string

None.

comment3

string

None.

IsViewed

boolean

None.

IsCaptionApproved

boolean

None.

CaptainID

string

None.

adminId

string

None.

companyId

integer

None.

IsAdminFlagging

boolean

None.

FullData

Object

None.

DateofEvent

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportId": 1,
  "reportTypeId": 2,
  "reportType": "sample string 3",
  "reportStatusId": 4,
  "reportStatus": "sample string 5",
  "reportStatusColor": "sample string 6",
  "caseNumber": "sample string 7",
  "airportId": 1,
  "aircraftId": 1,
  "description": "sample string 8",
  "createdDate": "2024-11-22T21:59:12.5624783-06:00",
  "modifiedDate": "2024-11-22T21:59:12.5624783-06:00",
  "airport": "sample string 11",
  "comment": "sample string 12",
  "crewMember": "sample string 13",
  "airCraft": "sample string 14",
  "CreatedBy": "sample string 15",
  "modifiedBy": "sample string 16",
  "ApprovedBy": "sample string 17",
  "comment1": "sample string 18",
  "comment2": "sample string 19",
  "comment3": "sample string 20",
  "IsViewed": true,
  "IsCaptionApproved": true,
  "CaptainID": "sample string 23",
  "adminId": "sample string 24",
  "companyId": 1,
  "IsAdminFlagging": true,
  "FullData": {},
  "DateofEvent": "2024-11-22T21:59:12.5624783-06:00"
}

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

Response Information

Resource Description

ResponseMdl
NameDescriptionTypeAdditional information
Status

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Data": {},
  "Message": "sample string 3"
}