API Documentation
Authentication example
curl -X [VERB] https://www.positiveoutcome.co.uk/api/v1/metrics/list \ --user 'your_username:strong_password!'
User credentials are created inside your control panel. They are used with HTTP basic authentication and have the form [username]:[password]
.
Content types
-
For
POST
requests (adding/closing jobs etc) this API only accepts JSON(application/json)
. The content type must be sent as a header e.g:Content-type: application/json
. -
For
GET
requests no content type is required, sending a content type header will not be honoured forGET
requests.
Request & Response examples
Each section in this documentation has examples of a request and subsequent response data for the endpoints contained within.
Request rate limited
Please note that requests to these enpoints are rate limited. You may make one request per endpoint per 15 minutes And enpoint is denoted as a request, for example downloading a document and then a resume are treated as different endpoints as are ?page=1 and ?page=2. These API's are not intended to give you an interface to query real-time data for your application / third party software, it's intended to keep your website data in sync across third party providers that choose not to have API's in to their system. If you make too many requests in the time period you will recieve a 429
response header along with a Retry-after
header which has the value in seconds to retry the request, this will allow you to gracefully queue your request to retry after the given amount of time.
Available endpoints for jobs
(VERB -> Endpoint)
POST → https://www.positiveoutcome.co.uk/api/v1/job/add POST → https://www.positiveoutcome.co.uk/api/v1/job/delete POST → https://www.positiveoutcome.co.uk/api/v1/job/close POST → https://www.positiveoutcome.co.uk/api/v1/job/expire POST → https://www.positiveoutcome.co.uk/api/v1/job/repost GET → https://www.positiveoutcome.co.uk/api/v1/job/fields
Endpoint descriptions
/add (self explanitory!) /delete (removes job from system - be careful!) /close (marks as unpublished and will 404) /expire (marks as no longer accepting applications) /repost (reposts the job with new closing and expiry dates +1 month)
Example job post data
Expand/collapse curl -X POST https://www.positiveoutcome.co.uk/api/v1/job/add \ -H 'Content-Type: application/json; charset=utf-8' \ --user 'your_username:strong_password!' \ -d ' { "available_from": "2020-01-28 09:00", "closing_date": "2022-02-28 09:00", "close_automatically": 1, "expiry_date": "2022-03-28 09:00", "published": 1, "featured": 0, "hot": 1, "internal": 0, "contact_name": "Bob Smith", "contact_email": "bob@smith.com", "require_cv": 1, "job_title": "Test Engineer", "job_reference": "abc123", "keywords": "comma,separated,list,of,synonyms,or,keywords", "contract_type": "Contract", "job_type": "Full time", "job_hours": "9-5 Monday to Friday", "job_duration": "6 Months", "job_skills": "VB, C++, PERL, Java", "job_description": "This is the detailed description", "job_industry": "Engineering", "job_latitude": 1.5, "job_longitude": 53.2, "job_location": "London", "job_telecommute": "no", "job_benefits": [ "Benefit 1", "Benefit 2", "Benefit ..." ], "job_requirements": [ "Requirement 1", "Requirement 2", "Requirement ..." ], "job_responsibilities": [ "Responsibility 1", "Responsibility 2", "Responsibility ..." ], "salary_precise": "30000", "salary_unit": "Per year", "salary_currency": "GBP", "salary_benefits": "Bonus and Pension", "salary_visible": "£25000 - £30000 Pear year", "application_url": "https://your-secure-url.co.uk/application" } '
Example job delete data
curl -X POST https://www.positiveoutcome.co.uk/api/v1/job/delete \ -H 'Content-Type: application/json; charset=utf-8' \ --user 'your_username:strong_password!' \ -d ' { "id": 1234 } '
Example job repost data
curl -X POST https://www.positiveoutcome.co.uk/api/v1/job/repost \ -H 'Content-Type: application/json; charset=utf-8' \ --user 'your_username:strong_password!' \ -d ' { "id": 1234, "closing_date": "2022-02-28 09:00" } '
Rigid data
Please note that the rigid data is subject to change as we add or remove industries etc. We have a json endpoint that has up to date values for these fields which we recommend you automatically check via your software from time to time.
Certain fields have rigid requirements in our system. These are outlined below. Any other field is classed as free text.
https://www.positiveoutcome.co.uk/api/v1/job/fields
job_industry (one of)
[ "Adult Social Care", "Children's Social Care", "Education & Training", "Healthcare, Nursing & Therapy", "HR, Recruitment & Administration", "Property, Catering & Domestic", "Senior Management" ]A forward slash denotes the sub-sector or discipline of the sector, you can use just the sector name or [Sector]/[Sub_sector] and we will parse out the sector and sub-sector for you.
job_type (one of)
[ "Full time", "Part time" ]
contract_type (one of)
[ "Permanent" ]
salary_unit (one of)
[ "Per hour", "Per year", "Per week" ]
salary_currencies (one of)
[ "GBP" ]
job_telecommute (one of)
[ "yes", "no" ]
Exceptions to rigid data
If available_from
is set the date format is YYYY-MM-DD H:i
(ex 2020-01-28 09:00).
job_longitude
and job_latitude
which are double's and MUST point to a specific point on the geo plane. job_location
is the visible location shown to the candidate in job results and filters and can be any text string.
Required fields
published (1 or 0) featured (1 or 0) job_title job_reference job_industry job_telecommute job_location job_latitude (not required if using value from pre-defined job_location list) job_longitude (not required if using value from pre-defined job_location list) job_type contract_type job_description contact_name contact_email salary_visible salary_precise salary_unit salary_currency require_cv (1 or 0)
All fields listed above are required
JSON Responses
Successful post
{ "status": 200, "message": "https://www.positiveoutcome.co.uk/job/full-time-test-engineer-london-acme/1234", "id": 1234 }
Errored post
{ "status": 412, "message": "Salary unit invalid" }
Successful close
{ "status": 200, "message": "Job has been closed (unpublished)" }
Successful deletion
{ "status": 200, "message": "Job has been deleted" }
Successful expiry
{ "status": 200, "message": "Job has been expired" }
Successful repost
{ "status": 200, "message": "Job has been reposted" }
Available endpoints for candidates
(VERB -> Endpoint)
GET → https://www.positiveoutcome.co.uk/api/v1/candidates/list GET → https://www.positiveoutcome.co.uk/api/v1/candidates/details/{id} GET → https://www.positiveoutcome.co.uk/api/v1/candidates/timesheet/{id} GET → https://www.positiveoutcome.co.uk/api/v1/candidates/document/{id} GET → https://www.positiveoutcome.co.uk/api/v1/candidates/resume/{id}
Endpoint descriptions
/list List all candidates parameter since /details/{id} Show specific candidate details with parameter id /timesheet/{id} Downloads timesheet of parameter id (from previous request/response) /resume/{id} Downloads resume of parameter id (from previous request/response) /document/{id} Downloads document of parameter id (from previous request/response)
Example candidate list request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/candidates/list?since=2022-01-01+09:15 \ --user 'your_username:strong_password!' Response: { "status": 200, "total": 567, "data": [ { "email": "tony.james.1945@example.com", "signup_email": "tony.james.1945@example.com", "last_login": "2020-01-26 18:39:01", "identifier": "3f451dadc95638dcb9b2d186295883d9f94654f1", "marketing_opted_in": 0, "created_at": "2020-01-21 06:04:16", "updated_at": "2022-03-03 11:15:51", "id": 1, "name": "Tony James", "telephone": "07741 862389", "address": "1St-Computers Solutions Ltd, Kemp House", "city": "London", "county": "", "country": "United Kingdom", "postcode": "EC1v 2NX", "job_title": "Financial Services Sales Agent", "current_salary": "10k - 11k", "preferred_salary": "10k - 11k", "seeking": "No", "notice_period": "3 Weeks", "cover_letter": "", "work_eligible": "0", "preferred_job_titles": [ "Coaches and Scout", "Algorithm Developer", "Typesetter" ], "sectors": [ "Development", "Warehouse", "Engineering" ], "disciplines": [ "App" ], "employment_types": [ "Full time" ], "contract_types": [ "Shift work", "Maternity cover" ], "overview": "Mollitia ut ut expedita sed qui beatae. Ratione sit repellat et dolorum placeat accusantium excepturi. Et quod maxime voluptatum tempore rerum occaecati quia. Perferendis est debitis quo aut.\nError nisi ut non eaque eligendi sed. Et est qui odio minus eos maiores. Ullam ut sit dolorem quisquam quis. Voluptatem nesciunt iste quia quos quos.\nDolor ab quo ea eum. Illum eius sed ad consequuntur. Numquam distinctio et quo possimus tempore aut.", "sector_disciplines": [ "Development", "Development::App", "Warehouse", "Engineering" ], "available_from": "2022-03-10", "available_from_year": "2022", "available_from_day": "10", "available_from_month": "March", "experience": "Project management,Platform launch,Registrations", "specialisms": "Performance", "qualifications": "HND Business management", "skills": "Javascript,SQL,FLT,Rust", "expertise": [ "SQL Server", "MongoDB", "Elasticsearch", "Kubernetes", "Docker", "PostGres", "Rust" ], "locations": [ "Evesham, Gloucestershire", "Haverfordwest, Pembrokeshire", "Liverpool, Merseyside", "Bicester" ], "available_from_hr": "March 10th, 2022", "hot": 1, "featured": 1, "latitude": "", "longitude": "", "current_employer": "Nodex Limited", "timesheets": [ { "filename": "Timesheet - Tony James - 2022-week-07.txt", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/timesheet/1", "filesize": "14696", "created_at": "2022-02-15 15:02:42" } ], "resumes": [ { "filename": "HM3590.pdf", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/resume/3", "filesize": "50544", "created_at": "2022-03-03 07:54:51" } ], "documents": [ { "filename": "Passport scan.png", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/document/1", "filesize": "408897", "created_at": "2021-10-28 13:34:10" } ], "applications": [ { "job": { "id": 4, "title": "Conservation Scientist", "reference": "ACME/3", "location": "Home based" }, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1509", "application_date": "2022-03-02 11:15:32" }, { "job": { "id": 4, "title": "Conservation Scientist", "reference": "ACME/3", "location": "Home based" }, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1508", "application_date": "2022-03-02 11:00:43" }, { "job": { "id": 4, "title": "Conservation Scientist", "reference": "ACME/3", "location": "Home based" }, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1507", "application_date": "2022-03-02 10:57:45" } ], "consent": [ { "type": "Marketing", "value": "Revoked", "date": "2022-03-03 11:15:51", "ip_address": "127.0.0.1" } ] } ] }
Example candidate details request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/candidates/details/1 \ -H 'Content-Type: application/json; charset=utf-8' \ --user 'your_username:strong_password!' Response: { "status": 200, "total": 1, "data": [ { "email": "tony.james.1945@example.com", "signup_email": "tony.james.1945@example.com", "last_login": "2020-01-26 18:39:01", "identifier": "3f451dadc95638dcb9b2d186295883d9f94654f1", "marketing_opted_in": 0, "created_at": "2020-01-21 06:04:16", "updated_at": "2022-03-03 11:15:51", "id": 1, "name": "Tony James", "telephone": "07741 862389", "address": "1St-Computers Solutions Ltd, Kemp House", "city": "London", "county": "", "country": "United Kingdom", "postcode": "EC1v 2NX", "job_title": "Financial Services Sales Agent", "current_salary": "10k - 11k", "preferred_salary": "10k - 11k", "seeking": "No", "notice_period": "3 Weeks", "cover_letter": "", "work_eligible": "0", "preferred_job_titles": [ "Coaches and Scout", "Algorithm Developer", "Typesetter" ], "sectors": [ "Development", "Warehouse", "Engineering" ], "disciplines": [ "App" ], "employment_types": [ "Full time" ], "contract_types": [ "Shift work", "Maternity cover" ], "overview": "Mollitia ut ut expedita sed qui beatae. Ratione sit repellat et dolorum placeat accusantium excepturi. Et quod maxime voluptatum tempore rerum occaecati quia. Perferendis est debitis quo aut.\nError nisi ut non eaque eligendi sed. Et est qui odio minus eos maiores. Ullam ut sit dolorem quisquam quis. Voluptatem nesciunt iste quia quos quos.\nDolor ab quo ea eum. Illum eius sed ad consequuntur. Numquam distinctio et quo possimus tempore aut.", "sector_disciplines": [ "Development", "Development::App", "Warehouse", "Engineering" ], "available_from": "2022-03-10", "available_from_year": "2022", "available_from_day": "10", "available_from_month": "March", "experience": "Project management,Platform launch,Registrations", "specialisms": "Performance", "qualifications": "HND Business management", "skills": "Javascript,SQL,FLT,Rust", "expertise": [ "SQL Server", "MongoDB", "Elasticsearch", "Kubernetes", "Docker", "PostGres", "Rust" ], "locations": [ "Evesham, Gloucestershire", "Haverfordwest, Pembrokeshire", "Liverpool, Merseyside", "Bicester" ], "available_from_hr": "March 10th, 2022", "hot": 1, "featured": 1, "latitude": "", "longitude": "", "current_employer": "Nodex Limited", "timesheets": [ { "filename": "Timesheet - Tony James - 2022-week-07.txt", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/timesheet/1", "filesize": "14696", "created_at": "2022-02-15 15:02:42" } ], "resumes": [ { "filename": "HM3590.pdf", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/resume/3", "filesize": "50544", "created_at": "2022-03-03 07:54:51" } ], "documents": [ { "filename": "Passport scan.png", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/document/1", "filesize": "408897", "created_at": "2021-10-28 13:34:10" } ], "applications": [ { "job": { "id": 4, "title": "Conservation Scientist", "reference": "ACME/3", "location": "Home based" }, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1509", "application_date": "2022-03-02 11:15:32" }, { "job": { "id": 4, "title": "Conservation Scientist", "reference": "ACME/3", "location": "Home based" }, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1508", "application_date": "2022-03-02 11:00:43" }, { "job": { "id": 4, "title": "Conservation Scientist", "reference": "ACME/3", "location": "Home based" }, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1507", "application_date": "2022-03-02 10:57:45" } ], "consent": [ { "type": "Marketing", "value": "Revoked", "date": "2022-03-03 11:15:51", "ip_address": "127.0.0.1" } ] } ] }
Available endpoints for applications
(VERB -> Endpoint)
GET → https://www.positiveoutcome.co.uk/api/v1/applications/list GET → https://www.positiveoutcome.co.uk/api/v1/applications/details/{id} GET → https://www.positiveoutcome.co.uk/api/v1/applications/attachment/{id}
Endpoint descriptions
/list List all applications with since or vacancy paramter(s) /details/{id} Show specific application details with parameter id /attachment/{id} Downloads attachment of parameter id (from previous request/response)
Example application list request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/applications/list?since=2022-01-01+09:15&vacancy=2 \ -H 'Content-Type: application/json; charset=utf-8' \ --user 'your_username:strong_password!' Response: { "status": 200, "total": 1510, "data": [ { "id": 1510, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1510", "created_at": "2022-03-03 14:16:49", "updated_at": "2022-03-03 14:16:49", "applicant": { "name": "Tony James", "email": "tony.james.1945@example.com", "telephone": "07741 862389", "cover_letter": "", "attachment": { "href": "https://www.positiveoutcome.co.uk/api/v1/applications/attachment/1510", "filename": "my-resume.docx" } }, "vacancy": { "id": 54, "title": "Biochemist", "location": "Bromley, Greater London", "salary": "\u00a311.31 per hour", "reference": "ACME/53" } }, { "id": 1509, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1509", "created_at": "2022-03-02 11:15:32", "updated_at": "2022-03-02 11:15:32", "applicant": { "name": "Tony James", "email": "tony.james.1945@example.com", "telephone": "07741 862389", "cover_letter": "", "attachment": { "href": "https://www.positiveoutcome.co.uk/api/v1/applications/attachment/1509", "filename": "my-cv.pdf" } }, "vacancy": { "id": 4, "title": "Conservation Scientist", "location": "Home based", "salary": "\u00a314.27 per hour", "reference": "ACME/3" } }, { "id": 1508, "href": "https://www.positiveoutcome.co.uk/api/v1/applications/details/1508", "created_at": "2022-03-02 11:00:43", "updated_at": "2022-03-02 11:00:43", "applicant": { "name": "Tony James", "email": "tony.james.1945@example.com", "telephone": "07741 862389", "cover_letter": "", "attachment": { "href": "https://www.positiveoutcome.co.uk/api/v1/applications/attachment/1508", "filename": "CV.pdf" } }, "vacancy": { "id": 4, "title": "Conservation Scientist", "location": "Home based", "salary": "\u00a314.27 per hour", "reference": "ACME/3" } } ], "next_page": "https://www.positiveoutcome.co.uk/api/v1/applications/list?page=2" }
Example application details request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/applications/details/1509 \ --user 'your_username:strong_password!' Response: { "status": 200, "total": 1, "data": [ { "id": 1510, "vacancy": { "title": "Biochemist", "id": 54, "location": "Bromley, Greater London", "reference": "ACME/53", "salary": "\u00a311.31 per hour" }, "applicant": { "name": "Tony James", "email": "tony.james.1945@example.com", "telephone": "07741 862389", "cover_letter": "", "attachment": { "href": "https://www.positiveoutcome.co.uk/api/v1/applications/attachment/1510", "filename": "my-resume.docx" } }, "created_at": "2022-03-03 14:16:49", "updated_at": "2022-03-03 14:16:49" } ] }
Example application attachment request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/applications/attachment/1509 \ --user 'your_username:strong_password!' -O -J Response: Headers: Content-Type: application/octet-stream Content-Length: [length-in-bytes] Content-Disposition: attachment; filename="[name-of-attachment-from-applicant]" Content-Transfer-Encoding: binary [binary-file-data]
Please note that it is your responsibility to check attachments with up-to-date anti virus software. We cannot be held responsible for any infections, malware or other kind of expolits that pertain to downloaded files from this platform.
Available endpoints for timesheets
(VERB -> Endpoint)
GET → https://www.positiveoutcome.co.uk/api/v1/timesheets/list GET → https://www.positiveoutcome.co.uk/api/v1/candidates/timesheets/download/{id}
Endpoint descriptions
/list List all timesheets parameter since /download/{id} Download specific timesheet details with parameter id
Request rate limited
Please note that requests to these enpoints are rate limited. You may make one request per endpoint per 15 minutes And enpoint is denoted as a request, for example downloading a document and then a resume are treated as different endpoints as are ?page=1 and ?page=2. These API's are not intended to give you an interface to query real-time data for your application / third party software, it's intended to keep your website data in sync across third party providers that choose not to have API's in to their system. If you make too many requests in the time period you will recieve a 429
response header along with a Retry-after
header which has the value in seconds to retry the request, this will allow you to gracefully queue your request to retry after the given amount of time.
Authentication example
curl -X [VERB] https://www.positiveoutcome.co.uk/api/v1/timesheets/list \ --user 'your_username:strong_password!'
User credentials are created inside your control panel. They are used with HTTP basic authentication and have the form [username]:[password]
.
Example timesheet list request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/timesheets/list?since=2022-01-01+09:15 \ -H 'Content-Type: timesheet/json; charset=utf-8' \ --user 'your_username:strong_password!' Response: { "status": 200, "total": 1, "next_page": "https://www.positiveoutcome.co.uk/api/v1/timesheets/list?since=2000-01-01&page=2", "prev_page": false, "data": [ { "id": 1, "attachment": { "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/timesheet/1", "filename": "Timesheet - Tony James - 2022-week-07.txt", "filesize": 14696 }, "created_at": "2022-02-15 15:02:42", "candidate": { "id": 1, "name": "Tony James", "email": "tony.james.1945@example.com", "href": "https://www.positiveoutcome.co.uk/api/v1/candidates/details/1" } } ] }
Example timesheet download request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/candidates/timesheet/1 \ --user 'your_username:strong_password!' -O -J Response: Headers: Content-Type: timesheet/octet-stream Content-Length: [length-in-bytes] Content-Disposition: attachment; filename="[name-of-timesheet-from-applicant]" Content-Transfer-Encoding: binary [binary-file-data]
Please note that it is your responsibility to check attachments with up-to-date anti virus software. We cannot be held responsible for any infections, malware or other kind of expolits that pertain to downloaded files from this platform.
Available endpoints for marketing
(VERB -> Endpoint)
GET → https://www.positiveoutcome.co.uk/api/v1/marketing/list
Endpoint descriptions
/list List all marketing approvals/revocations parameter since
Example timesheet list request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/marketing/list?since=2022-01-01+09:15 \ --user 'your_username:strong_password!' Response: { "status": 200, "total": 2202, "data": [ { "candidate": { "email": "tony.james.1945@example.com", "id": 1, "ip_address": "192.168.1.1" }, "action": "Revoked", "created_at": "2022-03-03 11:15:51" }, { "candidate": { "email": "toby.harris.1932@example.co.uk", "id": 0, "ip_address": "33.147.21.2" }, "action": "Revoked", "created_at": "2021-10-17 15:57:21" }, { "candidate": { "email": "lily.marshall.1985@example.co.uk", "id": 0, "ip_address": "205.60.190.26" }, "action": "Revoked", "created_at": "2021-10-16 13:34:21" }, { "candidate": { "email": "kimberly.baker.1986@example.co.uk", "id": 0, "ip_address": "239.211.184.32" }, "action": "Revoked", "created_at": "2021-10-16 04:22:52" }, { "candidate": { "email": "cameron.lloyd.1900@example.co.uk", "id": 0, "ip_address": "4.133.193.224" }, "action": "Revoked", "created_at": "2021-10-09 07:28:17" }, { "candidate": { "email": "jamie.ross.1994@example.co.uk", "id": 0, "ip_address": "167.174.254.56" }, "action": "Revoked", "created_at": "2021-10-08 16:09:20" }, { "candidate": { "email": "alfie.lewis.1972@example.co.uk", "id": 0, "ip_address": "185.207.114.106" }, "action": "Revoked", "created_at": "2021-10-03 15:53:11" }, { "candidate": { "email": "pete.khan.1909@example.co.uk", "id": 0, "ip_address": "170.171.197.171" }, "action": "Revoked", "created_at": "2021-10-03 15:08:46" }, { "candidate": { "email": "stacey.green.1971@example.co.uk", "id": 0, "ip_address": "225.8.143.228" }, "action": "Revoked", "created_at": "2021-10-03 11:52:54" }, { "candidate": { "email": "harley.fox.1950@example.co.uk", "id": 0, "ip_address": "137.49.61.54" }, "action": "Revoked", "created_at": "2021-10-02 22:35:43" }, { "candidate": { "email": "caitlin.thompson.1909@example.co.uk", "id": 0, "ip_address": "250.79.209.203" }, "action": "Revoked", "created_at": "2021-09-30 09:23:28" }, { "candidate": { "email": "lizzie.brown.1901@example.co.uk", "id": 0, "ip_address": "24.124.133.237" }, "action": "Revoked", "created_at": "2021-09-26 01:43:56" }, { "candidate": { "email": "kirsten.jones.1916@example.co.uk", "id": 0, "ip_address": "216.62.126.173" }, "action": "Revoked", "created_at": "2021-09-25 00:30:56" }, { "candidate": { "email": "kirsty.holmes.1974@example.co.uk", "id": 0, "ip_address": "216.151.82.135" }, "action": "Revoked", "created_at": "2021-09-24 22:35:57" }, { "candidate": { "email": "melissa.turner.1967@example.co.uk", "id": 0, "ip_address": "254.241.177.70" }, "action": "Revoked", "created_at": "2021-09-23 20:06:50" }, { "candidate": { "email": "jamie.reid.1919@example.co.uk", "id": 0, "ip_address": "229.45.67.187" }, "action": "Revoked", "created_at": "2021-09-20 07:59:05" }, { "candidate": { "email": "david.robinson.1900@example.co.uk", "id": 0, "ip_address": "133.46.54.87" }, "action": "Revoked", "created_at": "2021-09-15 15:25:32" }, { "candidate": { "email": "erin.adams.1941@example.co.uk", "id": 0, "ip_address": "55.179.126.72" }, "action": "Revoked", "created_at": "2021-09-13 14:07:24" }, { "candidate": { "email": "kirsten.miller.1978@example.co.uk", "id": 0, "ip_address": "29.102.85.108" }, "action": "Revoked", "created_at": "2021-09-13 05:18:19" }, { "candidate": { "email": "helena.allen.1953@example.co.uk", "id": 0, "ip_address": "125.39.155.183" }, "action": "Revoked", "created_at": "2021-09-11 06:15:59" }, { "candidate": { "email": "henry.stewart.1975@example.co.uk", "id": 0, "ip_address": "243.132.64.132" }, "action": "Revoked", "created_at": "2021-09-09 05:22:59" }, { "candidate": { "email": "melissa.watson.1976@example.co.uk", "id": 0, "ip_address": "229.46.240.195" }, "action": "Revoked", "created_at": "2021-09-07 15:40:03" }, { "candidate": { "email": "leo.richards.2000@example.co.uk", "id": 0, "ip_address": "86.203.234.55" }, "action": "Revoked", "created_at": "2021-09-06 03:42:37" }, { "candidate": { "email": "evelyn.hunt.1994@example.co.uk", "id": 0, "ip_address": "168.161.134.107" }, "action": "Revoked", "created_at": "2021-09-05 19:34:07" }, { "candidate": { "email": "theo.watson.1945@example.co.uk", "id": 0, "ip_address": "255.156.252.103" }, "action": "Revoked", "created_at": "2021-09-04 13:17:51" } ], "next_page": "https://www.positiveoutcome.co.uk/api/v1/marketing/list?since=2000-01-01&page=2" }
Available endpoints for metrics
(VERB -> Endpoint)
GET → https://www.positiveoutcome.co.uk/api/v1/metrics/list
Endpoint descriptions
/list List all metrics & aggregations
Example metrics list request & response
Expand/collapse curl -X GET https://www.positiveoutcome.co.uk/api/v1/metrics/list \ --user 'your_username:strong_password!' Response: { "status": 200, "metrics": [ { "label": "Jobs created", "total": 99, "aggregations": [ { "year": "2022", "month": "March", "total": 0 }, { "year": "2022", "month": "February", "total": 5 }, { "year": "2022", "month": "January", "total": 5 }, { "year": "2021", "month": "December", "total": 3 }, { "year": "2021", "month": "November", "total": 2 }, { "year": "2021", "month": "October", "total": 4 } ] }, { "label": "Job searches", "total": 12050, "aggregations": [ { "year": "2022", "month": "March", "total": 101 }, { "year": "2022", "month": "February", "total": 304 }, { "year": "2022", "month": "January", "total": 81 }, { "year": "2021", "month": "December", "total": 23 }, { "year": "2021", "month": "November", "total": 87 } ] }, { "label": "Client enquiries", "total": 252, "aggregations": [ { "year": "2022", "month": "March", "total": 1 }, { "year": "2022", "month": "February", "total": 12 }, { "year": "2022", "month": "January", "total": 8 }, { "year": "2021", "month": "December", "total": 10 }, { "year": "2021", "month": "November", "total": 6 }, { "year": "2021", "month": "October", "total": 10 }, { "year": "2021", "month": "September", "total": 14 }, { "year": "2021", "month": "August", "total": 8 }, { "year": "2021", "month": "July", "total": 9 }, { "year": "2021", "month": "June", "total": 12 }, { "year": "2021", "month": "May", "total": 14 }, { "year": "2021", "month": "April", "total": 8 }, { "year": "2021", "month": "March", "total": 7 } ] }, { "label": "Registrations", "total": 250, "aggregations": [ { "year": "2022", "month": "March", "total": 3 }, { "year": "2022", "month": "February", "total": 8 }, { "year": "2022", "month": "January", "total": 9 }, { "year": "2021", "month": "December", "total": 10 }, { "year": "2021", "month": "November", "total": 6 } ] }, { "label": "Applications", "total": 1499, "aggregations": [ { "year": "2022", "month": "March", "total": 7 }, { "year": "2022", "month": "February", "total": 58 }, { "year": "2022", "month": "January", "total": 61 }, { "year": "2021", "month": "December", "total": 56 }, { "year": "2021", "month": "November", "total": 62 }, { "year": "2021", "month": "October", "total": 65 } ] }, { "label": "Timesheets", "total": 1580, "aggregations": [ { "year": "2022", "month": "March", "total": 7 }, { "year": "2022", "month": "February", "total": 62 }, { "year": "2022", "month": "January", "total": 72 }, { "year": "2021", "month": "December", "total": 75 }, { "year": "2021", "month": "November", "total": 65 }, { "year": "2021", "month": "October", "total": 56 }, { "year": "2021", "month": "September", "total": 76 } ] }, { "label": "Consent opt-ins", "total": 1091, "aggregations": [ { "year": "2022", "month": "March", "total": 1 }, { "year": "2022", "month": "February", "total": 0 }, { "year": "2022", "month": "January", "total": 0 }, { "year": "2021", "month": "December", "total": 0 }, { "year": "2021", "month": "November", "total": 0 }, { "year": "2021", "month": "October", "total": 7 } ] }, { "label": "Consent opt-outs", "total": 1111, "aggregations": [ { "year": "2022", "month": "March", "total": 1 }, { "year": "2022", "month": "February", "total": 0 }, { "year": "2022", "month": "January", "total": 0 }, { "year": "2021", "month": "December", "total": 0 }, { "year": "2021", "month": "November", "total": 0 }, { "year": "2021", "month": "October", "total": 11 }, { "year": "2021", "month": "September", "total": 24 }, { "year": "2021", "month": "August", "total": 16 }, { "year": "2021", "month": "July", "total": 25 }, { "year": "2021", "month": "June", "total": 20 }, { "year": "2021", "month": "May", "total": 31 }, { "year": "2021", "month": "April", "total": 24 }, { "year": "2021", "month": "March", "total": 33 }, { "year": "2021", "month": "February", "total": 27 } ] }, { "label": "Job submissions", "total": 300, "aggregations": [ { "year": "2022", "month": "March", "total": 0 }, { "year": "2022", "month": "February", "total": 0 }, { "year": "2022", "month": "January", "total": 0 }, { "year": "2021", "month": "December", "total": 0 }, { "year": "2021", "month": "November", "total": 0 }, { "year": "2021", "month": "October", "total": 1 }, { "year": "2021", "month": "September", "total": 7 }, { "year": "2021", "month": "August", "total": 9 }, { "year": "2021", "month": "July", "total": 8 }, { "year": "2021", "month": "June", "total": 7 } ] }, { "label": "Candidate interest", "total": 607, "aggregations": [ { "year": "2022", "month": "March", "total": 0 }, { "year": "2022", "month": "February", "total": 26 }, { "year": "2022", "month": "January", "total": 21 }, { "year": "2021", "month": "December", "total": 33 }, { "year": "2021", "month": "November", "total": 23 }, { "year": "2021", "month": "October", "total": 20 }, { "year": "2021", "month": "September", "total": 18 }, { "year": "2021", "month": "August", "total": 28 }, { "year": "2021", "month": "July", "total": 21 }, { "year": "2021", "month": "June", "total": 22 }, { "year": "2021", "month": "May", "total": 25 } ] } ] }