POST api/RiskAssessmentLine/GetSearchTitle
Request Information
URI Parameters
None.
Body Parameters
RiskAssessmentLineListerName | Description | Type | Additional information |
---|---|---|---|
RiskAssessmentLines | Collection of RiskAssessmentLine |
None. |
|
RiskAssessmentLine | RiskAssessmentLine |
None. |
|
RiskAssessmentId | integer |
None. |
|
InspectionInspectorId | integer |
None. |
|
InspectionIsCompleted | boolean |
None. |
|
RiskAssessmentIsCompleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "RiskAssessmentLines": [ { "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:26:22.3844902+00:00", "CreatedBy": 12, "CreatedDate": "2025-08-29T20:26:22.3844902+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+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:26:22.3844902+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+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:26:22.3844902+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+00:00", "ImageBase64": "sample string 9", "LocalId": 10, "RiskAssessmentLineLocalId": 11 } ], "InspectionInspectorId": 25, "InspectionIsCompleted": true, "ImplementedControlIsCompleted": true, "InspectionCustomerId": 28 }, { "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:26:22.3844902+00:00", "CreatedBy": 12, "CreatedDate": "2025-08-29T20:26:22.3844902+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+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:26:22.3844902+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+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:26:22.3844902+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+00:00", "ImageBase64": "sample string 9", "LocalId": 10, "RiskAssessmentLineLocalId": 11 } ], "InspectionInspectorId": 25, "InspectionIsCompleted": true, "ImplementedControlIsCompleted": true, "InspectionCustomerId": 28 } ], "RiskAssessmentLine": { "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:26:22.3844902+00:00", "CreatedBy": 12, "CreatedDate": "2025-08-29T20:26:22.3844902+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+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:26:22.3844902+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+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:26:22.3844902+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:26:22.3844902+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:22.3844902+00:00", "ImageBase64": "sample string 9", "LocalId": 10, "RiskAssessmentLineLocalId": 11 } ], "InspectionInspectorId": 25, "InspectionIsCompleted": true, "ImplementedControlIsCompleted": true, "InspectionCustomerId": 28 }, "RiskAssessmentId": 1, "InspectionInspectorId": 2, "InspectionIsCompleted": true, "RiskAssessmentIsCompleted": true }
application/xml, text/xml
Sample:
<RiskAssessmentLineLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <InspectionInspectorId>2</InspectionInspectorId> <InspectionIsCompleted>true</InspectionIsCompleted> <RiskAssessmentId>1</RiskAssessmentId> <RiskAssessmentIsCompleted>true</RiskAssessmentIsCompleted> <RiskAssessmentLine> <BgColor>sample string 23</BgColor> <CommentUserName>sample string 20</CommentUserName> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 22</CompletedByName> <CompletedDate>2025-08-29T20:26:22.3844902+00:00</CompletedDate> <CreatedBy>12</CreatedBy> <CreatedByName>sample string 21</CreatedByName> <CreatedDate>2025-08-29T20:26:22.3844902+00:00</CreatedDate> <DegreeOfPossibleHarmId>8</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+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:26:22.3844902+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:26:22.3844902+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:22.3844902+00:00</LastModifiedDate> <LocalId>10</LocalId> <RiskAssessmentLineId>2</RiskAssessmentLineId> <RiskAssessmentLineLocalId>11</RiskAssessmentLineLocalId> <RiskAssessmentTypeId>3</RiskAssessmentTypeId> </RiskAssessmentPhoto> <RiskAssessmentPhoto> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:26:22.3844902+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:22.3844902+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> <RiskAssessmentLines> <RiskAssessmentLine> <BgColor>sample string 23</BgColor> <CommentUserName>sample string 20</CommentUserName> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 22</CompletedByName> <CompletedDate>2025-08-29T20:26:22.3844902+00:00</CompletedDate> <CreatedBy>12</CreatedBy> <CreatedByName>sample string 21</CreatedByName> <CreatedDate>2025-08-29T20:26:22.3844902+00:00</CreatedDate> <DegreeOfPossibleHarmId>8</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+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:26:22.3844902+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:26:22.3844902+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:22.3844902+00:00</LastModifiedDate> <LocalId>10</LocalId> <RiskAssessmentLineId>2</RiskAssessmentLineId> <RiskAssessmentLineLocalId>11</RiskAssessmentLineLocalId> <RiskAssessmentTypeId>3</RiskAssessmentTypeId> </RiskAssessmentPhoto> <RiskAssessmentPhoto> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:26:22.3844902+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:22.3844902+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> <RiskAssessmentLine> <BgColor>sample string 23</BgColor> <CommentUserName>sample string 20</CommentUserName> <CompletedBy>1</CompletedBy> <CompletedByName>sample string 22</CompletedByName> <CompletedDate>2025-08-29T20:26:22.3844902+00:00</CompletedDate> <CreatedBy>12</CreatedBy> <CreatedByName>sample string 21</CreatedByName> <CreatedDate>2025-08-29T20:26:22.3844902+00:00</CreatedDate> <DegreeOfPossibleHarmId>8</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+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:26:22.3844902+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:26:22.3844902+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:22.3844902+00:00</LastModifiedDate> <LocalId>10</LocalId> <RiskAssessmentLineId>2</RiskAssessmentLineId> <RiskAssessmentLineLocalId>11</RiskAssessmentLineLocalId> <RiskAssessmentTypeId>3</RiskAssessmentTypeId> </RiskAssessmentPhoto> <RiskAssessmentPhoto> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:26:22.3844902+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:22.3844902+00:00</DeletedDate> <Id>1</Id> <ImageBase64>sample string 9</ImageBase64> <ImagePath>sample string 4</ImagePath> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:26:22.3844902+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> </RiskAssessmentLines> </RiskAssessmentLineLister>
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.