GET Api/Applicant/Activity/{id}

Returns a certain activity of an applicant.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the activity.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The activity (if it exists).

ApplicantActivityResponse
NameDescriptionTypeAdditional 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>