POST api/JobSeeker/Profile/SaveSensitiveInformation

Request Information

URI Parameters

None.

Body Parameters

JobSeekerSensitiveInformationInput
NameDescriptionTypeAdditional information
SSN

FieldDetailsString

None.

Gender

FieldDetailsInt

None.

Ethnicity

FieldDetailsInt

None.

DateOfBirth

FieldDetailsDate

None.

Request Formats

application/json, text/json

Sample:
{
  "ssn": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "gender": {
    "value": 1,
    "field": "sample string 2"
  },
  "ethnicity": {
    "value": 1,
    "field": "sample string 2"
  },
  "dateOfBirth": {
    "value": "2019-10-18T08:26:52.1285933-05:00",
    "field": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<JobSeekerSensitiveInformationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <DateOfBirth xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-10-18T08:26:52.1285933-05:00</d2p1:Value>
  </DateOfBirth>
  <Ethnicity xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </Ethnicity>
  <Gender xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </Gender>
  <SSN xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>sample string 1</d2p1:Value>
  </SSN>
</JobSeekerSensitiveInformationInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JobSeekerProfileFormOutput
NameDescriptionTypeAdditional information
results

FormSubmitOutput

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "results": {
    "errors": [
      {
        "field": "sample string 1",
        "message": "sample string 2"
      },
      {
        "field": "sample string 1",
        "message": "sample string 2"
      }
    ],
    "apiErrorMessage": "sample string 1",
    "success": false
  },
  "id": 1
}

application/xml, text/xml

Sample:
<JobSeekerProfileFormOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <Id>1</Id>
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:ApiErrorMessage>sample string 1</d2p1:ApiErrorMessage>
    <d2p1:Errors>
      <d2p1:FieldError>
        <d2p1:Field>sample string 1</d2p1:Field>
        <d2p1:Message>sample string 2</d2p1:Message>
      </d2p1:FieldError>
      <d2p1:FieldError>
        <d2p1:Field>sample string 1</d2p1:Field>
        <d2p1:Message>sample string 2</d2p1:Message>
      </d2p1:FieldError>
    </d2p1:Errors>
  </results>
</JobSeekerProfileFormOutput>