FindJob API
Service for finding job
Version: 1.0.0
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
post /api/company/{company}/vacancies/create
Create vacancy (createVacancy)
This function creates vacancy of {company} . All fields are required apart from 'id'
Path parameters
company (required)
Path Parameter —
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
Vacancy
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
Up
delete /api/company/{company}/vacancies/delete/{id}
Delete vacancy (deleteVacancy)
This function deletes vacancy by id which passes in path
Path parameters
company (required)
Path Parameter —
id (required)
Path Parameter — format: int32
Return type
Example data
Content-Type: application/json
[ {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}, {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
Up
get /api/company/{company}/vacancies
Get all vacancies (getCompanyVacancies)
This function requests all vacancies of {company}
Path parameters
company (required)
Path Parameter —
Return type
Example data
Content-Type: application/json
[ {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}, {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
Up
get /api/company/{company}/vacancies/{id}
Get vacancy by id (getVacancyById)
This function requests vacancy by id which passes in path
Path parameters
company (required)
Path Parameter — format: int32
id (required)
Path Parameter — format: int32
Return type
Example data
Content-Type: application/json
{
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
Vacancy
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
Up
put /api/company/{company}/vacancies/upgrade/{id}
Upgrade vacancy by id (upgradeVacancy)
This function upgrades vacancy by id which passes in path. All fields are required apart from 'id'
Path parameters
company (required)
Path Parameter —
id (required)
Path Parameter — format: int32
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
Vacancy
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
Up
get /api/user/{username}/vacancies
Get absolutely all vacancies (getAllVacancies)
This function requests absolutely all vacancies
Path parameters
username (required)
Path Parameter —
Return type
Example data
Content-Type: application/json
[ {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}, {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
Up
get /api/user/{username}/vacancies/search
Find vacancies by keywords (getAllVacanciesByKeyword)
This function finds vacancies by keywords which passes in query (not required)
Path parameters
username (required)
Path Parameter —
Query parameters
keywords (optional)
Query Parameter —
Return type
Example data
Content-Type: application/json
[ {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
}, {
"requirements" : {
"experienceAge" : 1,
"educationDegree" : "educationDegree",
"otherReqs" : "otherReqs",
"age" : 6
},
"description" : {
"schedule" : "schedule",
"company" : "company",
"phoneNum" : "phoneNum"
},
"id" : 0,
"title" : "title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/text
Responses
200
OK
404
Not Found
String
409
Conflict
String
500
Internal Server Error
String
[ Jump to Methods ]
Table of Contents
Vacancy
VacancyDescription
VacancyRequirements
id (optional)
title (optional)
description (optional)
requirements (optional)
company (optional)
schedule (optional)
phoneNum (optional)
age (optional)
experienceAge (optional)
educationDegree (optional)
otherReqs (optional)