Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
DELETE | /customers/{CustomerId}/comments/{Id} | Delete a customers comments | Get all connected customer comments for the company. |
---|
"use strict";
export class CustomerCommentsResponse {
/** @param {{Id?:number,CustomerId?:string,Comments?:string,Updated?:string,Created?:string,ImageUrl?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {string} */
CustomerId;
/** @type {string} */
Comments;
/** @type {string} */
Updated;
/** @type {string} */
Created;
/** @type {string} */
ImageUrl;
}
export class DeleteCustomerComments {
/** @param {{Id?:number,CustomerId?:string,CompanyId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {string} */
CustomerId;
/** @type {?string} */
CompanyId;
}
JavaScript DeleteCustomerComments 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.
DELETE /customers/{CustomerId}/comments/{Id} HTTP/1.1 Host: testapi.bokamera.se Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Id: 0, Comments: String }