Trendsic Platform Service

<back to all web services

FundingSourceSaveRequest

Requires Authentication
The following routes are available for this service:
POST,PUT,OPTIONS/v1/projects/{ProjectID}/funding-source
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class FundingSourceSaveRequest
    {
        public Integer ProjectID = null;
        public String FundingSource = null;
        
        public Integer getProjectID() { return ProjectID; }
        public FundingSourceSaveRequest setProjectID(Integer value) { this.ProjectID = value; return this; }
        public String getFundingSource() { return FundingSource; }
        public FundingSourceSaveRequest setFundingSource(String value) { this.FundingSource = value; return this; }
    }

    public static class FundingSourceResponse
    {
        public ResponseStatus ResponseStatus = null;
        public Integer ProjectID = null;
        public String FundingSource = null;
        public Boolean FloorRequired = null;
        public Boolean MissingDetermination = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public FundingSourceResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public FundingSourceResponse setProjectID(Integer value) { this.ProjectID = value; return this; }
        public String getFundingSource() { return FundingSource; }
        public FundingSourceResponse setFundingSource(String value) { this.FundingSource = value; return this; }
        public Boolean isFloorRequired() { return FloorRequired; }
        public FundingSourceResponse setFloorRequired(Boolean value) { this.FloorRequired = value; return this; }
        public Boolean isMissingDetermination() { return MissingDetermination; }
        public FundingSourceResponse setMissingDetermination(Boolean value) { this.MissingDetermination = value; return this; }
    }

}

Java FundingSourceSaveRequest DTOs

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

HTTP + CSV

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

POST /v1/projects/{ProjectID}/funding-source HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ProjectID":0,"FundingSource":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ProjectID":0,"FundingSource":"String","FloorRequired":false,"MissingDetermination":false}