| GET,OPTIONS | /v1/staff/posting/detail |
|---|
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 StaffApplicantDto
Public Overridable Property StaffApplicantID As Integer
Public Overridable Property Name As String
Public Overridable Property Source As String
Public Overridable Property YearsExperience As Integer
Public Overridable Property AskRate As Decimal
Public Overridable Property DistanceMi As Integer
Public Overridable Property Base As String
Public Overridable Property FitTier As String
Public Overridable Property FitScore As Integer
Public Overridable Property MatchedSkills As List(Of String) = New List(Of String)
Public Overridable Property Reasons As List(Of String) = New List(Of String)
Public Overridable Property ResumeText As String
Public Overridable Property Status As String
Public Overridable Property InterviewSlot As String
Public Overridable Property Ago As String
End Class
Public Partial Class StaffPostingDto
Public Overridable Property StaffPostingID As Integer
Public Overridable Property PositionTag As String
Public Overridable Property Title As String
Public Overridable Property Body As String
Public Overridable Property RateTarget As Decimal
Public Overridable Property LocationText As String
Public Overridable Property WindowText As String
Public Overridable Property Sites As List(Of String) = New List(Of String)
Public Overridable Property Status As String
Public Overridable Property ApplyUrl As String
End Class
Public Partial Class StaffPostingGetRequest
Public Overridable Property PlaceholderContactID As Integer
End Class
Public Partial Class StaffPostingResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Posting As StaffPostingDto
Public Overridable Property Applicants As List(Of StaffApplicantDto) = New List(Of StaffApplicantDto)
Public Overridable Property ApplicantTotal As Integer
Public Overridable Property ApplicantStrong As Integer
End Class
End Namespace
End Namespace
VB.NET StaffPostingGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/staff/posting/detail HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Posting":{"StaffPostingID":0,"PositionTag":"String","Title":"String","Body":"String","RateTarget":0,"LocationText":"String","WindowText":"String","Sites":["String"],"Status":"String","ApplyUrl":"String"},"Applicants":[{"StaffApplicantID":0,"Name":"String","Source":"String","YearsExperience":0,"AskRate":0,"DistanceMi":0,"Base":"String","FitTier":"String","FitScore":0,"MatchedSkills":["String"],"Reasons":["String"],"ResumeText":"String","Status":"String","InterviewSlot":"String","Ago":"String"}],"ApplicantTotal":0,"ApplicantStrong":0}