Amend an interview
Users > Interviews
POST amend an interview
Endpoint
POST /api/v1/users/interviews/:id/amend
Parameters
Name | Description |
---|---|
interview[amend_start_at] required | Interview amend start at |
interview[amend_end_at] required | Interview amend end at |
Request
Route
POST /api/v1/users/interviews/83/amend
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNzA1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTkwLCJleHAiOjE3NDAxNDM1OTAsImp0aSI6ImI0NWE2ZTM1LTRjYzQtNDQ2OC05YmU2LWY0YTFjNWY4ZDdjMCJ9.olO41I9Jyx3xBWbXCJdA2cY0ixreocnLYsbP5M9Mt08
Host: example.org
Cookie:
Body
{
"interview": {
"amend_start_at": "2025-01-22T13:43:10Z",
"amend_end_at": "2025-01-22T14:13:10Z"
}
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"605046477afa01f8015b6457c2a4c377"
cache-control: max-age=0, private, must-revalidate
x-request-id: e8467d69-b228-472e-887e-bb3135f0a23f
x-runtime: 0.033210
content-length: 580
Body
{
"interview": {
"id": 83,
"amend_end_at": "2025-01-22T14:13:10.000Z",
"amend_start_at": "2025-01-22T13:43:10.000Z",
"amended_by": "interviewee",
"end_at": "2025-01-22T13:43:10.000Z",
"interviewee": {
"id": 470,
"driver": {
"id": 1705,
"image": null,
"phone_number": "07976 471598",
"title": "Luvenia Mills"
},
"kind": "verified",
"updated_at": "2025-01-22T13:13:10.000Z"
},
"interviewee_id": 470,
"interviewer": {
"id": 1708,
"contact_phone_number": null,
"image": null,
"title": "Lasandra McCullough"
},
"interviewer_id": 1708,
"kind": "video_call",
"location": "London",
"start_at": "2025-01-22T13:23:10.000Z",
"status": "amended"
}
}