POST api/RiskAssessmentLine/Update
Request Information
URI Parameters
None.
Body Parameters
RiskAssessmentLineName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
RiskAssessmentId | integer |
None. |
|
RiskAssessmentTypeId | integer |
None. |
|
MeasureType | string |
None. |
|
Description | string |
None. |
|
LikelihoodOfOccurrenceId | integer |
None. |
|
FrequencyOfExposureId | integer |
None. |
|
DegreeOfPossibleHarmId | integer |
None. |
|
NumberOfPersonsAtRiskId | integer |
None. |
|
Score | decimal number |
None. |
|
IsCompleted | boolean |
None. |
|
CompletedBy | integer |
None. |
|
CompletedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
LastModifiedBy | integer |
None. |
|
LastModifiedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
ResidualRisk | string |
None. |
|
ENPLR | string |
None. |
|
LocalId | integer |
None. |
|
RiskAssessmentLocalId | integer |
None. |
|
CommentUserName | string |
None. |
|
CreatedByName | string |
None. |
|
CompletedByName | string |
None. |
|
BgColor | string |
None. |
|
RiskDescription | string |
None. |
|
RiskAssessmentPhotos | Collection of RiskAssessmentPhoto |
None. |
|
InspectionInspectorId | integer |
None. |
|
InspectionIsCompleted | boolean |
None. |
|
ImplementedControlIsCompleted | boolean |
None. |
|
InspectionCustomerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "RiskAssessmentId": 2, "RiskAssessmentTypeId": 3, "MeasureType": "sample string 4", "Description": "sample string 5", "LikelihoodOfOccurrenceId": 6, "FrequencyOfExposureId": 7, "DegreeOfPossibleHarmId": 8, "NumberOfPersonsAtRiskId": 9, "Score": 10.0, "IsCompleted": true, "CompletedBy": 1, "CompletedDate": "2025-08-29T20:23:50.9711494+00:00", "CreatedBy": 12, "CreatedDate": "2025-08-29T20:23:50.9711494+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:23:50.9711494+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:23:50.9711494+00:00", "ResidualRisk": "sample string 16", "ENPLR": "sample string 17", "LocalId": 18, "RiskAssessmentLocalId": 19, "CommentUserName": "sample string 20", "CreatedByName": "sample string 21", "CompletedByName": "sample string 22", "BgColor": "sample string 23", "RiskDescription": "sample string 24", "RiskAssessmentPhotos": [ { "Id": 1, "RiskAssessmentLineId": 2, "RiskAssessmentTypeId": 3, "ImagePath": "sample string 4", "CreatedBy": 5, "CreatedDate": "2025-08-29T20:23:50.9711494+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:23:50.9711494+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:23:50.9711494+00:00", "ImageBase64": "sample string 9", "LocalId": 10, "RiskAssessmentLineLocalId": 11 }, { "Id": 1, "RiskAssessmentLineId": 2, "RiskAssessmentTypeId": 3, "ImagePath": "sample string 4", "CreatedBy": 5, "CreatedDate": "2025-08-29T20:23:50.9711494+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:23:50.9711494+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:23:50.9711494+00:00", "ImageBase64": "sample string 9", "LocalId": 10, "RiskAssessmentLineLocalId": 11 } ], "InspectionInspectorId": 25, "InspectionIsCompleted": true, "ImplementedControlIsCompleted": true, "InspectionCustomerId": 28 }
application/xml, text/xml
Sample:
<RiskAssessmentLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <BgColor>sample string 23</BgColor> <CommentUserName>sample string 20</CommentUserName> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 22</CompletedByName> <CompletedDate>2025-08-29T20:23:50.9711494+00:00</CompletedDate> <CreatedBy>12</CreatedBy> <CreatedByName>sample string 21</CreatedByName> <CreatedDate>2025-08-29T20:23:50.9711494+00:00</CreatedDate> <DegreeOfPossibleHarmId>8</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:23:50.9711494+00:00</DeletedDate> <Description>sample string 5</Description> <ENPLR>sample string 17</ENPLR> <FrequencyOfExposureId>7</FrequencyOfExposureId> <Id>1</Id> <ImplementedControlIsCompleted>true</ImplementedControlIsCompleted> <InspectionCustomerId>28</InspectionCustomerId> <InspectionInspectorId>25</InspectionInspectorId> <InspectionIsCompleted>true</InspectionIsCompleted> <IsCompleted>true</IsCompleted> <LastModifiedBy>14</LastModifiedBy> <LastModifiedDate>2025-08-29T20:23:50.9711494+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>6</LikelihoodOfOccurrenceId> <LocalId>18</LocalId> <MeasureType>sample string 4</MeasureType> <NumberOfPersonsAtRiskId>9</NumberOfPersonsAtRiskId> <ResidualRisk>sample string 16</ResidualRisk> <RiskAssessmentId>2</RiskAssessmentId> <RiskAssessmentLocalId>19</RiskAssessmentLocalId> <RiskAssessmentPhotos> <RiskAssessmentPhoto> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:23:50.9711494+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:23:50.9711494+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:23:50.9711494+00:00</LastModifiedDate> <LocalId>10</LocalId> <RiskAssessmentLineId>2</RiskAssessmentLineId> <RiskAssessmentLineLocalId>11</RiskAssessmentLineLocalId> <RiskAssessmentTypeId>3</RiskAssessmentTypeId> </RiskAssessmentPhoto> <RiskAssessmentPhoto> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:23:50.9711494+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:23:50.9711494+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:23:50.9711494+00:00</LastModifiedDate> <LocalId>10</LocalId> <RiskAssessmentLineId>2</RiskAssessmentLineId> <RiskAssessmentLineLocalId>11</RiskAssessmentLineLocalId> <RiskAssessmentTypeId>3</RiskAssessmentTypeId> </RiskAssessmentPhoto> </RiskAssessmentPhotos> <RiskAssessmentTypeId>3</RiskAssessmentTypeId> <RiskDescription>sample string 24</RiskDescription> <Score>10</Score> </RiskAssessmentLine>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.