Search... K
Appearance
Welcome!
Welcome to the new PCRecruiter API documentation website!
We plan to use this area to announce upcoming changes and additions to our API, so please keep an eye out here for future announcements.
Get Started!
Appearance
The users endpoint is a GET only endpoint that is used to retrieve data about users within PCRecruiter.
This information is limited to basic contact information, as well as email setup information. This endpoint can be useful to sync any contact information for a user, with the information found in PCRecruiter.
The emailaliases section of the users endpoint is used to list the outgoing email setup options for each user. This is just basic information and does not include advanced setup information for each email alias. The email aliases that are returned will only be for the username that was used to create the session token used in the authorization of this call.
GET /rest/api/users{
"method": "GET",
"url": "https://www2.pcrecruiter.net/rest/api/Users",
"headers": {
"Content-Type": "application/json",
"Authorization": "BEARER Token"
}
}{
"TotalRecords": 2,
"Results":[
{
"UserName": "SAMPLE",
"FullName": "John Doe",
"EmailAddress": "support@mainsequence.net",
"Phone": "(440) 946-5214",
"PhoneExt": null,
"ReplicationNumber": null,
"ActiveUser": true
},
{
"UserName": "APIUSER",
"FullName": "APIUSER",
"EmailAddress": null,
"Phone": null,
"PhoneExt": null,
"ReplicationNumber": null,
"ActiveUser": false
}
]
}TIP
This API call returns all usernames in the database with their contact information listed, as well as their active status in PCRecruiter.
GET /rest/api/users/{UserName}{
"method": "GET",
"url": "https://www2.pcrecruiter.net/rest/api/Users/{UserName}",
"headers": {
"Content-Type": "application/json",
"Authorization": "BEARER Token"
}
}{
"UserName": "SAMPLE",
"FullName": "John Doe",
"EmailAddress": "support@mainsequence.net",
"Phone": "(440) 946-5214",
"PhoneExt": null,
"ReplicationNumber": null,
"ActiveUser": true
}TIP
This API call returns all of the contact information for the username appended to the API call URL.
GET /rest/api/users/EmailAliases{
"method": "GET",
"url": "https://www2.pcrecruiter.net/rest/api/Users/EmailAliases",
"headers": {
"Content-Type": "application/json",
"Authorization": "BEARER Token"
}
}{
"Results":[
{
"description": "Primary Email",
"email": "support@mainsequence.net",
"name": "John Doe"
},
{
"description": "Secondary Email",
"email": "lms@mainsequence.net",
"name": "John Doe"
}
]
}TIP
This API call returns all of the outgoing email setup information for the username that was used to create the session token used in the authorization of the API call.