POST v2/AssetInspectionReports

Create a new AssetInspectionReport

Request Information

URI Parameters

None.

Body Parameters

The AssetInspectionReportModel model

Lhp.EquipmentIntelligence.WebApi.Client.Models.AssetInspectionReportModel
NameDescriptionTypeAdditional information
AssetInspectionReportId

integer

None.

AssetId

integer

None.

InspectionReportId

integer

None.

InspectorName

string

None.

InspectorDate

date

None.

Notes

string

None.

AssetInspectionReportItems

Collection of Lhp.EquipmentIntelligence.WebApi.Client.Models.AssetInspectionReportItemModel

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetInspectionReportId": 1,
  "AssetId": 2,
  "InspectionReportId": 3,
  "InspectorName": "sample string 4",
  "InspectorDate": "2024-06-24T09:29:42.0416189+00:00",
  "Notes": "sample string 6",
  "AssetInspectionReportItems": [
    {
      "AssetInspectionReportId": 1,
      "InspectionReportItemId": 2,
      "Value": "sample string 3",
      "Notes": "sample string 4"
    },
    {
      "AssetInspectionReportId": 1,
      "InspectionReportItemId": 2,
      "Value": "sample string 3",
      "Notes": "sample string 4"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object containing the ID of the newly created Asset Inspection Report

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.