POST api/Candidates/Profile/{CandidateId}/CandidateCoverLetter
Used to add candidate Cover letter
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CandidateId | integer |
Required |
Body Parameters
DocumentName | Description | Type | Additional information |
---|---|---|---|
DocumentID |
This is the Document's ID |
integer |
None. |
DocumentName |
This is the Document's Name |
string |
None. |
Content |
This Document content |
Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocumentID": 1, "DocumentName": "sample string 1", "Content": "QEA=" }
text/xml
Sample:
<Document xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <Content>QEA=</Content> <DocumentID>1</DocumentID> <DocumentName>sample string 1</DocumentName> </Document>
multipart/form-data
Sample:
<Document xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><Content>QEA=</Content><DocumentID>1</DocumentID><DocumentName>sample string 1</DocumentName></Document>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
COMPLETE
integerResponse Formats
application/json, text/json
Sample:
1
text/xml, multipart/form-data
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>