C# 클래스 CBApi.CbApi

상속: ICBApi
파일 보기 프로젝트 열기: usbsnowcrash/Careerbuilder.Net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_AfterListeners List
_BeforeListeners List
_Settings CBApi.APISettings

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

메소드 상세

AnonymousApplication() 공개 메소드

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

ApplyLink() 공개 메소드

Gets the ApplyLink for a Job
public ApplyLink ( ApplyLink request ) : string
request ApplyLink An ApplyLink values collection to pass to the api.
리턴 string

ApplyLink() 공개 메소드

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

CbApi() 보호된 메소드

protected CbApi ( ) : System.Collections.Generic
리턴 System.Collections.Generic

CbApi() 보호된 메소드

protected CbApi ( string key ) : System.Collections.Generic
key string
리턴 System.Collections.Generic

CbApi() 보호된 메소드

protected CbApi ( string key, int timeout ) : System.Collections.Generic
key string
timeout int
리턴 System.Collections.Generic

CbApi() 보호된 메소드

protected CbApi ( string key, int timeout, TargetSite site ) : System.Collections.Generic
key string
timeout int
site CBApi.Models.Service.TargetSite
리턴 System.Collections.Generic

CbApi() 보호된 메소드

protected CbApi ( string key, string cobrandCode ) : System.Collections.Generic
key string
cobrandCode string
리턴 System.Collections.Generic

CbApi() 보호된 메소드

protected CbApi ( string key, string cobrandCode, string siteid ) : System.Collections.Generic
key string
cobrandCode string
siteid string
리턴 System.Collections.Generic

CreateSavedSearch() 공개 메소드

public CreateSavedSearch ( SavedSearchCreate app ) : CBApi.Models.SavedSearchCreateResponse
app CBApi.Models.SavedSearchCreate the saved search that is wanting to be saved
리턴 CBApi.Models.SavedSearchCreateResponse

DeleteSavedSearchXML() 공개 메소드

public DeleteSavedSearchXML ( RequestSavedSearchDelete search ) : SavedSearchDeleteResponse
search RequestSavedSearchDelete The search being deleted
리턴 CBApi.Models.SavedSearchDeleteResponse

GetAccessToken() 공개 메소드

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.
리턴 CBApi.Models.AccessToken

GetApplicationForm() 공개 메소드

Make a call to /v1/application/form
public GetApplicationForm ( string jobDid ) : string
jobDid string
리턴 string

GetBlankApplication() 공개 메소드

Make a call to /v1/application/blank
public GetBlankApplication ( string jobDid ) : BlankApplication
jobDid string
리턴 CBApi.Models.BlankApplication

GetCategories() 공개 메소드

Make a call to /v1/categories
public GetCategories ( ) : ICategoryRequest
리턴 ICategoryRequest

GetEducationCodes() 공개 메소드

Make a call to /v1/educationcodes
public GetEducationCodes ( ) : IEducationCodesRequest
리턴 IEducationCodesRequest

GetEmployeeTypes() 공개 메소드

Make a call to /v1/employeetypes
public GetEmployeeTypes ( ) : IEmployeeTypesRequest
리턴 IEmployeeTypesRequest

GetJob() 공개 메소드

Make a call to /v1/job
public GetJob ( string jobDid ) : CBApi.Models.Job
jobDid string
리턴 CBApi.Models.Job

GetOAuthRedirectUri() 공개 메소드

Gets the Uri to redirect to for OAuth
public GetOAuthRedirectUri ( string clientId, string redirectUri, string permissions ) : Uri
clientId string
redirectUri string
permissions string
리턴 System.Uri

GetRecommendationsForJob() 공개 메소드

Make a call to /v1/recommendations/forjob
public GetRecommendationsForJob ( string jobDid ) : List
jobDid string
리턴 List

GetRecommendationsForJobWithUserPreferences() 공개 메소드

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

GetRecommendationsForUser() 공개 메소드

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
리턴 List

JobReport() 공개 메소드

public JobReport ( string jobDid ) : CBApi.Models.Responses.ResponseJobReport
jobDid string
리턴 CBApi.Models.Responses.ResponseJobReport

JobSearch() 공개 메소드

Make a call to /v1/jobsearch
public JobSearch ( ) : IJobSearch
리턴 IJobSearch

ListSavedSearches() 공개 메소드

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
리턴 CBApi.Models.SavedSearchListResponseModel

RetrieveASavedSearch() 공개 메소드

public RetrieveASavedSearch ( string savedSearchDID, string userOAuthToken ) : Models.WebAPIs.SavedSearch.SavedSearches
savedSearchDID string
userOAuthToken string
리턴 Models.WebAPIs.SavedSearch.SavedSearches

RetrieveSavedSearch() 공개 메소드

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

SubmitApplication() 공개 메소드

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

SubmitApplication() 공개 메소드

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

UpdateSavedSearch() 공개 메소드

Updates a SavedSearch
public UpdateSavedSearch ( SavedSearchUpdateRequestModel app ) : SavedSearchUpdateResponseModel
app CBApi.Models.SavedSearchUpdateRequestModel The data for the savedsearch
리턴 SavedSearchUpdateResponseModel

WireAfterRequestEvents() 보호된 메소드

protected WireAfterRequestEvents ( BaseRequest req ) : void
req CBApi.Framework.Requests.BaseRequest
리턴 void

WireBeforeRequestEvents() 보호된 메소드

protected WireBeforeRequestEvents ( BaseRequest req ) : void
req CBApi.Framework.Requests.BaseRequest
리턴 void

프로퍼티 상세

_AfterListeners 보호되어 있는 프로퍼티

protected List _AfterListeners
리턴 List

_BeforeListeners 보호되어 있는 프로퍼티

protected List _BeforeListeners
리턴 List

_Settings 보호되어 있는 프로퍼티

protected APISettings,CBApi _Settings
리턴 CBApi.APISettings