Amend an interview
Interviews
POST amend an interview
Endpoint
POST /api/v1/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/interviews/37/amend
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMDUwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTc0LCJleHAiOjE3NDAxNDM1NzQsImp0aSI6ImJhOTE0NDVlLWUzOWUtNDEwYy04ZDY5LTZjYTVkMjgzMTA1MSJ9.Q-vCmOoigIQaIz_FzhFsT2iyMjYIWeeel5Z5QeRLAGI
Host: example.org
Cookie:
Body
{
"interview": {
"amend_start_at": "2025-01-22T13:42:54Z",
"amend_end_at": "2025-01-22T14:12:54Z"
}
}
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/"e89d262607e6b4820dbeaacd65d2eaba"
cache-control: max-age=0, private, must-revalidate
x-request-id: f7fbfad8-31eb-4cc0-8bd9-bd0a808b1919
x-runtime: 0.019824
content-length: 577
Body
{
"interview": {
"id": 37,
"amend_end_at": "2025-01-22T14:12:54.000Z",
"amend_start_at": "2025-01-22T13:42:54.000Z",
"amended_by": "interviewer",
"end_at": "2025-01-22T13:42:54.000Z",
"interviewee": {
"id": 300,
"driver": {
"id": 1047,
"image": null,
"phone_number": "07554 311340",
"title": "Howard Schiller"
},
"kind": "verified",
"updated_at": "2025-01-22T13:12:54.000Z"
},
"interviewee_id": 300,
"interviewer": {
"id": 1050,
"contact_phone_number": null,
"image": null,
"title": "Jacob Bogisich"
},
"interviewer_id": 1050,
"kind": "video_call",
"location": "London",
"start_at": "2025-01-22T13:22:54.000Z",
"status": "amended"
}
}