Trendsic Platform Service

<back to all web services

RfpChangeOrderSessionRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/Rfp/ChangeOrderSession
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class RfpChangeOrderSessionRequest
    {
        public Integer ProjectID = null;
        public Integer ChangeOrderID = null;
        
        public Integer getProjectID() { return ProjectID; }
        public RfpChangeOrderSessionRequest setProjectID(Integer value) { this.ProjectID = value; return this; }
        public Integer getChangeOrderID() { return ChangeOrderID; }
        public RfpChangeOrderSessionRequest setChangeOrderID(Integer value) { this.ChangeOrderID = value; return this; }
    }

    public static class RfpChangeOrderSessionResponse
    {
        public ResponseStatus ResponseStatus = null;
        public String Mode = null;
        public Integer ProjectID = null;
        public Integer ChangeOrderID = null;
        public String CONumber = null;
        public String Title = null;
        public String Scope = null;
        public Integer ScheduleDays = null;
        public ArrayList<ChangeOrderLine> Lines = new ArrayList<ChangeOrderLine>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public RfpChangeOrderSessionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public String getMode() { return Mode; }
        public RfpChangeOrderSessionResponse setMode(String value) { this.Mode = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public RfpChangeOrderSessionResponse setProjectID(Integer value) { this.ProjectID = value; return this; }
        public Integer getChangeOrderID() { return ChangeOrderID; }
        public RfpChangeOrderSessionResponse setChangeOrderID(Integer value) { this.ChangeOrderID = value; return this; }
        public String getCoNumber() { return CONumber; }
        public RfpChangeOrderSessionResponse setCoNumber(String value) { this.CONumber = value; return this; }
        public String getTitle() { return Title; }
        public RfpChangeOrderSessionResponse setTitle(String value) { this.Title = value; return this; }
        public String getScope() { return Scope; }
        public RfpChangeOrderSessionResponse setScope(String value) { this.Scope = value; return this; }
        public Integer getScheduleDays() { return ScheduleDays; }
        public RfpChangeOrderSessionResponse setScheduleDays(Integer value) { this.ScheduleDays = value; return this; }
        public ArrayList<ChangeOrderLine> getLines() { return Lines; }
        public RfpChangeOrderSessionResponse setLines(ArrayList<ChangeOrderLine> value) { this.Lines = value; return this; }
    }

    public static class ChangeOrderLine
    {
        public Integer ChangeOrderLineID = null;
        public Integer ChangeOrderID = null;
        public String Category = null;
        public String Description = null;
        public BigDecimal CostUSD = null;
        public BigDecimal MarkupPct = null;
        public String CostCode = null;
        public Integer SortOrder = null;
        
        public Integer getChangeOrderLineID() { return ChangeOrderLineID; }
        public ChangeOrderLine setChangeOrderLineID(Integer value) { this.ChangeOrderLineID = value; return this; }
        public Integer getChangeOrderID() { return ChangeOrderID; }
        public ChangeOrderLine setChangeOrderID(Integer value) { this.ChangeOrderID = value; return this; }
        public String getCategory() { return Category; }
        public ChangeOrderLine setCategory(String value) { this.Category = value; return this; }
        public String getDescription() { return Description; }
        public ChangeOrderLine setDescription(String value) { this.Description = value; return this; }
        public BigDecimal getCostUSD() { return CostUSD; }
        public ChangeOrderLine setCostUSD(BigDecimal value) { this.CostUSD = value; return this; }
        public BigDecimal getMarkupPct() { return MarkupPct; }
        public ChangeOrderLine setMarkupPct(BigDecimal value) { this.MarkupPct = value; return this; }
        public String getCostCode() { return CostCode; }
        public ChangeOrderLine setCostCode(String value) { this.CostCode = value; return this; }
        public Integer getSortOrder() { return SortOrder; }
        public ChangeOrderLine setSortOrder(Integer value) { this.SortOrder = value; return this; }
    }

}

Java RfpChangeOrderSessionRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/Rfp/ChangeOrderSession HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ProjectID":0,"ChangeOrderID":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Mode":"String","ProjectID":0,"ChangeOrderID":0,"CONumber":"String","Title":"String","Scope":"String","ScheduleDays":0,"Lines":[{"ChangeOrderLineID":0,"ChangeOrderID":0,"Category":"String","Description":"String","CostUSD":0,"MarkupPct":0,"CostCode":"String","SortOrder":0}]}