| PUT,OPTIONS | /v1/Rfp/Estimate/MarkupDefault |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class EstimateMarkupDefaultPutRequest
{
open var OhpPct:BigDecimal? = null
open var CrewOhpPct:BigDecimal? = null
open var EquipmentOhpPct:BigDecimal? = null
open var MaterialOhpPct:BigDecimal? = null
open var SubcontractOhpPct:BigDecimal? = null
open var RfpDocumentUID:UUID? = null
}
open class EstimateMarkupDefaultResponse
{
open var ResponseStatus:ResponseStatus? = null
open var MarkupDefault:EstimateMarkupDefaultView? = null
}
open class EstimateMarkupDefaultView
{
open var IsSet:Boolean? = null
open var OhpPct:BigDecimal? = null
open var CrewOhpPct:BigDecimal? = null
open var EquipmentOhpPct:BigDecimal? = null
open var MaterialOhpPct:BigDecimal? = null
open var SubcontractOhpPct:BigDecimal? = null
open var Line:String? = null
open var SameAsEstimate:Boolean? = null
open var SaveQuestion:String? = null
}
Kotlin EstimateMarkupDefaultPutRequest 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.
PUT /v1/Rfp/Estimate/MarkupDefault HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"OhpPct":0,"CrewOhpPct":0,"EquipmentOhpPct":0,"MaterialOhpPct":0,"SubcontractOhpPct":0,"RfpDocumentUID":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"MarkupDefault":{"IsSet":false,"OhpPct":0,"CrewOhpPct":0,"EquipmentOhpPct":0,"MaterialOhpPct":0,"SubcontractOhpPct":0,"Line":"String","SameAsEstimate":false,"SaveQuestion":"String"}}