POST api/Candidates/{CandidateCode}/VerbalReferenceCheck
This is used to add candidate verbal reference check
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CandidateCode | string |
Required |
Body Parameters
VerbalReferenceCheckDOName | Description | Type | Additional information |
---|---|---|---|
CandidateCode | string |
None. |
|
RefereeId | integer |
None. |
|
TemplateId | integer |
None. |
|
PersonalityId | integer |
None. |
|
HappyToProceed | boolean |
None. |
|
PermissionToRelease | boolean |
None. |
|
GoogleDocUrl | string |
None. |
|
DocumentData | ReferenceCheckDocumentDO |
None. |
Request Formats
application/json, text/json
Sample:
{ "CandidateCode": "sample string 1", "RefereeId": 2, "TemplateId": 3, "PersonalityId": 4, "HappyToProceed": true, "PermissionToRelease": true, "GoogleDocUrl": "sample string 7", "DocumentData": { "DocumentName": "sample string 1", "DocumentContent": "QEA=", "DocumentExtn": "sample string 2" } }
text/xml
Sample:
<VerbalReferenceCheckDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <CandidateCode>sample string 1</CandidateCode> <DocumentData> <DocumentContent>QEA=</DocumentContent> <DocumentExtn>sample string 2</DocumentExtn> <DocumentName>sample string 1</DocumentName> </DocumentData> <GoogleDocUrl>sample string 7</GoogleDocUrl> <HappyToProceed>true</HappyToProceed> <PermissionToRelease>true</PermissionToRelease> <PersonalityId>4</PersonalityId> <RefereeId>2</RefereeId> <TemplateId>3</TemplateId> </VerbalReferenceCheckDO>
multipart/form-data
Sample:
<VerbalReferenceCheckDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><CandidateCode>sample string 1</CandidateCode><DocumentData><DocumentContent>QEA=</DocumentContent><DocumentExtn>sample string 2</DocumentExtn><DocumentName>sample string 1</DocumentName></DocumentData><GoogleDocUrl>sample string 7</GoogleDocUrl><HappyToProceed>true</HappyToProceed><PermissionToRelease>true</PermissionToRelease><PersonalityId>4</PersonalityId><RefereeId>2</RefereeId><TemplateId>3</TemplateId></VerbalReferenceCheckDO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This returns the verbalRefenceCheckResult Data
VerbalReferenceCheckResultDOName | Description | Type | Additional information |
---|---|---|---|
StratosVerbalReferenceCheckUrl | string |
None. |
|
ActivityId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "StratosVerbalReferenceCheckUrl": "sample string 1", "ActivityId": 2 }
text/xml
Sample:
<VerbalReferenceCheckResultDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <ActivityId>2</ActivityId> <StratosVerbalReferenceCheckUrl>sample string 1</StratosVerbalReferenceCheckUrl> </VerbalReferenceCheckResultDO>
multipart/form-data
Sample:
<VerbalReferenceCheckResultDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><ActivityId>2</ActivityId><StratosVerbalReferenceCheckUrl>sample string 1</StratosVerbalReferenceCheckUrl></VerbalReferenceCheckResultDO>