POST api/JobSeeker/Profile/SaveAuthorization

Request Information

URI Parameters

None.

Body Parameters

JobSeekerAuthorizationInput
NameDescriptionTypeAdditional information
DateAvailable

FieldDetailsDate

None.

AuthorizedWorkAreas

FieldDetailsIntList

None.

Request Formats

application/json, text/json

Sample:
{
  "dateAvailable": {
    "value": "2019-12-16T07:24:10.7686861-06:00",
    "field": "sample string 2"
  },
  "authorizedWorkAreas": {
    "value": [
      1,
      2
    ],
    "field": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<JobSeekerAuthorizationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <AuthorizedWorkAreas xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 1</d2p1:Field>
    <d2p1:Value xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:Value>
  </AuthorizedWorkAreas>
  <DateAvailable xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-12-16T07:24:10.7686861-06:00</d2p1:Value>
  </DateAvailable>
</JobSeekerAuthorizationInput>

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>