Trendsic Platform Service

<back to all web services

StaffDistributionRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/staff/posting/distribution
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class StaffDistributionRequest
    {
        public Integer PlaceholderContactID = null;
        
        public Integer getPlaceholderContactID() { return PlaceholderContactID; }
        public StaffDistributionRequest setPlaceholderContactID(Integer value) { this.PlaceholderContactID = value; return this; }
    }

    public static class StaffDistributionResponse
    {
        public ResponseStatus ResponseStatus = null;
        public String PostingStatus = null;
        public String ApplyUrl = null;
        public String FeedUrl = null;
        public ArrayList<StaffBoardDto> Boards = new ArrayList<StaffBoardDto>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public StaffDistributionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public String getPostingStatus() { return PostingStatus; }
        public StaffDistributionResponse setPostingStatus(String value) { this.PostingStatus = value; return this; }
        public String getApplyUrl() { return ApplyUrl; }
        public StaffDistributionResponse setApplyUrl(String value) { this.ApplyUrl = value; return this; }
        public String getFeedUrl() { return FeedUrl; }
        public StaffDistributionResponse setFeedUrl(String value) { this.FeedUrl = value; return this; }
        public ArrayList<StaffBoardDto> getBoards() { return Boards; }
        public StaffDistributionResponse setBoards(ArrayList<StaffBoardDto> value) { this.Boards = value; return this; }
    }

    public static class StaffBoardDto
    {
        public String Board = null;
        public String Label = null;
        public String ExternalId = null;
        public String Status = null;
        public String Message = null;
        
        public String getBoard() { return Board; }
        public StaffBoardDto setBoard(String value) { this.Board = value; return this; }
        public String getLabel() { return Label; }
        public StaffBoardDto setLabel(String value) { this.Label = value; return this; }
        public String getExternalId() { return ExternalId; }
        public StaffBoardDto setExternalId(String value) { this.ExternalId = value; return this; }
        public String getStatus() { return Status; }
        public StaffBoardDto setStatus(String value) { this.Status = value; return this; }
        public String getMessage() { return Message; }
        public StaffBoardDto setMessage(String value) { this.Message = value; return this; }
    }

}

Java StaffDistributionRequest 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/staff/posting/distribution 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
		}
	},
	PostingStatus: String,
	ApplyUrl: String,
	FeedUrl: String,
	Boards: 
	[
		{
			Board: String,
			Label: String,
			ExternalId: String,
			Status: String,
			Message: String
		}
	]
}