POST ElevatorSafetyInspectionAPI/insertElevatorSIReport

Request Information

URI Parameters

None.

Body Parameters

Collection of ElevatorSafetyInspection
NameDescriptionTypeAdditional information
ID

integer

None.

ElevatorName

string

None.

LocationID

integer

None.

Items

string

None.

NoofLifts

integer

None.

LicensePermitNo

string

None.

ValidUntil

string

None.

FKID

integer

None.

TargetDate

string

None.

ResponsiblePerson

string

None.

ElevationMasterID

integer

None.

NoOfUnits

integer

None.

NoOfUnitsDeficiency

integer

None.

NoOfUnitsgoodcondition

integer

None.

CorrectiveAction

boolean

None.

Status

string

None.

Site

string

None.

Geo

string

None.

Location

string

None.

Remarks

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

ModifyBy

string

None.

ModifyDate

string

None.

AuditedDate

string

None.

AuditedBy

string

None.

FromDate

string

None.

ToDate

string

None.

ElevatorSIXML

string

None.

ElevatorSIList

Collection of ElevatorSafetyInspection

None.

ElevatorMasterList

Collection of ElevatorMaster

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.ElevatorSafetyInspection'. Path '[0].ElevatorSIList'.

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.ElevatorSafetyInspection'. Path '[0].ElevatorSIList'.

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