| POST | /cmd/locations/productInstances/uninstall |
|---|
export class Ref
{
public id: string;
public val: string;
public constructor(init?: Partial<Ref>) { (Object as any).assign(this, init); }
}
export class ProductReference
{
public id: string;
public value: string;
public category: string;
public productProvider: Ref;
public constructor(init?: Partial<ProductReference>) { (Object as any).assign(this, init); }
}
export class ProductInstanceRef
{
public id: string;
public name: string;
public title: string;
public product: ProductReference;
public constructor(init?: Partial<ProductInstanceRef>) { (Object as any).assign(this, init); }
}
export class UninstallLocationProductInstance
{
public id: string;
public productInstance: ProductInstanceRef;
public constructor(init?: Partial<UninstallLocationProductInstance>) { (Object as any).assign(this, init); }
}
TypeScript UninstallLocationProductInstance DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cmd/locations/productInstances/uninstall HTTP/1.1
Host: api.sbbet.ath.cx
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id":"String","productInstance":{"id":"String","name":"String","title":"String","product":{"id":"String","value":"String","category":"String","productProvider":{"id":"String","val":"String"}}}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}