POST FireSafetyInspectionAPI/insertKeyReport

Request Information

URI Parameters

None.

Body Parameters

Collection of FireSafetyInspection
NameDescriptionTypeAdditional information
Sno

integer

None.

Id

integer

None.

LocationID

integer

None.

FireMasterID

integer

None.

FKID

integer

None.

FirePrecautionID

integer

None.

type

string

None.

requirement

string

None.

NoOfUnits

integer

None.

NoOfUnitsgoodcondition

integer

None.

NoOfUnitsDeficiency

integer

None.

CorrectiveAction

string

None.

TargetDate

string

None.

ResponsiblePerson

string

None.

Status

string

None.

NoofStorey

integer

None.

PortionOccupied

integer

None.

TotalFloorArea

integer

None.

LicensePermitNo

string

None.

Issuedon

string

None.

Category

string

None.

Type

string

None.

Item

string

None.

Remarks

string

None.

Auditedby

string

None.

AuditedDate

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

ModifiedBy

string

None.

ModifiedDate

string

None.

SearchDate

string

None.

SiteID

integer

None.

Geo

string

None.

Location

string

None.

site

string

None.

FireSafetyInspectionList

Collection of FireSafetyInspection

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'SAAMS.Models.FireSafetyInspection'. Path '[0].FireSafetyInspectionList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'SAAMS.Models.FireSafetyInspection'. Path '[0].FireSafetyInspectionList'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'SAAMS.Models.FireSafetyInspection' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'SAAMS.Models.FireSafetyInspection' contains cycles and cannot be serialized if reference tracking is disabled.

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.