| GET | /debriefreview/{Id} |
|---|
"use strict";
export class ApiServiceRequest {
/** @param {{apiKey?:string,latitude?:number,longitude?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description The API Key required for authentication */
apiKey;
/**
* @type {number}
* @description Latitude of the user making this request */
latitude;
/**
* @type {number}
* @description Longitude of the user making this request */
longitude;
}
export class ApiServiceResponse {
/** @param {{description?:string,heading?:string,wasSuccessful?:boolean,modelState?:Object}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
description;
/** @type {string} */
heading;
/** @type {boolean} */
wasSuccessful;
/** @type {Object} */
modelState;
}
export class NewContactDetail {
/** @param {{name?:string,jobTitle?:string,companyName?:string,emailAddress?:string,contactNumber?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
name;
/** @type {string} */
jobTitle;
/** @type {string} */
companyName;
/** @type {string} */
emailAddress;
/** @type {string} */
contactNumber;
}
export class DebriefRatingCommentDetail {
/** @param {{managerId?:number,name?:string,title?:string,reviewedDate?:string,rating?:number,comments?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
managerId;
/** @type {string} */
name;
/** @type {string} */
title;
/** @type {string} */
reviewedDate;
/** @type {number} */
rating;
/** @type {string} */
comments;
}
export class DebriefReviewData {
/** @param {{id?:number,name?:string,companyName?:string,meetingId?:number,linkedToMeeting?:string,meetingTime?:string,address?:string,research?:string,nextSteps?:string,feedback?:string,newOpportunities?:string,personnelInfo?:string,groupStructure?:string,industry?:string,meetingLatitude?:number,meetingLongitude?:number,recordingLength?:string,recordingTooShort?:string,majoritySilent?:string,volumeTooLow?:string,actionsToTake?:string,meetingSummary?:string,polarity?:string,sentiment?:string,notesForManagement?:string,notesForSalesPerson?:string,overallScore?:string,personalAppeal?:string,vocabulary?:string,equipment?:string,structure?:string,coherence?:string,sectorKnowledge?:string,clarityOfTechnicalInput?:string,caseStudyRelevance?:string,storytelling?:string,summation?:string,dynamicDiscussion?:string,listening?:string,newContacts?:NewContactDetail[],reportUrl?:string,ratingCommentDetails?:DebriefRatingCommentDetail[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {string} */
name;
/** @type {string} */
companyName;
/** @type {number} */
meetingId;
/** @type {string} */
linkedToMeeting;
/** @type {string} */
meetingTime;
/** @type {string} */
address;
/** @type {string} */
research;
/** @type {string} */
nextSteps;
/** @type {string} */
feedback;
/** @type {string} */
newOpportunities;
/** @type {string} */
personnelInfo;
/** @type {string} */
groupStructure;
/** @type {string} */
industry;
/** @type {number} */
meetingLatitude;
/** @type {number} */
meetingLongitude;
/** @type {string} */
recordingLength;
/** @type {string} */
recordingTooShort;
/** @type {string} */
majoritySilent;
/** @type {string} */
volumeTooLow;
/** @type {string} */
actionsToTake;
/** @type {string} */
meetingSummary;
/** @type {string} */
polarity;
/** @type {string} */
sentiment;
/** @type {string} */
notesForManagement;
/** @type {string} */
notesForSalesPerson;
/** @type {string} */
overallScore;
/** @type {string} */
personalAppeal;
/** @type {string} */
vocabulary;
/** @type {string} */
equipment;
/** @type {string} */
structure;
/** @type {string} */
coherence;
/** @type {string} */
sectorKnowledge;
/** @type {string} */
clarityOfTechnicalInput;
/** @type {string} */
caseStudyRelevance;
/** @type {string} */
storytelling;
/** @type {string} */
summation;
/** @type {string} */
dynamicDiscussion;
/** @type {string} */
listening;
/** @type {NewContactDetail[]} */
newContacts;
/** @type {string} */
reportUrl;
/** @type {DebriefRatingCommentDetail[]} */
ratingCommentDetails;
}
export class GetDebriefReviewResponse extends ApiServiceResponse {
/** @param {{data?:DebriefReviewData,description?:string,heading?:string,wasSuccessful?:boolean,modelState?:Object}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {DebriefReviewData} */
data;
}
export class GetDebriefReviewRequest extends ApiServiceRequest {
/** @param {{id?:number,apiKey?:string,latitude?:number,longitude?:number}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {number} */
id;
}
JavaScript GetDebriefReviewRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /debriefreview/{Id} HTTP/1.1
Host: cochraneplus-api-dev.happen.zone
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
data:
{
id: 0,
name: String,
companyName: String,
meetingId: 0,
linkedToMeeting: String,
meetingTime: String,
address: String,
research: String,
nextSteps: String,
feedback: String,
newOpportunities: String,
personnelInfo: String,
groupStructure: String,
industry: String,
meetingLatitude: 0,
meetingLongitude: 0,
recordingLength: String,
recordingTooShort: String,
majoritySilent: String,
volumeTooLow: String,
actionsToTake: String,
meetingSummary: String,
polarity: String,
sentiment: String,
notesForManagement: String,
notesForSalesPerson: String,
overallScore: String,
personalAppeal: String,
vocabulary: String,
equipment: String,
structure: String,
coherence: String,
sectorKnowledge: String,
clarityOfTechnicalInput: String,
caseStudyRelevance: String,
storytelling: String,
summation: String,
dynamicDiscussion: String,
listening: String,
newContacts:
[
{
}
],
reportUrl: String,
ratingCommentDetails:
[
{
managerId: 0,
name: String,
title: String,
reviewedDate: String,
rating: 0,
comments: String
}
]
},
description: String,
heading: String,
wasSuccessful: False,
modelState: {}
}