-
Notifications
You must be signed in to change notification settings - Fork 1
POST Coop
Julien Lesaffre edited this page Mar 3, 2019
·
2 revisions
Create a new coop
POST
/coop/{coopId}/{employerConfirmation}/{endDate}/{jobDescription}/{jobId}/{location}/{needWorkPermit}/{semester}/{startDate}/{studentId}/{employerId}
-
int coopId
: id of the coop -
boolean employerConfirmation
- confirmation of the employer (true or false) -
String endDate
- Date of the end of the coop (dd-mm-yy) -
String jobDescription
- Description of the job -
int jobId
- id of the job -
String location
- Location of the coop -
boolean needWorkPermit
- True if the coop needs a work permit, false otherwise -
String semester
- semester of the coop -
String startDate
- Date of the start of the coop (dd-mm-yy) -
int studentId
- id of the student -
int employerId
- id of the employer
A JSON array of message header maps, containing the following fields:
-
startDate
- Date of the start of the coop (dd-mm-yy) -
endDate
- Date of the end of the coop (dd-mm-yy) -
semester
- semester of the coop -
coopId
- id of the coop created -
empoyerConfirmation
- confirmation of the employer (true or false) -
needWorkPermit
- True if the coop needs a work permit, false otherwise -
jobDescription
- Description of the job -
location
- Location of the coop -
jobId
- id of the job -
form
- List of Form -
reminder
- List of Reminder -
pdf
- List of PDF -
student
- Student Object. -
employer
- Employer Object.
Request: POST
http://localhost:8080/coop/-3/true/04-06-2019/GreatJob/123/Montreal/false/winter/25-2-2019/-2/-2
Success Response:
-
Code: 200
- Content:
"startDate": "2019-02-25",
"endDate": "2019-06-04",
"semester": "Winter",
"coopId": -3,
"employerConfiration": true,
"needWorkPermit": false,
"jobDescription": "GreatJob",
"location": "Montreal",
"jobId": 123,
"form": [],
"reminder": [],
"pdf": [],
"student": {},
"employer": {}
1.1 Requirements Model
1.2 Domain Model
1.3 Deliverable 1 Report
2.1 RESTful Service Endpoints
2.2 Software Quality Assurance
2.3 Deliverable 2 Report
3.1 Architecture Model
3.2 Deliverable 3 Report
4.0 Before Anything
4.1 User Documentation
4.2 User Experience
4.3 Software Testing Update
4.4 Android App Instructions
4.5 Deliverable 4 Report