| GET | /debriefreview/form/{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 GetResourceResponse {
/** @param {{options?:{ [index: string]: string; }}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {{ [index: string]: string; }} */
options;
}
export class GetDebriefReviewFormRequest extends ApiServiceRequest {
/** @param {{id?:number,apiKey?:string,latitude?:number,longitude?:number}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {number} */
id;
}
JavaScript GetDebriefReviewFormRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /debriefreview/form/{Id} HTTP/1.1
Host: cochraneplus-api-dev.happen.zone
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'GetResourceResponse' using the custom 'csv' filter}Cannot dynamically create an instance of type 'WebService.ServiceModel.Base.GetResourceResponse'. Reason: No parameterless constructor defined.