Trendsic Platform Service

<back to all web services

EstimateMarkupDefaultPutRequest

Requires Authentication
The following routes are available for this service:
PUT,OPTIONS/v1/Rfp/Estimate/MarkupDefault
"use strict";
export class EstimateMarkupDefaultView {
    /** @param {{IsSet?:boolean,OhpPct?:number,CrewOhpPct?:number,EquipmentOhpPct?:number,MaterialOhpPct?:number,SubcontractOhpPct?:number,Line?:string,SameAsEstimate?:boolean,SaveQuestion?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    IsSet;
    /** @type {number} */
    OhpPct;
    /** @type {?number} */
    CrewOhpPct;
    /** @type {?number} */
    EquipmentOhpPct;
    /** @type {?number} */
    MaterialOhpPct;
    /** @type {?number} */
    SubcontractOhpPct;
    /** @type {string} */
    Line;
    /** @type {boolean} */
    SameAsEstimate;
    /** @type {string} */
    SaveQuestion;
}
export class EstimateMarkupDefaultResponse {
    /** @param {{ResponseStatus?:ResponseStatus,MarkupDefault?:EstimateMarkupDefaultView}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {EstimateMarkupDefaultView} */
    MarkupDefault;
}
export class EstimateMarkupDefaultPutRequest {
    /** @param {{OhpPct?:number,CrewOhpPct?:number,EquipmentOhpPct?:number,MaterialOhpPct?:number,SubcontractOhpPct?:number,RfpDocumentUID?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    OhpPct;
    /** @type {?number} */
    CrewOhpPct;
    /** @type {?number} */
    EquipmentOhpPct;
    /** @type {?number} */
    MaterialOhpPct;
    /** @type {?number} */
    SubcontractOhpPct;
    /** @type {?string} */
    RfpDocumentUID;
}

JavaScript EstimateMarkupDefaultPutRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}}