Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports MyApp.ServiceModel
Namespace Global
Namespace MyApp.ServiceModel
Public Partial Class AppUser
Public Overridable Property Id As String
Public Overridable Property FirstName As String
Public Overridable Property LastName As String
Public Overridable Property DisplayName As String
Public Overridable Property ProfileUrl As String
End Class
Public Partial Class Contact
Public Overridable Property Id As Integer
<Computed>
Public Overridable Property DisplayName As String
Public Overridable Property ProfileUrl As String
Public Overridable Property FirstName As String
Public Overridable Property LastName As String
Public Overridable Property SalaryExpectation As Integer?
Public Overridable Property JobType As String
Public Overridable Property AvailabilityWeeks As Integer
Public Overridable Property PreferredWorkType As EmploymentType
Public Overridable Property PreferredLocation As String
Public Overridable Property Email As String
Public Overridable Property Phone As String
Public Overridable Property Skills As List(Of String)
Public Overridable Property About As String
Public Overridable Property Applications As List(Of JobApplication) = New List(Of JobApplication)
End Class
Public Enum EmploymentType
FullTime
PartTime
Casual
Contract
End Enum
Public Partial Class Interview
Inherits AuditBase
Public Overridable Property Id As Integer
Public Overridable Property BookingTime As Date
<References(GetType(JobApplication))>
Public Overridable Property JobApplicationId As Integer
<References(GetType(AppUser))>
Public Overridable Property AppUserId As String
Public Overridable Property AppUser As AppUser
Public Overridable Property ApplicationStatus As JobApplicationStatus?
Public Overridable Property Notes As String
End Class
Public Partial Class Job
Inherits AuditBase
Public Overridable Property Id As Integer
Public Overridable Property Title As String
Public Overridable Property EmploymentType As EmploymentType
Public Overridable Property Company As String
Public Overridable Property Location As String
Public Overridable Property SalaryRangeLower As Integer
Public Overridable Property SalaryRangeUpper As Integer
Public Overridable Property Description As String
Public Overridable Property Applications As List(Of JobApplication) = New List(Of JobApplication)
Public Overridable Property Closing As Date
End Class
Public Partial Class JobApplication
Public Overridable Property Id As Integer
<References(GetType(Job))>
Public Overridable Property JobId As Integer
<References(GetType(Contact))>
Public Overridable Property ContactId As Integer
Public Overridable Property Position As Job
Public Overridable Property Applicant As Contact
Public Overridable Property Comments As List(Of JobApplicationComment) = New List(Of JobApplicationComment)
Public Overridable Property AppliedDate As Date
Public Overridable Property ApplicationStatus As JobApplicationStatus
Public Overridable Property Attachments As List(Of JobApplicationAttachment) = New List(Of JobApplicationAttachment)
Public Overridable Property Events As List(Of JobApplicationEvent) = New List(Of JobApplicationEvent)
Public Overridable Property PhoneScreen As PhoneScreen
Public Overridable Property Interview As Interview
Public Overridable Property JobOffer As JobOffer
End Class
Public Partial Class JobApplicationAttachment
Public Overridable Property Id As Integer
<References(GetType(JobApplication))>
Public Overridable Property JobApplicationId As Integer
Public Overridable Property FileName As String
Public Overridable Property FilePath As String
Public Overridable Property ContentType As String
Public Overridable Property ContentLength As Long
End Class
Public Partial Class JobApplicationComment
Inherits AuditBase
Public Overridable Property Id As Integer
<References(GetType(AppUser))>
Public Overridable Property AppUserId As String
Public Overridable Property AppUser As AppUser
<References(GetType(JobApplication))>
Public Overridable Property JobApplicationId As Integer
Public Overridable Property Comment As String
End Class
Public Partial Class JobApplicationEvent
Inherits AuditBase
Public Overridable Property Id As Integer
<References(GetType(JobApplication))>
Public Overridable Property JobApplicationId As Integer
<References(GetType(AppUser))>
Public Overridable Property AppUserId As String
Public Overridable Property AppUser As AppUser
Public Overridable Property Description As String
Public Overridable Property Status As JobApplicationStatus?
Public Overridable Property EventDate As Date
End Class
Public Enum JobApplicationStatus
Applied
PhoneScreening
PhoneScreeningCompleted
Interview
InterviewCompleted
Offer
Disqualified
End Enum
Public Partial Class JobOffer
Inherits AuditBase
Public Overridable Property Id As Integer
Public Overridable Property SalaryOffer As Integer
Public Overridable Property Currency As String
<References(GetType(JobApplication))>
Public Overridable Property JobApplicationId As Integer
<References(GetType(AppUser))>
Public Overridable Property AppUserId As String
Public Overridable Property AppUser As AppUser
Public Overridable Property Notes As String
End Class
Public Partial Class PhoneScreen
Inherits AuditBase
Public Overridable Property Id As Integer
<References(GetType(AppUser))>
Public Overridable Property AppUserId As String
Public Overridable Property AppUser As AppUser
<References(GetType(JobApplication))>
Public Overridable Property JobApplicationId As Integer
Public Overridable Property ApplicationStatus As JobApplicationStatus?
Public Overridable Property Notes As String
End Class
Public Partial Class QueryContacts
Inherits QueryDb(Of Contact)
Public Overridable Property Id As Integer?
End Class
Public Partial Class Todo
Public Overridable Property Id As Long
Public Overridable Property Text As String
Public Overridable Property IsFinished As Boolean
End Class
End Namespace
Namespace ServiceStack
<DataContract>
Public Partial Class AuditBase
<DataMember(Order:=1)>
Public Overridable Property CreatedDate As Date
<DataMember(Order:=2)>
<Required>
Public Overridable Property CreatedBy As String
<DataMember(Order:=3)>
Public Overridable Property ModifiedDate As Date
<DataMember(Order:=4)>
<Required>
Public Overridable Property ModifiedBy As String
<DataMember(Order:=5)>
Public Overridable Property DeletedDate As Date?
<DataMember(Order:=6)>
Public Overridable Property DeletedBy As String
End Class
<DataContract>
Public Partial Class QueryBase
<DataMember(Order:=1)>
Public Overridable Property Skip As Integer?
<DataMember(Order:=2)>
Public Overridable Property Take As Integer?
<DataMember(Order:=3)>
Public Overridable Property OrderBy As String
<DataMember(Order:=4)>
Public Overridable Property OrderByDesc As String
<DataMember(Order:=5)>
Public Overridable Property Include As String
<DataMember(Order:=6)>
Public Overridable Property Fields As String
<DataMember(Order:=7)>
Public Overridable Property Meta As Dictionary(Of String, String)
End Class
Public Partial Class QueryDb(Of T)
Inherits QueryBase
End Class
<DataContract>
Public Partial Class QueryResponse(Of T)
<DataMember(Order:=1)>
Public Overridable Property Offset As Integer
<DataMember(Order:=2)>
Public Overridable Property Total As Integer
<DataMember(Order:=3)>
Public Overridable Property Results As List(Of Todo)
<DataMember(Order:=4)>
Public Overridable Property Meta As Dictionary(Of String, String)
<DataMember(Order:=5)>
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/QueryContacts HTTP/1.1
Host: blazor-gallery.servicestack.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
id: 0,
skip: 0,
take: 0,
orderBy: String,
orderByDesc: String,
include: String,
fields: String,
meta:
{
String: String
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { offset: 0, total: 0, results: [ { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, applicant: { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ], closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, applicant: { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, applicant: { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ] }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ], closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, applicant: { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, applicant: { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ], closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, applicant: { id: 0, displayName: String String, profileUrl: String, firstName: String, lastName: String, salaryExpectation: 0, jobType: String, availabilityWeeks: 0, preferredWorkType: FullTime, preferredLocation: String, email: String, phone: String, skills: [ String ], about: String, applications: [ { id: 0, jobId: 0, contactId: 0, position: { id: 0, title: String, employmentType: FullTime, company: String, location: String, salaryRangeLower: 0, salaryRangeUpper: 0, description: String, closing: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ] }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ] }, comments: [ { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, comment: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], appliedDate: 0001-01-01, applicationStatus: Applied, attachments: [ { id: 0, jobApplicationId: 0, fileName: String, filePath: String, contentType: String, contentLength: 0 } ], events: [ { id: 0, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, description: String, status: Applied, eventDate: 0001-01-01, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } ], phoneScreen: { id: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, jobApplicationId: 0, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, interview: { id: 0, bookingTime: 0001-01-01, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, applicationStatus: Applied, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String }, jobOffer: { id: 0, salaryOffer: 0, currency: String, jobApplicationId: 0, appUserId: String, appUser: { id: String, firstName: String, lastName: String, displayName: String, profileUrl: String }, notes: String, createdDate: 0001-01-01, createdBy: String, modifiedDate: 0001-01-01, modifiedBy: String, deletedDate: 0001-01-01, deletedBy: String } } ] } ], meta: { String: String }, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }