Trendsic Platform Service

<back to all web services

FundingSourceRequest

Requires Authentication
The following routes are available for this service:
GET,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 FundingSourceRequest
    {
        public Integer ProjectID = null;
        
        public Integer getProjectID() { return ProjectID; }
        public FundingSourceRequest setProjectID(Integer value) { this.ProjectID = 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 FundingSourceRequest 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.

GET /v1/projects/{ProjectID}/funding-source HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}