POST api/v2.0/Volunteer/AddToPoolByLegacyKey?legacyContactKey={legacyContactKey}
Add a new user to the General Volunteer Pool. Can only be accessed by an Admin user.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
legacyContactKey |
LegacyContactKey (Source System ID) of the user to add to the Volunteer Pool. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
VolunteerName | Description | Type | Additional 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": "83a9a3c6-e0aa-4190-9466-d85b7706b19c", "ContactKey": "159ec5f3-7e40-44fc-88b8-166aa6600655", "VolunteerOpportunityTravelKey": "2dfa51c2-a6b4-4123-8ecb-053280a985dd", "Bio": "sample string 4", "StartOn": "2023-12-11T15:28:57.6152695Z", "EndOn": "2023-12-11T15:28:57.6152695Z", "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>159ec5f3-7e40-44fc-88b8-166aa6600655</ContactKey> <EndOn>2023-12-11T10:28:57.6152695-05:00</EndOn> <StartOn>2023-12-11T10:28:57.6152695-05:00</StartOn> <VolunteerExperienceLevel> <ExperienceLevel>sample string 1</ExperienceLevel> <HourlyRate>1</HourlyRate> <SkillsMultiplier>2</SkillsMultiplier> </VolunteerExperienceLevel> <VolunteerKey>83a9a3c6-e0aa-4190-9466-d85b7706b19c</VolunteerKey> <VolunteerOpportunityTravel> <Description>sample string 1</Description> <Distance>2</Distance> </VolunteerOpportunityTravel> <VolunteerOpportunityTravelKey>2dfa51c2-a6b4-4123-8ecb-053280a985dd</VolunteerOpportunityTravelKey> </Volunteer>