POST api/StagedDefect

Request Information

URI Parameters

None.

Body Parameters

InspectionDefectClient
NameDescriptionTypeAdditional information
ParentDefectId

integer

None.

InspectionDefectId

integer

None.

DefectExtentId

integer

None.

DefectSeverityId

integer

None.

InspectionComponentId

integer

None.

X

integer

None.

Y

integer

None.

Z

integer

None.

Comment

string

None.

DefectFixed

boolean

None.

DefectFixedComment

string

None.

XEnd

integer

None.

YEnd

integer

None.

ZEnd

integer

None.

PlanCircumference

integer

None.

PlanCircumferenceEnd

integer

None.

DefectFaceOptionId

integer

None.

Snag

boolean

None.

InspectionComplete

boolean

None.

PartRef

string

None.

WorkRequiredTypeId

integer

None.

WorkRequiredCategoryId

integer

None.

Priority

integer

None.

EstimateCost

decimal number

None.

CrossFrame

integer

None.

DefectClassificationId

integer

None.

ManagementActionID

integer

None.

DefectNotInspected

boolean

None.

DefectNotInspectedComment

string

None.

DefectCategoryId

integer

None.

UserId

string

None.

HasNoneHistoricFile

boolean

None.

Id

string

None.

UpdatedAt

date

None.

MajorVersion

integer

None.

MinorVersion

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentDefectId": 1,
  "InspectionDefectId": 1,
  "DefectExtentId": 1,
  "DefectSeverityId": 1,
  "InspectionComponentId": 1,
  "X": 1,
  "Y": 1,
  "Z": 1,
  "Comment": "sample string 2",
  "DefectFixed": true,
  "DefectFixedComment": "sample string 4",
  "XEnd": 1,
  "YEnd": 1,
  "ZEnd": 1,
  "PlanCircumference": 1,
  "PlanCircumferenceEnd": 1,
  "DefectFaceOptionId": 1,
  "Snag": true,
  "InspectionComplete": true,
  "PartRef": "sample string 7",
  "WorkRequiredTypeId": 1,
  "WorkRequiredCategoryId": 1,
  "Priority": 1,
  "EstimateCost": 1.0,
  "CrossFrame": 1,
  "DefectClassificationId": 1,
  "ManagementActionID": 1,
  "DefectNotInspected": true,
  "DefectNotInspectedComment": "sample string 8",
  "DefectCategoryId": 9,
  "UserId": "sample string 10",
  "HasNoneHistoricFile": true,
  "Id": "sample string 12",
  "UpdatedAt": "2025-11-08T12:09:46.2734916Z",
  "MajorVersion": 1,
  "MinorVersion": 1
}

application/xml, text/xml

Sample:
<InspectionDefectClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PearlApp.Models.DatabaseModels">
  <MajorVersion xmlns="http://schemas.datacontract.org/2004/07/API.Models.Api.DataModels">1</MajorVersion>
  <MinorVersion xmlns="http://schemas.datacontract.org/2004/07/API.Models.Api.DataModels">1</MinorVersion>
  <UpdatedAt xmlns="http://schemas.datacontract.org/2004/07/API.Models.Api.DataModels">2025-11-08T12:09:46.2734916Z</UpdatedAt>
  <Id xmlns="http://schemas.datacontract.org/2004/07/API.Models.Api.DataModels">sample string 12</Id>
  <Comment>sample string 2</Comment>
  <CrossFrame>1</CrossFrame>
  <DefectClassificationId>1</DefectClassificationId>
  <DefectExtentId>1</DefectExtentId>
  <DefectFaceOptionId>1</DefectFaceOptionId>
  <DefectFixed>true</DefectFixed>
  <DefectFixedComment>sample string 4</DefectFixedComment>
  <DefectNotInspected>true</DefectNotInspected>
  <DefectNotInspectedComment>sample string 8</DefectNotInspectedComment>
  <DefectSeverityId>1</DefectSeverityId>
  <EstimateCost>1</EstimateCost>
  <HasNoneHistoricFile>true</HasNoneHistoricFile>
  <InspectionComplete>true</InspectionComplete>
  <InspectionComponentId>1</InspectionComponentId>
  <InspectionDefectId>1</InspectionDefectId>
  <ManagementActionID>1</ManagementActionID>
  <ParentDefectId>1</ParentDefectId>
  <PartRef>sample string 7</PartRef>
  <PlanCircumference>1</PlanCircumference>
  <PlanCircumferenceEnd>1</PlanCircumferenceEnd>
  <Priority>1</Priority>
  <Snag>true</Snag>
  <UserId>sample string 10</UserId>
  <WorkRequiredCategoryId>1</WorkRequiredCategoryId>
  <WorkRequiredTypeId>1</WorkRequiredTypeId>
  <X>1</X>
  <XEnd>1</XEnd>
  <Y>1</Y>
  <YEnd>1</YEnd>
  <Z>1</Z>
  <ZEnd>1</ZEnd>
</InspectionDefectClient>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.