Power.Dev Optimization Services

<back to all web services

CommonOptimizerProjectInfoRequest

The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	projectId: 00000000000000000000000000000000,
	isBatchSimulation: False,
	force: False,
	disableEBSSpot: False,
	isServerless: False,
	apiActionId: 00000000000000000000000000000000,
	nodeId: 0,
	parallelProject: 0,
	parallelYears: 0,
	ensureExlusive: 0
}