Trendsic Platform Service

<back to all web services

StaffBoardRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/staff/board/{ProjectUID}
import Foundation
import ServiceStack

public class StaffBoardRequest : Codable
{
    public var projectUID:String

    required public init(){}
}

public class StaffBoardResponse : Codable
{
    public var responseStatus:ResponseStatus
    public var positions:[StaffPosition] = []
    public var openCount:Int
    public var responsesActionable:Int
    public var projectID:Int

    required public init(){}
}

public class StaffPosition : Codable
{
    public var placeholderContactID:Int
    public var jobID:Int
    public var projectID:Int
    public var jobName:String
    public var positionTag:String
    public var skills:[String] = []
    public var budgetedHours:Double
    public var targetRate:Double
    public var startDate:String
    public var endDate:String
    public var windowText:String
    public var responsesActionable:Int
    public var postingStatus:String
    public var applicantTotal:Int
    public var applicantStrong:Int
    public var filled:Bool

    required public init(){}
}


Swift StaffBoardRequest 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.

GET /v1/staff/board/{ProjectUID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
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"}},"Positions":[{"PlaceholderContactID":0,"JobID":0,"ProjectID":0,"JobName":"String","PositionTag":"String","Skills":["String"],"BudgetedHours":0,"TargetRate":0,"StartDate":"String","EndDate":"String","WindowText":"String","ResponsesActionable":0,"PostingStatus":"String","ApplicantTotal":0,"ApplicantStrong":0,"Filled":false}],"OpenCount":0,"ResponsesActionable":0,"ProjectID":0}