POST api/MDRARiskAssessmentLine

Request Information

URI Parameters

None.

Body Parameters

MDRARiskAssessmentLine
NameDescriptionTypeAdditional information
Id

integer

None.

MDRARiskAssessmentId

integer

None.

SequenceNo

integer

None.

ControlTypeId

integer

None.

IRLikelihoodOfOccurrenceId

integer

None.

IRFrequencyOfExposureId

integer

None.

IRDegreeOfPossibleHarmId

integer

None.

IRNumberOfPersonsAtRiskId

integer

None.

IRScore

decimal number

None.

IRENPLR

string

None.

CMDescription

string

None.

CMLikelihoodOfOccurrenceId

integer

None.

CMFrequencyOfExposureId

integer

None.

CMDegreeOfPossibleHarmId

integer

None.

CMNumberOfPersonsAtRiskId

integer

None.

CMScore

decimal number

None.

CMENPLR

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastModifiedBy

integer

None.

LastModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

LocalId

integer

None.

MDRARiskAssessmentLocalId

integer

None.

CommentUserName

string

None.

CreatedByName

string

None.

CompletedByName

string

None.

IRBgColor

string

None.

IRRiskDescription

string

None.

CMBgColor

string

None.

CMRiskDescription

string

None.

MDRARiskAssessmentLinePhotos

Collection of MDRARiskAssessmentLinePhoto

None.

InspectionInspectorId

integer

None.

InspectionIsCompleted

boolean

None.

InspectionCustomerId

integer

None.

ControlTypeIdName

string

None.

InspectionId

integer

None.

KeyNoIRLikelihoodOfOccurrenceId

integer

None.

KeyNoIRFrequencyOfExposureId

integer

None.

KeyNoIRDegreeOfPossibleHarmId

integer

None.

KeyNoIRNumberOfPersonsAtRiskId

integer

None.

KeyNoCMLikelihoodOfOccurrenceId

integer

None.

KeyNoCMFrequencyOfExposureId

integer

None.

KeyNoCMDegreeOfPossibleHarmId

integer

None.

KeyNoCMNumberOfPersonsAtRiskId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MDRARiskAssessmentId": 2,
  "SequenceNo": 3,
  "ControlTypeId": 4,
  "IRLikelihoodOfOccurrenceId": 5,
  "IRFrequencyOfExposureId": 6,
  "IRDegreeOfPossibleHarmId": 7,
  "IRNumberOfPersonsAtRiskId": 8,
  "IRScore": 9.0,
  "IRENPLR": "sample string 10",
  "CMDescription": "sample string 11",
  "CMLikelihoodOfOccurrenceId": 1,
  "CMFrequencyOfExposureId": 1,
  "CMDegreeOfPossibleHarmId": 1,
  "CMNumberOfPersonsAtRiskId": 1,
  "CMScore": 1.0,
  "CMENPLR": "sample string 12",
  "CreatedBy": 13,
  "CreatedDate": "2025-08-29T20:26:22.5780141+00:00",
  "LastModifiedBy": 15,
  "LastModifiedDate": "2025-08-29T20:26:22.5780141+00:00",
  "DeletedBy": 1,
  "DeletedDate": "2025-08-29T20:26:22.5780141+00:00",
  "LocalId": 17,
  "MDRARiskAssessmentLocalId": 18,
  "CommentUserName": "sample string 19",
  "CreatedByName": "sample string 20",
  "CompletedByName": "sample string 21",
  "IRBgColor": "sample string 22",
  "IRRiskDescription": "sample string 23",
  "CMBgColor": "sample string 24",
  "CMRiskDescription": "sample string 25",
  "MDRARiskAssessmentLinePhotos": [
    {
      "Id": 1,
      "MDRARiskAssessmentLineId": 2,
      "ImagePath": "sample string 3",
      "CreatedBy": 4,
      "CreatedDate": "2025-08-29T20:26:22.5780141+00:00",
      "LastModifiedBy": 6,
      "LastModifiedDate": "2025-08-29T20:26:22.5780141+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:26:22.5780141+00:00",
      "ImageBase64": "sample string 8",
      "LocalId": 9,
      "MDRALineLocalId": 10
    },
    {
      "Id": 1,
      "MDRARiskAssessmentLineId": 2,
      "ImagePath": "sample string 3",
      "CreatedBy": 4,
      "CreatedDate": "2025-08-29T20:26:22.5780141+00:00",
      "LastModifiedBy": 6,
      "LastModifiedDate": "2025-08-29T20:26:22.5780141+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:26:22.5780141+00:00",
      "ImageBase64": "sample string 8",
      "LocalId": 9,
      "MDRALineLocalId": 10
    }
  ],
  "InspectionInspectorId": 26,
  "InspectionIsCompleted": true,
  "InspectionCustomerId": 28,
  "ControlTypeIdName": "sample string 29",
  "InspectionId": 30,
  "KeyNoIRLikelihoodOfOccurrenceId": 31,
  "KeyNoIRFrequencyOfExposureId": 32,
  "KeyNoIRDegreeOfPossibleHarmId": 33,
  "KeyNoIRNumberOfPersonsAtRiskId": 34,
  "KeyNoCMLikelihoodOfOccurrenceId": 35,
  "KeyNoCMFrequencyOfExposureId": 36,
  "KeyNoCMDegreeOfPossibleHarmId": 37,
  "KeyNoCMNumberOfPersonsAtRiskId": 38
}

application/xml, text/xml

Sample:
<MDRARiskAssessmentLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CMBgColor>sample string 24</CMBgColor>
  <CMDegreeOfPossibleHarmId>1</CMDegreeOfPossibleHarmId>
  <CMDescription>sample string 11</CMDescription>
  <CMENPLR>sample string 12</CMENPLR>
  <CMFrequencyOfExposureId>1</CMFrequencyOfExposureId>
  <CMLikelihoodOfOccurrenceId>1</CMLikelihoodOfOccurrenceId>
  <CMNumberOfPersonsAtRiskId>1</CMNumberOfPersonsAtRiskId>
  <CMRiskDescription>sample string 25</CMRiskDescription>
  <CMScore>1</CMScore>
  <CommentUserName>sample string 19</CommentUserName>
  <CompletedByName>sample string 21</CompletedByName>
  <ControlTypeId>4</ControlTypeId>
  <ControlTypeIdName>sample string 29</ControlTypeIdName>
  <CreatedBy>13</CreatedBy>
  <CreatedByName>sample string 20</CreatedByName>
  <CreatedDate>2025-08-29T20:26:22.5780141+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:26:22.5780141+00:00</DeletedDate>
  <IRBgColor>sample string 22</IRBgColor>
  <IRDegreeOfPossibleHarmId>7</IRDegreeOfPossibleHarmId>
  <IRENPLR>sample string 10</IRENPLR>
  <IRFrequencyOfExposureId>6</IRFrequencyOfExposureId>
  <IRLikelihoodOfOccurrenceId>5</IRLikelihoodOfOccurrenceId>
  <IRNumberOfPersonsAtRiskId>8</IRNumberOfPersonsAtRiskId>
  <IRRiskDescription>sample string 23</IRRiskDescription>
  <IRScore>9</IRScore>
  <Id>1</Id>
  <InspectionCustomerId>28</InspectionCustomerId>
  <InspectionId>30</InspectionId>
  <InspectionInspectorId>26</InspectionInspectorId>
  <InspectionIsCompleted>true</InspectionIsCompleted>
  <KeyNoCMDegreeOfPossibleHarmId>37</KeyNoCMDegreeOfPossibleHarmId>
  <KeyNoCMFrequencyOfExposureId>36</KeyNoCMFrequencyOfExposureId>
  <KeyNoCMLikelihoodOfOccurrenceId>35</KeyNoCMLikelihoodOfOccurrenceId>
  <KeyNoCMNumberOfPersonsAtRiskId>38</KeyNoCMNumberOfPersonsAtRiskId>
  <KeyNoIRDegreeOfPossibleHarmId>33</KeyNoIRDegreeOfPossibleHarmId>
  <KeyNoIRFrequencyOfExposureId>32</KeyNoIRFrequencyOfExposureId>
  <KeyNoIRLikelihoodOfOccurrenceId>31</KeyNoIRLikelihoodOfOccurrenceId>
  <KeyNoIRNumberOfPersonsAtRiskId>34</KeyNoIRNumberOfPersonsAtRiskId>
  <LastModifiedBy>15</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:26:22.5780141+00:00</LastModifiedDate>
  <LocalId>17</LocalId>
  <MDRARiskAssessmentId>2</MDRARiskAssessmentId>
  <MDRARiskAssessmentLinePhotos>
    <MDRARiskAssessmentLinePhoto>
      <CreatedBy>4</CreatedBy>
      <CreatedDate>2025-08-29T20:26:22.5780141+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:26:22.5780141+00:00</DeletedDate>
      <Id>1</Id>
      <ImageBase64>sample string 8</ImageBase64>
      <ImagePath>sample string 3</ImagePath>
      <LastModifiedBy>6</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:26:22.5780141+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <MDRALineLocalId>10</MDRALineLocalId>
      <MDRARiskAssessmentLineId>2</MDRARiskAssessmentLineId>
    </MDRARiskAssessmentLinePhoto>
    <MDRARiskAssessmentLinePhoto>
      <CreatedBy>4</CreatedBy>
      <CreatedDate>2025-08-29T20:26:22.5780141+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:26:22.5780141+00:00</DeletedDate>
      <Id>1</Id>
      <ImageBase64>sample string 8</ImageBase64>
      <ImagePath>sample string 3</ImagePath>
      <LastModifiedBy>6</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:26:22.5780141+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <MDRALineLocalId>10</MDRALineLocalId>
      <MDRARiskAssessmentLineId>2</MDRARiskAssessmentLineId>
    </MDRARiskAssessmentLinePhoto>
  </MDRARiskAssessmentLinePhotos>
  <MDRARiskAssessmentLocalId>18</MDRARiskAssessmentLocalId>
  <SequenceNo>3</SequenceNo>
</MDRARiskAssessmentLine>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.