API Methods
Account ...
Blogs ...
Bookings ...
CreditHistory ...
Dashboard ...
DirectCam ...
DirectChat ...
Email ...
FieldReport ...
Groups ...
HotLists ...
Interview ...
Lists ...
Movie ...
Newsfeed ...
PhoneChat ...
Pictures ...
Profile ...
Search ...
Tours ...
Webcam ...

Update Interview

This API operation updates a user's AdultWork.com Interview.

URL / Endpoint

Need help with Postman?

PUT /v1/Interview/UpdateInterview

PUT /v1/Groups/Interview/UpdateInterview (See Group manager)

Request

PropertyTypeDescription
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.

Group manager

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:

PropertyTypeDescription
UserID integer Required. The ID of a member in the group that will be impersonated for this request.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP PUT method with serialized JSON in the request body.

Headers

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.

Authentication

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.

Scopes

This endpoint requires the following scope:

Scope
profile_interview

Samples

PUT method

https://api-sandbox.adultwork.com/v1/Interview/UpdateInterview

Authorization: bearer {your-access-token}
{
"Interview1":
[
{
"QuestionID": 1,
"Answers" :
[
{
"Answer" :"Single Females"
},
{
"Answer" :"Single Males"
}
],
"Delete" : false
}
]
}

PUT as Group manager

https://api-sandbox.adultwork.com/v1/Groups/Interview/UpdateInterview

Authorization: bearer {your-access-token}
{
"UserID": 123456,
"Interview1":
[
{
"QuestionID": 1,
"Answers" :
[
{
"Answer" :"Single Females"
},
{
"Answer" :"Single Males"
}
],
"Delete" : false
}
]
}

Response

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).

PropertyTypeDescription
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.

Response Sample

The following example shows the result that's returned by the API.

{
"HasInterview1": true,
"Interview1": [
{
"QuestionID": 1,
"Question": "Who are you looking to meet?",
"Answer": "Single Males"
}
],
"HasInterview2" : false,
"Interview2":null
}

<InterviewsOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Questions">
<HasInterview1>true</HasInterview1>
<HasInterview2>false</HasInterview2>
<Interview1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models.Profile">
<d2p1:Interview>
<d2p1:Answer>Couples MF</d2p1:Answer>
<d2p1:Question>Who are you looking to meet?</d2p1:Question>
<d2p1:QuestionID>1</d2p1:QuestionID>
</d2p1:Interview>
</Interview1>
<Interview2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models.Profile" />
</InterviewsOutput>