# Extend Invitation


PUT $BASE_URL/portal/assessments/{$assessment_code}/reports_data

# Request Payload

Field Type Description
assessment_code Number Serial number associate with assessment_id
Field Type Description
Authorization String Authorization token from PerspectAI platform
Field Type Description
data Object Extension Details
data.start_date Optional String Extended start date
data.end_date Optional String Extended end date
data.ids List Invitees invite ids
update_type String Type of updation
{
  "data": {
    "ids": [
      "a0863a13-cab8-4cef-b53a-f6d3e56b65a5"
    ],
    "start_date": "2023-06-05 00:00:00+0530",
    "end_date": "2023-06-08 00:00:00+0530"
  },
  "update_type": "expiry_date"
}

# Response Payload

Field Type Description
message String Message
200 OK
{
  "message": "Success"
}
403 Forbidden
{
    "message":"Insufficient Credit Balance"
}
406 Not Acceptable
{
    "message":"Required keys are not available or values are empty."
}
406 Not Acceptable
{
    "message":"Payload values are not in required format."
}
406 Not Acceptable
{
    "message":"The dates are not valid."
}
500 Internal Server Error
{
    "message":"Something went wrong."
}