Power.Dev Optimization Services

<back to all web services

CommonOptimizerProjectInfoRequest

The following routes are available for this service:
POST/optimizer/project-info
import java.math.*
import java.util.*
import net.servicestack.client.*


open class CommonOptimizerProjectInfoRequest : CommonOptimizerPortalRequestBase()
{
}

open class CommonOptimizerPortalRequestBase
{
    var projectId:UUID? = null
    var isBatchSimulation:Boolean? = null
    var force:Boolean? = null
    var disableEBSSpot:Boolean? = null
    var isServerless:Boolean? = null
    var apiActionId:UUID? = null
    var nodeId:Int? = null
    var parallelProject:Int? = null
    var parallelYears:Int? = null
    var ensureExlusive:Int? = null
}

Kotlin 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
}