| GET,OPTIONS | /v1/staff/board/{ProjectUID} |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class StaffBoardRequest
Public Overridable Property ProjectUID As String
End Class
Public Partial Class StaffBoardResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Positions As List(Of StaffPosition) = New List(Of StaffPosition)
Public Overridable Property OpenCount As Integer
Public Overridable Property ResponsesActionable As Integer
Public Overridable Property ProjectID As Integer
End Class
Public Partial Class StaffPosition
Public Overridable Property PlaceholderContactID As Integer
Public Overridable Property JobID As Integer
Public Overridable Property ProjectID As Integer
Public Overridable Property JobName As String
Public Overridable Property PositionTag As String
Public Overridable Property Skills As List(Of String) = New List(Of String)
Public Overridable Property BudgetedHours As Double
Public Overridable Property TargetRate As Decimal
Public Overridable Property StartDate As String
Public Overridable Property EndDate As String
Public Overridable Property WindowText As String
Public Overridable Property ResponsesActionable As Integer
Public Overridable Property PostingStatus As String
Public Overridable Property ApplicantTotal As Integer
Public Overridable Property ApplicantStrong As Integer
Public Overridable Property Filled As Boolean
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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}