POST api/v2.0/Volunteer/AddToPoolByContactKey?contactKey={contactKey}

Add a new user to the General Volunteer Pool. Can only be accessed by an Admin user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactKey

ContactKey of the user to add to the Volunteer Pool.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Volunteer
NameDescriptionTypeAdditional information
VolunteerKey

The Unique Identifier for a Volunteer.

globally unique identifier

None.

ContactKey

The Unique Identifier for the Contact associated with this Volunteer record.

globally unique identifier

None.

VolunteerOpportunityTravelKey

The Unique Identifier for the Travel Information for this Volunteer record.

globally unique identifier

None.

Bio

Volunteer Biography information.

string

None.

StartOn

Volunteer availability start date.

date

None.

EndOn

Volunteer availability end date.

date

None.

VolunteerExperienceLevel

Level of Volunteer Experience.

VolunteerExperienceLevel

None.

VolunteerOpportunityTravel

Volunteer Travel preferences.

VolunteerOpportunityTravel

None.

Response Formats

application/json, text/json

Sample:
{
  "VolunteerKey": "42fbada8-1c8e-4f9e-9585-01846e66e765",
  "ContactKey": "27af52ff-9a3e-453f-8c48-a04460d08be2",
  "VolunteerOpportunityTravelKey": "5e8fb752-3cbf-4ba0-8a2b-103116caaf97",
  "Bio": "sample string 4",
  "StartOn": "2024-04-20T10:30:05.9402412Z",
  "EndOn": "2024-04-20T10:30:05.9402412Z",
  "VolunteerExperienceLevel": {
    "ExperienceLevel": "sample string 1",
    "SkillsMultiplier": 2.0,
    "HourlyRate": 1.0
  },
  "VolunteerOpportunityTravel": {
    "Description": "sample string 1",
    "Distance": 2
  }
}

application/xml, text/xml

Sample:
<Volunteer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Volunteer">
  <Bio>sample string 4</Bio>
  <ContactKey>27af52ff-9a3e-453f-8c48-a04460d08be2</ContactKey>
  <EndOn>2024-04-20T06:30:05.9402412-04:00</EndOn>
  <StartOn>2024-04-20T06:30:05.9402412-04:00</StartOn>
  <VolunteerExperienceLevel>
    <ExperienceLevel>sample string 1</ExperienceLevel>
    <HourlyRate>1</HourlyRate>
    <SkillsMultiplier>2</SkillsMultiplier>
  </VolunteerExperienceLevel>
  <VolunteerKey>42fbada8-1c8e-4f9e-9585-01846e66e765</VolunteerKey>
  <VolunteerOpportunityTravel>
    <Description>sample string 1</Description>
    <Distance>2</Distance>
  </VolunteerOpportunityTravel>
  <VolunteerOpportunityTravelKey>5e8fb752-3cbf-4ba0-8a2b-103116caaf97</VolunteerOpportunityTravelKey>
</Volunteer>