POST api/JobSeeker/Profile/SaveEmailAddress

Request Information

URI Parameters

None.

Body Parameters

JobSeekerContactInfoInput
NameDescriptionTypeAdditional information
PhoneHome

FieldDetailsString

None.

PhoneCell

FieldDetailsString

None.

PhoneWork

FieldDetailsString

None.

Email

FieldDetailsString

None.

OnlinePortfolio

FieldDetailsString

None.

Request Formats

application/json, text/json

Sample:
{
  "phoneHome": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "phoneCell": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "phoneWork": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "email": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "onlinePortfolio": {
    "value": "sample string 1",
    "field": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<JobSeekerContactInfoInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <Email 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>
  </Email>
  <OnlinePortfolio 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>
  </OnlinePortfolio>
  <PhoneCell 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>
  </PhoneCell>
  <PhoneHome 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>
  </PhoneHome>
  <PhoneWork 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>
  </PhoneWork>
</JobSeekerContactInfoInput>

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>