This API operation updates a user's AdultWork.com Interview.
PUT
/v1/Interview/UpdateInterview
PUT
/v1/Groups/Interview/UpdateInterview
(See Group manager)
Property | Type | Description |
---|---|---|
Interview1 |
array of aws:InterviewQuestionsInput | The interview questions with its answers. If it's a couple's profile this is Person 1's interview, otherwise it's the primary interview. |
Interview2 |
array of aws:InterviewQuestionsInput | The interview questions with its answers. This is Person 2's interview as part of a couple profile. |
If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.
The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. Additionally, it has the following extra parameters:
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of a member in the group that will be impersonated for this request. |
Parameters can be passed to this operation using the HTTP PUT method with serialized JSON in the request body.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint requires the following scope:
Scope |
---|
profile_interview |
The API will return the following model when it has been modified. If no data has been modified the body will be empty and the HTTP Status Code will be 304 (Not Modified).
Property | Type | Description |
---|---|---|
HasInterview1 |
boolean | If set to true , Interview1 will be populated. |
Interview1 |
Array of aws:Interview | A list of questions and answers from the AdultWork.com Interview. If it's a couple's profile this is Person 1's interview, otherwise it's the primary interview. |
HasInterview2 |
boolean | If set to true , Interview2 will be populated. |
Interview2 |
Array of aws:Interview | A list of questions and answers from the AdultWork.com Interview. This is Person 2's interview as part of a couple profile. |
The following example shows the result that's returned by the API.