PUT api/AssessmentResponseApproval?projectRuntimeID={projectRuntimeID}&assetID={assetID}&assessmentStateID={assessmentStateID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectRuntimeID

globally unique identifier

Required

assetID

globally unique identifier

Required

assessmentStateID

globally unique identifier

Required

Body Parameters

CustomAssessmentDetailApproval
NameDescriptionTypeAdditional information
Comment

string

None.

IsRatingRequired

boolean

None.

AssessmentResponseMasterID

globally unique identifier

None.

Action

string

None.

Details

Collection of CustomAssessmentDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "Comment": "sample string 1",
  "IsRatingRequired": true,
  "AssessmentResponseMasterID": "782d569f-e677-44fc-928b-79fb299c74b5",
  "Action": "sample string 4",
  "Details": [
    {
      "ClientAssessmentResponseDetailsID": "c05302dc-e694-4d51-8cf5-1beea3e23c65",
      "Question": "sample string 2",
      "Answer": "sample string 3",
      "IsFile": true,
      "Status": "sample string 5",
      "Comment": "sample string 6",
      "SerialNumber": 7,
      "RiskRating": 1,
      "Recommendation": "sample string 8",
      "IsCompliant": true,
      "History": [
        {
          "ClientAssessmentResponeReviewHistoryID": "4e2a0644-406a-4ce6-ba70-b117fa17b03b",
          "Answer": "sample string 2",
          "ReviewDateTime": "2025-03-14T01:23:07.9105033+00:00",
          "ReviewerID": "d1a97c70-12bc-42de-8750-775882dce4cc",
          "ReviewerName": "sample string 5",
          "ReviewerComment": "sample string 6"
        },
        {
          "ClientAssessmentResponeReviewHistoryID": "4e2a0644-406a-4ce6-ba70-b117fa17b03b",
          "Answer": "sample string 2",
          "ReviewDateTime": "2025-03-14T01:23:07.9105033+00:00",
          "ReviewerID": "d1a97c70-12bc-42de-8750-775882dce4cc",
          "ReviewerName": "sample string 5",
          "ReviewerComment": "sample string 6"
        }
      ]
    },
    {
      "ClientAssessmentResponseDetailsID": "c05302dc-e694-4d51-8cf5-1beea3e23c65",
      "Question": "sample string 2",
      "Answer": "sample string 3",
      "IsFile": true,
      "Status": "sample string 5",
      "Comment": "sample string 6",
      "SerialNumber": 7,
      "RiskRating": 1,
      "Recommendation": "sample string 8",
      "IsCompliant": true,
      "History": [
        {
          "ClientAssessmentResponeReviewHistoryID": "4e2a0644-406a-4ce6-ba70-b117fa17b03b",
          "Answer": "sample string 2",
          "ReviewDateTime": "2025-03-14T01:23:07.9105033+00:00",
          "ReviewerID": "d1a97c70-12bc-42de-8750-775882dce4cc",
          "ReviewerName": "sample string 5",
          "ReviewerComment": "sample string 6"
        },
        {
          "ClientAssessmentResponeReviewHistoryID": "4e2a0644-406a-4ce6-ba70-b117fa17b03b",
          "Answer": "sample string 2",
          "ReviewDateTime": "2025-03-14T01:23:07.9105033+00:00",
          "ReviewerID": "d1a97c70-12bc-42de-8750-775882dce4cc",
          "ReviewerName": "sample string 5",
          "ReviewerComment": "sample string 6"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<CustomAssessmentDetailApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel">
  <Action>sample string 4</Action>
  <AssessmentResponseMasterID>782d569f-e677-44fc-928b-79fb299c74b5</AssessmentResponseMasterID>
  <Comment>sample string 1</Comment>
  <Details>
    <CustomAssessmentDetail>
      <Answer>sample string 3</Answer>
      <ClientAssessmentResponseDetailsID>c05302dc-e694-4d51-8cf5-1beea3e23c65</ClientAssessmentResponseDetailsID>
      <Comment>sample string 6</Comment>
      <History>
        <CustomAssessmentReviewHistory>
          <Answer>sample string 2</Answer>
          <ClientAssessmentResponeReviewHistoryID>4e2a0644-406a-4ce6-ba70-b117fa17b03b</ClientAssessmentResponeReviewHistoryID>
          <ReviewDateTime>2025-03-14T01:23:07.9105033+00:00</ReviewDateTime>
          <ReviewerComment>sample string 6</ReviewerComment>
          <ReviewerID>d1a97c70-12bc-42de-8750-775882dce4cc</ReviewerID>
          <ReviewerName>sample string 5</ReviewerName>
        </CustomAssessmentReviewHistory>
        <CustomAssessmentReviewHistory>
          <Answer>sample string 2</Answer>
          <ClientAssessmentResponeReviewHistoryID>4e2a0644-406a-4ce6-ba70-b117fa17b03b</ClientAssessmentResponeReviewHistoryID>
          <ReviewDateTime>2025-03-14T01:23:07.9105033+00:00</ReviewDateTime>
          <ReviewerComment>sample string 6</ReviewerComment>
          <ReviewerID>d1a97c70-12bc-42de-8750-775882dce4cc</ReviewerID>
          <ReviewerName>sample string 5</ReviewerName>
        </CustomAssessmentReviewHistory>
      </History>
      <IsCompliant>true</IsCompliant>
      <IsFile>true</IsFile>
      <Question>sample string 2</Question>
      <Recommendation>sample string 8</Recommendation>
      <RiskRating>1</RiskRating>
      <SerialNumber>7</SerialNumber>
      <Status>sample string 5</Status>
    </CustomAssessmentDetail>
    <CustomAssessmentDetail>
      <Answer>sample string 3</Answer>
      <ClientAssessmentResponseDetailsID>c05302dc-e694-4d51-8cf5-1beea3e23c65</ClientAssessmentResponseDetailsID>
      <Comment>sample string 6</Comment>
      <History>
        <CustomAssessmentReviewHistory>
          <Answer>sample string 2</Answer>
          <ClientAssessmentResponeReviewHistoryID>4e2a0644-406a-4ce6-ba70-b117fa17b03b</ClientAssessmentResponeReviewHistoryID>
          <ReviewDateTime>2025-03-14T01:23:07.9105033+00:00</ReviewDateTime>
          <ReviewerComment>sample string 6</ReviewerComment>
          <ReviewerID>d1a97c70-12bc-42de-8750-775882dce4cc</ReviewerID>
          <ReviewerName>sample string 5</ReviewerName>
        </CustomAssessmentReviewHistory>
        <CustomAssessmentReviewHistory>
          <Answer>sample string 2</Answer>
          <ClientAssessmentResponeReviewHistoryID>4e2a0644-406a-4ce6-ba70-b117fa17b03b</ClientAssessmentResponeReviewHistoryID>
          <ReviewDateTime>2025-03-14T01:23:07.9105033+00:00</ReviewDateTime>
          <ReviewerComment>sample string 6</ReviewerComment>
          <ReviewerID>d1a97c70-12bc-42de-8750-775882dce4cc</ReviewerID>
          <ReviewerName>sample string 5</ReviewerName>
        </CustomAssessmentReviewHistory>
      </History>
      <IsCompliant>true</IsCompliant>
      <IsFile>true</IsFile>
      <Question>sample string 2</Question>
      <Recommendation>sample string 8</Recommendation>
      <RiskRating>1</RiskRating>
      <SerialNumber>7</SerialNumber>
      <Status>sample string 5</Status>
    </CustomAssessmentDetail>
  </Details>
  <IsRatingRequired>true</IsRatingRequired>
</CustomAssessmentDetailApproval>

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.