Developer Details

 

Please provide the following details to your volunteer centre website developer so they can list these opportunity records on your Volunteer Centre website

JSON feed URL

 [YOUR_VBC_URL]/api/v1/vbc-opportunities

      For example if your volunteer Centre VBC URL is https://v-base.org/vbaseqa, JSON feed url will be as folows,

       https://v-base.org/vbaseqa/api/v1/vbc-opportunities

Sample opportunity feed 

{
 "id":"298",
 "external_id":"5c4ade30-6455-435d-be18-f66f08b3367f",
 "opportunity_title":"Test Opportunity",
 "apply_for":"Do-it Trust",
 "owner_org":"Do-it Trust",
 "apply_to":"Do-it Trust",
 "opportunity_startdate":"28 Apr 2017",
 "opportunity_enddate":"27 Jul 2017",
 "apply_url":"https://v-base.org/vbaseqa/civicrm/profile/edit?reset=1&gid=14&oppId=298&caction=volapplication"
}

Apply Button

 Apply button of each opportunity needs to be linked to the respective Apply URL + Redirect URL to record the volunteer applications into your VBC account and redirect volunteer back to your desired page.

    Apply URL

    Apply URL for each opportunity is available in the feed.

    Redirect URL

    This is the url of the page where the volunteer will be redirected after an application process. 

    Eg : If your opportunity listing page is http://mosaico.vedacrm.co.uk/vbcqa-opportunities and you would like to redirect the volunteer to the opportunity listing page again, this url needs to be passed along with the apply URL

So the Apply Button link will be as follows

https://v-base.org/vbaseqa/civicrm/profile/edit?reset=1&gid=14&oppId=227&caction=volapplication&redirect=http://mosaico.vedacrm.co.uk/vbcqa-opportunities​

Application Status

Application status will be passed back with the redirect URL on completion of the application and this status token can be used to notify the user about the application status (success / already_applied).