POST api/archive-issue

Request Information

URI Parameters

None.

Body Parameters

IssuesModel
NameDescriptionTypeAdditional information
IssueId

integer

None.

ProjectId

integer

None.

TractorId

integer

None.

IssueDescription

string

None.

FailureHours

integer

None.

UpdationHours

integer

None.

HoursAfterUpdation

integer

None.

Implement

string

None.

IssueReportingDate

date

None.

PartDescription

string

None.

PartCode

string

None.

Photograph

string

None.

L1RCA

string

None.

ConcernedAcknowledgement

boolean

None.

IsNew

boolean

None.

ORCStatus

string

None.

ResponsibleSectionId

integer

None.

SubGroupId

integer

None.

CreatedByOrModifiedBy

integer

None.

CategoryId

integer

None.

ScoreMatrix

integer

None.

Probability

integer

None.

Detection

integer

None.

RPN

integer

None.

AgingSinceReported

string

None.

RelevantDoc

string

None.

FinalRCA

string

None.

InterimAction

string

None.

PermanentAction

string

None.

TargetDate

date

None.

IsDeleted

boolean

None.

IsArchived

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

UserId

integer

None.

ResponsibleSectionLeadId

integer

None.

IsTesting

boolean

None.

DepartmentName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IssueId": 1,
  "ProjectId": 1,
  "TractorId": 1,
  "IssueDescription": "sample string 1",
  "FailureHours": 1,
  "UpdationHours": 1,
  "HoursAfterUpdation": 1,
  "Implement": "sample string 2",
  "IssueReportingDate": "2024-11-26T17:50:46.4716656+05:30",
  "PartDescription": "sample string 3",
  "PartCode": "sample string 4",
  "Photograph": "sample string 5",
  "L1RCA": "sample string 6",
  "ConcernedAcknowledgement": true,
  "IsNew": true,
  "ORCStatus": "sample string 7",
  "ResponsibleSectionId": 1,
  "SubGroupId": 1,
  "CreatedByOrModifiedBy": 1,
  "CategoryId": 1,
  "ScoreMatrix": 1,
  "Probability": 8,
  "Detection": 1,
  "RPN": 1,
  "AgingSinceReported": "sample string 9",
  "RelevantDoc": "sample string 10",
  "FinalRCA": "sample string 11",
  "InterimAction": "sample string 12",
  "PermanentAction": "sample string 13",
  "TargetDate": "2024-11-26T17:50:46.4716656+05:30",
  "IsDeleted": true,
  "IsArchived": true,
  "CreatedBy": 1,
  "CreatedDate": "2024-11-26T17:50:46.4716656+05:30",
  "ModifiedBy": 1,
  "ModifiedDate": "2024-11-26T17:50:46.4716656+05:30",
  "DeletedBy": 1,
  "DeletedDate": "2024-11-26T17:50:46.4716656+05:30",
  "UserId": 1,
  "ResponsibleSectionLeadId": 1,
  "IsTesting": true,
  "DepartmentName": "sample string 16"
}

application/xml, text/xml

Sample:
<IssuesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.IssuesModels">
  <AgingSinceReported>sample string 9</AgingSinceReported>
  <CategoryId>1</CategoryId>
  <ConcernedAcknowledgement>true</ConcernedAcknowledgement>
  <CreatedBy>1</CreatedBy>
  <CreatedByOrModifiedBy>1</CreatedByOrModifiedBy>
  <CreatedDate>2024-11-26T17:50:46.4716656+05:30</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2024-11-26T17:50:46.4716656+05:30</DeletedDate>
  <DepartmentName>sample string 16</DepartmentName>
  <Detection>1</Detection>
  <FailureHours>1</FailureHours>
  <FinalRCA>sample string 11</FinalRCA>
  <HoursAfterUpdation>1</HoursAfterUpdation>
  <Implement>sample string 2</Implement>
  <InterimAction>sample string 12</InterimAction>
  <IsArchived>true</IsArchived>
  <IsDeleted>true</IsDeleted>
  <IsNew>true</IsNew>
  <IsTesting>true</IsTesting>
  <IssueDescription>sample string 1</IssueDescription>
  <IssueId>1</IssueId>
  <IssueReportingDate>2024-11-26T17:50:46.4716656+05:30</IssueReportingDate>
  <L1RCA>sample string 6</L1RCA>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2024-11-26T17:50:46.4716656+05:30</ModifiedDate>
  <ORCStatus>sample string 7</ORCStatus>
  <PartCode>sample string 4</PartCode>
  <PartDescription>sample string 3</PartDescription>
  <PermanentAction>sample string 13</PermanentAction>
  <Photograph>sample string 5</Photograph>
  <Probability>8</Probability>
  <ProjectId>1</ProjectId>
  <RPN>1</RPN>
  <RelevantDoc>sample string 10</RelevantDoc>
  <ResponsibleSectionId>1</ResponsibleSectionId>
  <ResponsibleSectionLeadId>1</ResponsibleSectionLeadId>
  <ScoreMatrix>1</ScoreMatrix>
  <SubGroupId>1</SubGroupId>
  <TargetDate>2024-11-26T17:50:46.4716656+05:30</TargetDate>
  <TractorId>1</TractorId>
  <UpdationHours>1</UpdationHours>
  <UserId>1</UserId>
</IssuesModel>

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.