POST Api/Applicant/Document/{id}
Updates a document for a specific applicant profile.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the document. |
integer |
Required |
Body Parameters
The document to update.
ApplicantDocumentParameterName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
FileExtension | string |
None. |
|
Type | string |
None. |
|
Content | Collection of byte |
None. |
|
IsPublic | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "FileExtension": "sample string 2", "Type": "sample string 3", "Content": "QEA=", "IsPublic": true }
application/xml, text/xml
Sample:
<ApplicantDocumentParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters"> <Content>QEA=</Content> <FileExtension>sample string 2</FileExtension> <IsPublic>true</IsPublic> <Name>sample string 1</Name> <Type>sample string 3</Type> </ApplicantDocumentParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The newly created applicant document.
ApplicantDocumentResponseName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
FileExtension | string |
None. |
|
Type | string |
None. |
|
Content | Collection of byte |
None. |
|
IsPublic | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "FileExtension": "sample string 3", "Type": "sample string 4", "Content": "QEA=", "IsPublic": true }
application/xml, text/xml
Sample:
<ApplicantDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses"> <Content xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">QEA=</Content> <FileExtension xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">sample string 3</FileExtension> <IsPublic xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">true</IsPublic> <Name xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">sample string 2</Name> <Type xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">sample string 4</Type> <Id>1</Id> </ApplicantDocumentResponse>