C# Class CBApi.CbApi

Inheritance: ICBApi
Afficher le fichier Open project: usbsnowcrash/Careerbuilder.Net Class Usage Examples

Protected Properties

Свойство Type Description
_AfterListeners List
_BeforeListeners List
_Settings CBApi.APISettings

Méthodes publiques

Méthode Description
AnonymousApplication ( AnonymousApplicationRequest request ) : AnonymousApplicationResponse

Anonymous apply with /v2/Application/submit

ApplyLink ( ApplyLink request ) : string

Gets the ApplyLink for a Job

ApplyLink ( NameValueCollection request ) : string

Gets the ApplyLink for a Job

CreateSavedSearch ( SavedSearchCreate app ) : CBApi.Models.SavedSearchCreateResponse
DeleteSavedSearchXML ( RequestSavedSearchDelete search ) : SavedSearchDeleteResponse
GetAccessToken ( string clientId, string clientSecret, string code, string redirectUri ) : AccessToken

Make a call to /auth/token

GetApplicationForm ( string jobDid ) : string

Make a call to /v1/application/form

GetBlankApplication ( string jobDid ) : BlankApplication

Make a call to /v1/application/blank

GetCategories ( ) : ICategoryRequest

Make a call to /v1/categories

GetEducationCodes ( ) : IEducationCodesRequest

Make a call to /v1/educationcodes

GetEmployeeTypes ( ) : IEmployeeTypesRequest

Make a call to /v1/employeetypes

GetJob ( string jobDid ) : CBApi.Models.Job

Make a call to /v1/job

GetOAuthRedirectUri ( string clientId, string redirectUri, string permissions ) : Uri

Gets the Uri to redirect to for OAuth

GetRecommendationsForJob ( string jobDid ) : List

Make a call to /v1/recommendations/forjob

GetRecommendationsForJobWithUserPreferences ( string jobDid, string userDid ) : List

Make a call to /v1/recommendations/forjobwithuserprefs

GetRecommendationsForUser ( string externalId ) : List

make a call to /v1/recommendations/foruser

JobReport ( string jobDid ) : CBApi.Models.Responses.ResponseJobReport
JobSearch ( ) : IJobSearch

Make a call to /v1/jobsearch

ListSavedSearches ( SavedSearchListRequestModel app ) : CBApi.Models.SavedSearchListResponseModel

Lists all saved searches from a single user

RetrieveASavedSearch ( string savedSearchDID, string userOAuthToken ) : Models.WebAPIs.SavedSearch.SavedSearches
RetrieveSavedSearch ( SavedSearchRetrieveRequestModel app ) : SavedSearchRetrieveResponseModel

Retrieve a single saved search

SubmitApplication ( CBApi.Models.Application app ) : ResponseApplication

Submit an application to /v1/application/submit

SubmitApplication ( RequestApplication app ) : ResponseApplication

Submit an application to /v1/application/submit

UpdateSavedSearch ( SavedSearchUpdateRequestModel app ) : SavedSearchUpdateResponseModel

Updates a SavedSearch

Méthodes protégées

Méthode Description
CbApi ( ) : System.Collections.Generic
CbApi ( string key ) : System.Collections.Generic
CbApi ( string key, int timeout ) : System.Collections.Generic
CbApi ( string key, int timeout, TargetSite site ) : System.Collections.Generic
CbApi ( string key, string cobrandCode ) : System.Collections.Generic
CbApi ( string key, string cobrandCode, string siteid ) : System.Collections.Generic
WireAfterRequestEvents ( BaseRequest req ) : void
WireBeforeRequestEvents ( BaseRequest req ) : void

Method Details

AnonymousApplication() public méthode

Anonymous apply with /v2/Application/submit
public AnonymousApplication ( AnonymousApplicationRequest request ) : AnonymousApplicationResponse
request CBApi.Models.AnonymousApplicationRequest the input for the application
Résultat CBApi.Models.AnonymousApplicationResponse

ApplyLink() public méthode

Gets the ApplyLink for a Job
public ApplyLink ( ApplyLink request ) : string
request ApplyLink An ApplyLink values collection to pass to the api.
Résultat string

ApplyLink() public méthode

Gets the ApplyLink for a Job
public ApplyLink ( NameValueCollection request ) : string
request NameValueCollection A named value collection of params to pass to the api
Résultat string

CbApi() protected méthode

protected CbApi ( ) : System.Collections.Generic
Résultat System.Collections.Generic

CbApi() protected méthode

protected CbApi ( string key ) : System.Collections.Generic
key string
Résultat System.Collections.Generic

CbApi() protected méthode

protected CbApi ( string key, int timeout ) : System.Collections.Generic
key string
timeout int
Résultat System.Collections.Generic

CbApi() protected méthode

protected CbApi ( string key, int timeout, TargetSite site ) : System.Collections.Generic
key string
timeout int
site CBApi.Models.Service.TargetSite
Résultat System.Collections.Generic

CbApi() protected méthode

protected CbApi ( string key, string cobrandCode ) : System.Collections.Generic
key string
cobrandCode string
Résultat System.Collections.Generic

CbApi() protected méthode

protected CbApi ( string key, string cobrandCode, string siteid ) : System.Collections.Generic
key string
cobrandCode string
siteid string
Résultat System.Collections.Generic

CreateSavedSearch() public méthode

public CreateSavedSearch ( SavedSearchCreate app ) : CBApi.Models.SavedSearchCreateResponse
app CBApi.Models.SavedSearchCreate the saved search that is wanting to be saved
Résultat CBApi.Models.SavedSearchCreateResponse

DeleteSavedSearchXML() public méthode

public DeleteSavedSearchXML ( RequestSavedSearchDelete search ) : SavedSearchDeleteResponse
search RequestSavedSearchDelete The search being deleted
Résultat CBApi.Models.SavedSearchDeleteResponse

GetAccessToken() public méthode

Make a call to /auth/token
public GetAccessToken ( string clientId, string clientSecret, string code, string redirectUri ) : AccessToken
clientId string 20 character long external client ID.
clientSecret string 64 character long external client secret.
code string 20 character long OAuth authorization grant code returned from auth/prompt redirection.
redirectUri string URL that was provided at the time of external client registration.
Résultat CBApi.Models.AccessToken

GetApplicationForm() public méthode

Make a call to /v1/application/form
public GetApplicationForm ( string jobDid ) : string
jobDid string
Résultat string

GetBlankApplication() public méthode

Make a call to /v1/application/blank
public GetBlankApplication ( string jobDid ) : BlankApplication
jobDid string
Résultat CBApi.Models.BlankApplication

GetCategories() public méthode

Make a call to /v1/categories
public GetCategories ( ) : ICategoryRequest
Résultat ICategoryRequest

GetEducationCodes() public méthode

Make a call to /v1/educationcodes
public GetEducationCodes ( ) : IEducationCodesRequest
Résultat IEducationCodesRequest

GetEmployeeTypes() public méthode

Make a call to /v1/employeetypes
public GetEmployeeTypes ( ) : IEmployeeTypesRequest
Résultat IEmployeeTypesRequest

GetJob() public méthode

Make a call to /v1/job
public GetJob ( string jobDid ) : CBApi.Models.Job
jobDid string
Résultat CBApi.Models.Job

GetOAuthRedirectUri() public méthode

Gets the Uri to redirect to for OAuth
public GetOAuthRedirectUri ( string clientId, string redirectUri, string permissions ) : Uri
clientId string
redirectUri string
permissions string
Résultat System.Uri

GetRecommendationsForJob() public méthode

Make a call to /v1/recommendations/forjob
public GetRecommendationsForJob ( string jobDid ) : List
jobDid string
Résultat List

GetRecommendationsForJobWithUserPreferences() public méthode

Make a call to /v1/recommendations/forjobwithuserprefs
public GetRecommendationsForJobWithUserPreferences ( string jobDid, string userDid ) : List
jobDid string
userDid string The unique ID of the user
Résultat List

GetRecommendationsForUser() public méthode

make a call to /v1/recommendations/foruser
public GetRecommendationsForUser ( string externalId ) : List
externalId string The ID of the user that you wish to get recs for
Résultat List

JobReport() public méthode

public JobReport ( string jobDid ) : CBApi.Models.Responses.ResponseJobReport
jobDid string
Résultat CBApi.Models.Responses.ResponseJobReport

JobSearch() public méthode

Make a call to /v1/jobsearch
public JobSearch ( ) : IJobSearch
Résultat IJobSearch

ListSavedSearches() public méthode

Lists all saved searches from a single user
public ListSavedSearches ( SavedSearchListRequestModel app ) : CBApi.Models.SavedSearchListResponseModel
app CBApi.Models.SavedSearchListRequestModel info to lead to the users saved searches
Résultat CBApi.Models.SavedSearchListResponseModel

RetrieveASavedSearch() public méthode

public RetrieveASavedSearch ( string savedSearchDID, string userOAuthToken ) : Models.WebAPIs.SavedSearch.SavedSearches
savedSearchDID string
userOAuthToken string
Résultat Models.WebAPIs.SavedSearch.SavedSearches

RetrieveSavedSearch() public méthode

Retrieve a single saved search
public RetrieveSavedSearch ( SavedSearchRetrieveRequestModel app ) : SavedSearchRetrieveResponseModel
app CBApi.Models.SavedSearchRetrieveRequestModel Info to lead to the saved search
Résultat SavedSearchRetrieveResponseModel

SubmitApplication() public méthode

Submit an application to /v1/application/submit
public SubmitApplication ( CBApi.Models.Application app ) : ResponseApplication
app CBApi.Models.Application The application being submited to careerbuilder
Résultat CBApi.Models.ResponseApplication

SubmitApplication() public méthode

Submit an application to /v1/application/submit
public SubmitApplication ( RequestApplication app ) : ResponseApplication
app CBApi.Models.RequestApplication The application being submited to careerbuilder
Résultat CBApi.Models.ResponseApplication

UpdateSavedSearch() public méthode

Updates a SavedSearch
public UpdateSavedSearch ( SavedSearchUpdateRequestModel app ) : SavedSearchUpdateResponseModel
app CBApi.Models.SavedSearchUpdateRequestModel The data for the savedsearch
Résultat SavedSearchUpdateResponseModel

WireAfterRequestEvents() protected méthode

protected WireAfterRequestEvents ( BaseRequest req ) : void
req CBApi.Framework.Requests.BaseRequest
Résultat void

WireBeforeRequestEvents() protected méthode

protected WireBeforeRequestEvents ( BaseRequest req ) : void
req CBApi.Framework.Requests.BaseRequest
Résultat void

Property Details

_AfterListeners protected_oe property

protected List _AfterListeners
Résultat List

_BeforeListeners protected_oe property

protected List _BeforeListeners
Résultat List

_Settings protected_oe property

protected APISettings,CBApi _Settings
Résultat CBApi.APISettings