MyApp

<back to all web services

QueryJobs

Talent
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

// @DataContract
abstract class QueryBase
{
    // @DataMember(Order=1)
    int? skip;

    // @DataMember(Order=2)
    int? take;

    // @DataMember(Order=3)
    String? orderBy;

    // @DataMember(Order=4)
    String? orderByDesc;

    // @DataMember(Order=5)
    String? include;

    // @DataMember(Order=6)
    String? fields;

    // @DataMember(Order=7)
    Map<String,String?>? meta;

    QueryBase({this.skip,this.take,this.orderBy,this.orderByDesc,this.include,this.fields,this.meta});
    QueryBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        skip = json['skip'];
        take = json['take'];
        orderBy = json['orderBy'];
        orderByDesc = json['orderByDesc'];
        include = json['include'];
        fields = json['fields'];
        meta = JsonConverters.toStringMap(json['meta']);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'skip': skip,
        'take': take,
        'orderBy': orderBy,
        'orderByDesc': orderByDesc,
        'include': include,
        'fields': fields,
        'meta': meta
    };

    getTypeName() => "QueryBase";
    TypeContext? context = _ctx;
}

abstract class QueryDb<T> extends QueryBase
{
    QueryDb();
    QueryDb.fromJson(Map<String, dynamic> json) : super.fromJson(json);
    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson();
    getTypeName() => "QueryDb<$T>";
    TypeContext? context = _ctx;
}

// @DataContract
abstract class AuditBase
{
    // @DataMember(Order=1)
    DateTime? createdDate;

    // @DataMember(Order=2)
    // @required()
    String? createdBy;

    // @DataMember(Order=3)
    DateTime? modifiedDate;

    // @DataMember(Order=4)
    // @required()
    String? modifiedBy;

    // @DataMember(Order=5)
    DateTime? deletedDate;

    // @DataMember(Order=6)
    String? deletedBy;

    AuditBase({this.createdDate,this.createdBy,this.modifiedDate,this.modifiedBy,this.deletedDate,this.deletedBy});
    AuditBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        createdDate = JsonConverters.fromJson(json['createdDate'],'DateTime',context!);
        createdBy = json['createdBy'];
        modifiedDate = JsonConverters.fromJson(json['modifiedDate'],'DateTime',context!);
        modifiedBy = json['modifiedBy'];
        deletedDate = JsonConverters.fromJson(json['deletedDate'],'DateTime',context!);
        deletedBy = json['deletedBy'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'createdDate': JsonConverters.toJson(createdDate,'DateTime',context!),
        'createdBy': createdBy,
        'modifiedDate': JsonConverters.toJson(modifiedDate,'DateTime',context!),
        'modifiedBy': modifiedBy,
        'deletedDate': JsonConverters.toJson(deletedDate,'DateTime',context!),
        'deletedBy': deletedBy
    };

    getTypeName() => "AuditBase";
    TypeContext? context = _ctx;
}

enum EmploymentType
{
    FullTime,
    PartTime,
    Casual,
    Contract,
}

class Contact implements IConvertible
{
    int? id;
    // @computed()
    String? displayName;

    String? profileUrl;
    String? firstName;
    String? lastName;
    int? salaryExpectation;
    String? jobType;
    int? availabilityWeeks;
    EmploymentType? preferredWorkType;
    String? preferredLocation;
    String? email;
    String? phone;
    List<String>? skills;
    String? about;
    List<JobApplication>? applications = [];

    Contact({this.id,this.displayName,this.profileUrl,this.firstName,this.lastName,this.salaryExpectation,this.jobType,this.availabilityWeeks,this.preferredWorkType,this.preferredLocation,this.email,this.phone,this.skills,this.about,this.applications});
    Contact.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        displayName = json['displayName'];
        profileUrl = json['profileUrl'];
        firstName = json['firstName'];
        lastName = json['lastName'];
        salaryExpectation = json['salaryExpectation'];
        jobType = json['jobType'];
        availabilityWeeks = json['availabilityWeeks'];
        preferredWorkType = JsonConverters.fromJson(json['preferredWorkType'],'EmploymentType',context!);
        preferredLocation = json['preferredLocation'];
        email = json['email'];
        phone = json['phone'];
        skills = JsonConverters.fromJson(json['skills'],'List<String>',context!);
        about = json['about'];
        applications = JsonConverters.fromJson(json['applications'],'List<JobApplication>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'displayName': displayName,
        'profileUrl': profileUrl,
        'firstName': firstName,
        'lastName': lastName,
        'salaryExpectation': salaryExpectation,
        'jobType': jobType,
        'availabilityWeeks': availabilityWeeks,
        'preferredWorkType': JsonConverters.toJson(preferredWorkType,'EmploymentType',context!),
        'preferredLocation': preferredLocation,
        'email': email,
        'phone': phone,
        'skills': JsonConverters.toJson(skills,'List<String>',context!),
        'about': about,
        'applications': JsonConverters.toJson(applications,'List<JobApplication>',context!)
    };

    getTypeName() => "Contact";
    TypeContext? context = _ctx;
}

class AppUser implements IConvertible
{
    String? id;
    String? firstName;
    String? lastName;
    String? displayName;
    String? profileUrl;

    AppUser({this.id,this.firstName,this.lastName,this.displayName,this.profileUrl});
    AppUser.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        firstName = json['firstName'];
        lastName = json['lastName'];
        displayName = json['displayName'];
        profileUrl = json['profileUrl'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'firstName': firstName,
        'lastName': lastName,
        'displayName': displayName,
        'profileUrl': profileUrl
    };

    getTypeName() => "AppUser";
    TypeContext? context = _ctx;
}

class JobApplicationComment extends AuditBase implements IConvertible
{
    int? id;
    // @References(typeof(AppUser))
    String? appUserId;

    AppUser? appUser;
    // @References(typeof(JobApplication))
    int? jobApplicationId;

    String? comment;

    JobApplicationComment({this.id,this.appUserId,this.appUser,this.jobApplicationId,this.comment});
    JobApplicationComment.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        appUserId = json['appUserId'];
        appUser = JsonConverters.fromJson(json['appUser'],'AppUser',context!);
        jobApplicationId = json['jobApplicationId'];
        comment = json['comment'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'appUserId': appUserId,
        'appUser': JsonConverters.toJson(appUser,'AppUser',context!),
        'jobApplicationId': jobApplicationId,
        'comment': comment
    });

    getTypeName() => "JobApplicationComment";
    TypeContext? context = _ctx;
}

enum JobApplicationStatus
{
    Applied,
    PhoneScreening,
    PhoneScreeningCompleted,
    Interview,
    InterviewCompleted,
    Offer,
    Disqualified,
}

class JobApplicationAttachment implements IConvertible
{
    int? id;
    // @References(typeof(JobApplication))
    int? jobApplicationId;

    String? fileName;
    String? filePath;
    String? contentType;
    int? contentLength;

    JobApplicationAttachment({this.id,this.jobApplicationId,this.fileName,this.filePath,this.contentType,this.contentLength});
    JobApplicationAttachment.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        jobApplicationId = json['jobApplicationId'];
        fileName = json['fileName'];
        filePath = json['filePath'];
        contentType = json['contentType'];
        contentLength = json['contentLength'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'jobApplicationId': jobApplicationId,
        'fileName': fileName,
        'filePath': filePath,
        'contentType': contentType,
        'contentLength': contentLength
    };

    getTypeName() => "JobApplicationAttachment";
    TypeContext? context = _ctx;
}

class JobApplicationEvent extends AuditBase implements IConvertible
{
    int? id;
    // @References(typeof(JobApplication))
    int? jobApplicationId;

    // @References(typeof(AppUser))
    String? appUserId;

    AppUser? appUser;
    String? description;
    JobApplicationStatus? status;
    DateTime? eventDate;

    JobApplicationEvent({this.id,this.jobApplicationId,this.appUserId,this.appUser,this.description,this.status,this.eventDate});
    JobApplicationEvent.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        jobApplicationId = json['jobApplicationId'];
        appUserId = json['appUserId'];
        appUser = JsonConverters.fromJson(json['appUser'],'AppUser',context!);
        description = json['description'];
        status = JsonConverters.fromJson(json['status'],'JobApplicationStatus',context!);
        eventDate = JsonConverters.fromJson(json['eventDate'],'DateTime',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'jobApplicationId': jobApplicationId,
        'appUserId': appUserId,
        'appUser': JsonConverters.toJson(appUser,'AppUser',context!),
        'description': description,
        'status': JsonConverters.toJson(status,'JobApplicationStatus',context!),
        'eventDate': JsonConverters.toJson(eventDate,'DateTime',context!)
    });

    getTypeName() => "JobApplicationEvent";
    TypeContext? context = _ctx;
}

class PhoneScreen extends AuditBase implements IConvertible
{
    int? id;
    // @References(typeof(AppUser))
    String? appUserId;

    AppUser? appUser;
    // @References(typeof(JobApplication))
    int? jobApplicationId;

    JobApplicationStatus? applicationStatus;
    String? notes;

    PhoneScreen({this.id,this.appUserId,this.appUser,this.jobApplicationId,this.applicationStatus,this.notes});
    PhoneScreen.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        appUserId = json['appUserId'];
        appUser = JsonConverters.fromJson(json['appUser'],'AppUser',context!);
        jobApplicationId = json['jobApplicationId'];
        applicationStatus = JsonConverters.fromJson(json['applicationStatus'],'JobApplicationStatus',context!);
        notes = json['notes'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'appUserId': appUserId,
        'appUser': JsonConverters.toJson(appUser,'AppUser',context!),
        'jobApplicationId': jobApplicationId,
        'applicationStatus': JsonConverters.toJson(applicationStatus,'JobApplicationStatus',context!),
        'notes': notes
    });

    getTypeName() => "PhoneScreen";
    TypeContext? context = _ctx;
}

class Interview extends AuditBase implements IConvertible
{
    int? id;
    DateTime? bookingTime;
    // @References(typeof(JobApplication))
    int? jobApplicationId;

    // @References(typeof(AppUser))
    String? appUserId;

    AppUser? appUser;
    JobApplicationStatus? applicationStatus;
    String? notes;

    Interview({this.id,this.bookingTime,this.jobApplicationId,this.appUserId,this.appUser,this.applicationStatus,this.notes});
    Interview.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        bookingTime = JsonConverters.fromJson(json['bookingTime'],'DateTime',context!);
        jobApplicationId = json['jobApplicationId'];
        appUserId = json['appUserId'];
        appUser = JsonConverters.fromJson(json['appUser'],'AppUser',context!);
        applicationStatus = JsonConverters.fromJson(json['applicationStatus'],'JobApplicationStatus',context!);
        notes = json['notes'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'bookingTime': JsonConverters.toJson(bookingTime,'DateTime',context!),
        'jobApplicationId': jobApplicationId,
        'appUserId': appUserId,
        'appUser': JsonConverters.toJson(appUser,'AppUser',context!),
        'applicationStatus': JsonConverters.toJson(applicationStatus,'JobApplicationStatus',context!),
        'notes': notes
    });

    getTypeName() => "Interview";
    TypeContext? context = _ctx;
}

class JobOffer extends AuditBase implements IConvertible
{
    int? id;
    int? salaryOffer;
    String? currency;
    // @References(typeof(JobApplication))
    int? jobApplicationId;

    // @References(typeof(AppUser))
    String? appUserId;

    AppUser? appUser;
    String? notes;

    JobOffer({this.id,this.salaryOffer,this.currency,this.jobApplicationId,this.appUserId,this.appUser,this.notes});
    JobOffer.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        salaryOffer = json['salaryOffer'];
        currency = json['currency'];
        jobApplicationId = json['jobApplicationId'];
        appUserId = json['appUserId'];
        appUser = JsonConverters.fromJson(json['appUser'],'AppUser',context!);
        notes = json['notes'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'salaryOffer': salaryOffer,
        'currency': currency,
        'jobApplicationId': jobApplicationId,
        'appUserId': appUserId,
        'appUser': JsonConverters.toJson(appUser,'AppUser',context!),
        'notes': notes
    });

    getTypeName() => "JobOffer";
    TypeContext? context = _ctx;
}

class JobApplication implements IConvertible
{
    int? id;
    // @References(typeof(Job))
    int? jobId;

    // @References(typeof(Contact))
    int? contactId;

    Job? position;
    Contact? applicant;
    List<JobApplicationComment>? comments = [];
    DateTime? appliedDate;
    JobApplicationStatus? applicationStatus;
    List<JobApplicationAttachment>? attachments = [];
    List<JobApplicationEvent>? events = [];
    PhoneScreen? phoneScreen;
    Interview? interview;
    JobOffer? jobOffer;

    JobApplication({this.id,this.jobId,this.contactId,this.position,this.applicant,this.comments,this.appliedDate,this.applicationStatus,this.attachments,this.events,this.phoneScreen,this.interview,this.jobOffer});
    JobApplication.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        jobId = json['jobId'];
        contactId = json['contactId'];
        position = JsonConverters.fromJson(json['position'],'Job',context!);
        applicant = JsonConverters.fromJson(json['applicant'],'Contact',context!);
        comments = JsonConverters.fromJson(json['comments'],'List<JobApplicationComment>',context!);
        appliedDate = JsonConverters.fromJson(json['appliedDate'],'DateTime',context!);
        applicationStatus = JsonConverters.fromJson(json['applicationStatus'],'JobApplicationStatus',context!);
        attachments = JsonConverters.fromJson(json['attachments'],'List<JobApplicationAttachment>',context!);
        events = JsonConverters.fromJson(json['events'],'List<JobApplicationEvent>',context!);
        phoneScreen = JsonConverters.fromJson(json['phoneScreen'],'PhoneScreen',context!);
        interview = JsonConverters.fromJson(json['interview'],'Interview',context!);
        jobOffer = JsonConverters.fromJson(json['jobOffer'],'JobOffer',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'jobId': jobId,
        'contactId': contactId,
        'position': JsonConverters.toJson(position,'Job',context!),
        'applicant': JsonConverters.toJson(applicant,'Contact',context!),
        'comments': JsonConverters.toJson(comments,'List<JobApplicationComment>',context!),
        'appliedDate': JsonConverters.toJson(appliedDate,'DateTime',context!),
        'applicationStatus': JsonConverters.toJson(applicationStatus,'JobApplicationStatus',context!),
        'attachments': JsonConverters.toJson(attachments,'List<JobApplicationAttachment>',context!),
        'events': JsonConverters.toJson(events,'List<JobApplicationEvent>',context!),
        'phoneScreen': JsonConverters.toJson(phoneScreen,'PhoneScreen',context!),
        'interview': JsonConverters.toJson(interview,'Interview',context!),
        'jobOffer': JsonConverters.toJson(jobOffer,'JobOffer',context!)
    };

    getTypeName() => "JobApplication";
    TypeContext? context = _ctx;
}

class Job extends AuditBase implements IConvertible
{
    int? id;
    String? title;
    EmploymentType? employmentType;
    String? company;
    String? location;
    int? salaryRangeLower;
    int? salaryRangeUpper;
    String? description;
    List<JobApplication>? applications = [];
    DateTime? closing;

    Job({this.id,this.title,this.employmentType,this.company,this.location,this.salaryRangeLower,this.salaryRangeUpper,this.description,this.applications,this.closing});
    Job.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        title = json['title'];
        employmentType = JsonConverters.fromJson(json['employmentType'],'EmploymentType',context!);
        company = json['company'];
        location = json['location'];
        salaryRangeLower = json['salaryRangeLower'];
        salaryRangeUpper = json['salaryRangeUpper'];
        description = json['description'];
        applications = JsonConverters.fromJson(json['applications'],'List<JobApplication>',context!);
        closing = JsonConverters.fromJson(json['closing'],'DateTime',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'title': title,
        'employmentType': JsonConverters.toJson(employmentType,'EmploymentType',context!),
        'company': company,
        'location': location,
        'salaryRangeLower': salaryRangeLower,
        'salaryRangeUpper': salaryRangeUpper,
        'description': description,
        'applications': JsonConverters.toJson(applications,'List<JobApplication>',context!),
        'closing': JsonConverters.toJson(closing,'DateTime',context!)
    });

    getTypeName() => "Job";
    TypeContext? context = _ctx;
}

class QueryJobs extends QueryDb<Job> implements IConvertible
{
    int? id;
    List<int>? ids;

    QueryJobs({this.id,this.ids});
    QueryJobs.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        ids = JsonConverters.fromJson(json['ids'],'List<int>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'ids': JsonConverters.toJson(ids,'List<int>',context!)
    });

    getTypeName() => "QueryJobs";
    TypeContext? context = _ctx;
}

class Todo implements IConvertible
{
    int? id;
    String? text;
    bool? isFinished;

    Todo({this.id,this.text,this.isFinished});
    Todo.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        text = json['text'];
        isFinished = json['isFinished'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'text': text,
        'isFinished': isFinished
    };

    getTypeName() => "Todo";
    TypeContext? context = _ctx;
}

// @DataContract
class QueryResponse<T> implements IConvertible
{
    // @DataMember(Order=1)
    int? offset;

    // @DataMember(Order=2)
    int? total;

    // @DataMember(Order=3)
    List<Todo>? results;

    // @DataMember(Order=4)
    Map<String,String?>? meta;

    // @DataMember(Order=5)
    ResponseStatus? responseStatus;

    QueryResponse({this.offset,this.total,this.results,this.meta,this.responseStatus});
    QueryResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        offset = json['offset'];
        total = json['total'];
        results = JsonConverters.fromJson(json['results'],'List<Todo>',context!);
        meta = JsonConverters.toStringMap(json['meta']);
        responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'offset': offset,
        'total': total,
        'results': JsonConverters.toJson(results,'List<Todo>',context!),
        'meta': meta,
        'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!)
    };

    getTypeName() => "QueryResponse<$T>";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: <String, TypeInfo> {
    'EmploymentType': TypeInfo(TypeOf.Enum, enumValues:EmploymentType.values),
    'Contact': TypeInfo(TypeOf.Class, create:() => Contact()),
    'List<JobApplication>': TypeInfo(TypeOf.Class, create:() => <JobApplication>[]),
    'JobApplication': TypeInfo(TypeOf.Class, create:() => JobApplication()),
    'AppUser': TypeInfo(TypeOf.Class, create:() => AppUser()),
    'JobApplicationComment': TypeInfo(TypeOf.Class, create:() => JobApplicationComment()),
    'JobApplicationStatus': TypeInfo(TypeOf.Enum, enumValues:JobApplicationStatus.values),
    'JobApplicationAttachment': TypeInfo(TypeOf.Class, create:() => JobApplicationAttachment()),
    'JobApplicationEvent': TypeInfo(TypeOf.Class, create:() => JobApplicationEvent()),
    'PhoneScreen': TypeInfo(TypeOf.Class, create:() => PhoneScreen()),
    'Interview': TypeInfo(TypeOf.Class, create:() => Interview()),
    'JobOffer': TypeInfo(TypeOf.Class, create:() => JobOffer()),
    'Job': TypeInfo(TypeOf.Class, create:() => Job()),
    'List<JobApplicationComment>': TypeInfo(TypeOf.Class, create:() => <JobApplicationComment>[]),
    'List<JobApplicationAttachment>': TypeInfo(TypeOf.Class, create:() => <JobApplicationAttachment>[]),
    'List<JobApplicationEvent>': TypeInfo(TypeOf.Class, create:() => <JobApplicationEvent>[]),
    'QueryJobs': TypeInfo(TypeOf.Class, create:() => QueryJobs()),
    'List<Job>': TypeInfo(TypeOf.Class, create:() => <Job>[]),
    'Todo': TypeInfo(TypeOf.Class, create:() => Todo()),
    'List<Todo>': TypeInfo(TypeOf.Class, create:() => <Todo>[]),
});

Dart QueryJobs DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/QueryJobs HTTP/1.1 
Host: blazor-gallery.servicestack.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	ids: 
	[
		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,
			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,
									applications: 
									[
										{
											id: 0,
											jobId: 0,
											contactId: 0,
											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
											},
											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
								}
							}
						]
					},
					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
		}
	],
	meta: 
	{
		String: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}