put/curriculum/{curriculumId}/cvtext
Edits plain text format version of the authenticated candidate?s full CV, which is optionally added by the user as an extended CV. The curriculumId must belongs to the authenticated user.
Request
Resource URL
https://api.infojobs.net/api/1/curriculum/{curriculumId}/cvtext
Security
- User Role: role_candidate
- Scope: candidate_edit_curriculum_cvtext
Parameters
Name | Description |
---|---|
curriculumId String Required |
Identifier of the curriculum to edit. This curriculum must belongs to the authenticated user. Example values: 70628530-6d45-483a-8327-d8c81b |
Body Request Fields
The structure is specified below.
{ "cvtext":"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n Sed aliquet sagittis urna, sit amet laoreet odio lacinia et. Phasellus in ante risus." }
Field Name | Description |
---|---|
cvtext String Required |
The curriculum in text format to be edited. It must be in "UTF-8" format. It's posible to send a blank cvtext but if it is not blank, its length must be between 110 and 30720 characters. It's is not allowed to include personal data in the CV as for example, first name and last name, e-mail and phone numbers. IMPORTANT: Please note in compliance with JSON format you must not send carriage returns within the value field, but replace them with "\n" instead. Maximum lenght: 30720 |
Response
Response fields
Name | Description |
---|---|
cvtext String |
The curriculum in text format with "UTF-8" encoding. Maximum lenght: 30720 |
Error codes
Code | Description |
---|---|
361 | The curriculum was not found or the authenticated user is not the owner. |
730 | The cvtext field is requiered. |
731 | The cvtext can't contain the name and the lastname. |
732 | The cvtext can't contain the landline phone number. |
733 | The cvtext can't contain the mobile number. |
734 | The cvtext can't contain the international phone. |
735 | The cvtext can't contain the email. |
736 | The cvtext must have between 110 and 30720 characters. |
Examples
This example edits the cvtext of the curriculum with 70628530-6d45-483a-8327-d8c81b0a62ab as identifier.
Request
https://api.infojobs.net/api/1/curriculum/70628530-6d45-483a-8327-d8c81b0a62ab/cvtext
{ "cvtext":"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n Sed aliquet sagittis urna, sit amet laoreet odio lacinia et. Phasellus in ante risus." }
Response
It returns the current state of the cvtext after the execution of this operation.
{ "cvtext":"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n Sed aliquet sagittis urna, sit amet laoreet odio lacinia et. Phasellus in ante risus." }