CV

Get all the resumes by filters

This method returns your resumes

POST /cv/list

Attributes

The attributes are given in PHP then encoded in JSON in the POST body.

Available fields & options

List of available filter names

Name Description Type
cvType The resume's type. Possible values: main, secondary string
manager The manager's id. integer
recipient The recipient of the CV. string
tagId The tag's id. Please refer to Tags integer
created Datetime of the creation of the CV. Datetime (format Y-m-d)
updated Datetime of the update of the CV. Datetime (format Y-m-d)
completion Completion of the CV float (value between 0 and 1, 2 digits maximum)
comparator The comparator sign to compare with. Works only with these attributes : created, updated, completion. Possible values : <, <=, >, >=, =, !=

List of available sort names

Name Description Type
updated The resume last update date DateTime (format Y-m-d H:i:s
created The resume create date DateTime (format Y-m-d H:i:s
recipient The recipient name string
completion The completion rate float

Request example

POST /cv/list

	{
           "filters" : [
                {
                    "type" : "updated",
                    "value" : "2016-11-02",
                    "comparator" : ">="
                }
           ],
           "sort" : [
                {
					"field" : "updated",
					"order" :"ASC"
				}
           ]
        }
	

Response example

GET /cv/list

	{
   "resumes":[
      {
         "title":"Technicien",
         "completion":0.91,
         "anonymized":true,
         "main":false,
         "status":"20",
         "id":"1265328",
         "public_url":"http:\/\/URL.com/cv",
         "private_url":"http:\/\/URL.com/cv",
         "created":"2016-11-28T15:18:54+0100",
         "indexed":true,
         "protected":false,
         "manager":"Mat",
         "updated":"2016-11-28T16:05:31+0100",
         "user":{
            "username":"email@tl.eg",
            "email":"email@tl.eg",
            "firstname":"Bart",
            "lastname":"Simpson",
            "kind":"user",
            "id":12,
            "phone":"0612121212"
         },
         "language":"fr_FR"
      }
   ]
}
	

 

Get the PDF URL of the CV

This method returns the URL of the PDF version of a CV.

GET /cv/:id/pdf

Example

GET /cv/6/pdf

{
    pdf: "http://showroom.doyoubuzz.com/g1fs6d54gfd/export?format=pdf-print";
}