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}
namespace CRM.AgencyPlatform.API.Internal

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type StaffPosition() = 
        member val PlaceholderContactID:Int32 = new Int32() with get,set
        member val JobID:Int32 = new Int32() with get,set
        member val ProjectID:Int32 = new Int32() with get,set
        member val JobName:String = null with get,set
        member val PositionTag:String = null with get,set
        member val Skills:ResizeArray<String> = new ResizeArray<String>() with get,set
        member val BudgetedHours:Double = new Double() with get,set
        member val TargetRate:Decimal = new Decimal() with get,set
        member val StartDate:String = null with get,set
        member val EndDate:String = null with get,set
        member val WindowText:String = null with get,set
        member val ResponsesActionable:Int32 = new Int32() with get,set
        member val PostingStatus:String = null with get,set
        member val ApplicantTotal:Int32 = new Int32() with get,set
        member val ApplicantStrong:Int32 = new Int32() with get,set
        member val Filled:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type StaffBoardResponse() = 
        member val ResponseStatus:ResponseStatus = null with get,set
        member val Positions:ResizeArray<StaffPosition> = new ResizeArray<StaffPosition>() with get,set
        member val OpenCount:Int32 = new Int32() with get,set
        member val ResponsesActionable:Int32 = new Int32() with get,set
        member val ProjectID:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type StaffBoardRequest() = 
        member val ProjectUID:String = null with get,set

F# StaffBoardRequest 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.

GET /v1/staff/board/{ProjectUID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
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"}},"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}