POST | /optimizer/project-info |
---|
export class CommonOptimizerPortalRequestBase
{
public projectId: string;
public isBatchSimulation: boolean;
public force: boolean;
public disableEBSSpot: boolean;
public isServerless: boolean;
public apiActionId: string;
public nodeId: number;
public parallelProject: number;
public parallelYears: number;
public ensureExlusive: number;
public constructor(init?: Partial<CommonOptimizerPortalRequestBase>) { (Object as any).assign(this, init); }
}
export class CommonOptimizerProjectInfoRequest extends CommonOptimizerPortalRequestBase
{
public constructor(init?: Partial<CommonOptimizerProjectInfoRequest>) { super(init); (Object as any).assign(this, init); }
}
TypeScript CommonOptimizerProjectInfoRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /optimizer/project-info HTTP/1.1
Host: dev-optimization.power.dev
Accept: application/json
Content-Type: application/json
Content-Length: length
{"projectId":"00000000000000000000000000000000","isBatchSimulation":false,"force":false,"disableEBSSpot":false,"isServerless":false,"apiActionId":"00000000000000000000000000000000","nodeId":0,"parallelProject":0,"parallelYears":0,"ensureExlusive":0}