PUT Api/Applicant/Activity/{applicantId}
Creates a new activity for a certain applicant.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
applicantId |
The ID of the applicant. |
integer |
Required |
Body Parameters
The activity to create.
ApplicantActivityParameterName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Start | FlexDate |
None. |
|
End | FlexDate |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Start": { "Year": 1, "Month": 1, "Day": 1, "IsRelativeDate": true, "IsValid": false, "IsEmpty": false }, "End": { "Year": 1, "Month": 1, "Day": 1, "IsRelativeDate": true, "IsValid": false, "IsEmpty": false } }
application/xml, text/xml
Sample:
<ApplicantActivityParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters"> <End xmlns:d2p1="http://schemas.datacontract.org/2004/07/eRecruiter.Api"> <d2p1:Day>1</d2p1:Day> <d2p1:IsRelativeDate>true</d2p1:IsRelativeDate> <d2p1:Month>1</d2p1:Month> <d2p1:Year>1</d2p1:Year> </End> <Name>sample string 1</Name> <Start xmlns:d2p1="http://schemas.datacontract.org/2004/07/eRecruiter.Api"> <d2p1:Day>1</d2p1:Day> <d2p1:IsRelativeDate>true</d2p1:IsRelativeDate> <d2p1:Month>1</d2p1:Month> <d2p1:Year>1</d2p1:Year> </Start> </ApplicantActivityParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The newly created applicant activity.
ApplicantActivityResponseName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Start | FlexDate |
None. |
|
End | FlexDate |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Start": { "Year": 1, "Month": 1, "Day": 1, "IsRelativeDate": true, "IsValid": false, "IsEmpty": false }, "End": { "Year": 1, "Month": 1, "Day": 1, "IsRelativeDate": true, "IsValid": false, "IsEmpty": false } }
application/xml, text/xml
Sample:
<ApplicantActivityResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses"> <End xmlns:d2p1="http://schemas.datacontract.org/2004/07/eRecruiter.Api" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters"> <d2p1:Day>1</d2p1:Day> <d2p1:IsRelativeDate>true</d2p1:IsRelativeDate> <d2p1:Month>1</d2p1:Month> <d2p1:Year>1</d2p1:Year> </End> <Name xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">sample string 2</Name> <Start xmlns:d2p1="http://schemas.datacontract.org/2004/07/eRecruiter.Api" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters"> <d2p1:Day>1</d2p1:Day> <d2p1:IsRelativeDate>true</d2p1:IsRelativeDate> <d2p1:Month>1</d2p1:Month> <d2p1:Year>1</d2p1:Year> </Start> <Id>1</Id> </ApplicantActivityResponse>