| DELETE | /customerarticle/{Id} | Delete a CustomerArticle. | Delete a CustomerArticle. |
|---|
"use strict";
export class DeleteCustomerArticle {
/** @param {{Id?:number,CompanyId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {number}
* @description The customer article id */
Id;
/**
* @type {?string}
* @description The company id, if empty will use the company id for the user you are logged in with. */
CompanyId;
}
JavaScript DeleteCustomerArticle DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /customerarticle/{Id} HTTP/1.1
Host: api.bokamera.se
Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</int>