POST api/JobSeeker/Profile/SaveStudentTeachingInfo

Request Information

URI Parameters

None.

Body Parameters

StudentTeachingInput
NameDescriptionTypeAdditional information
ID

FieldDetailsInt

None.

CountryID

FieldDetailsInt

None.

StateID

FieldDetailsInt

None.

RegionOther

FieldDetailsString

None.

City

FieldDetailsString

None.

SchoolSystem

FieldDetailsString

None.

SchoolSystemID

FieldDetailsInt

None.

SchoolSystemOther

FieldDetailsString

None.

School

FieldDetailsString

None.

PositionTitle

FieldDetailsString

None.

ContractTypeID

FieldDetailsInt

None.

Description

FieldDetailsString

None.

Document

FieldDetailsInt

None.

VisibleToEmployers

FieldDetailsBool

None.

GradeLevels

FieldDetailsIntList

None.

PositionAreas

FieldDetailsIntList

None.

StartDate

FieldDetailsDate

None.

EndDate

FieldDetailsDate

None.

GradeReceived

FieldDetailsInt

None.

OrderNum

FieldDetailsInt

None.

Request Formats

application/json, text/json

Sample:
{
  "id": {
    "value": 1,
    "field": "sample string 2"
  },
  "countryID": {
    "value": 1,
    "field": "sample string 2"
  },
  "stateID": {
    "value": 1,
    "field": "sample string 2"
  },
  "regionOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "city": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "schoolSystem": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "schoolSystemID": {
    "value": 1,
    "field": "sample string 2"
  },
  "schoolSystemOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "school": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "positionTitle": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "contractTypeID": {
    "value": 1,
    "field": "sample string 2"
  },
  "description": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "document": {
    "value": 1,
    "field": "sample string 2"
  },
  "visibleToEmployers": {
    "value": true,
    "field": "sample string 2"
  },
  "gradeLevels": {
    "value": [
      1,
      2
    ],
    "field": "sample string 1"
  },
  "positionAreas": {
    "value": [
      1,
      2
    ],
    "field": "sample string 1"
  },
  "startDate": {
    "value": "2019-08-24T17:30:07.0448244-05:00",
    "field": "sample string 2"
  },
  "endDate": {
    "value": "2019-08-24T17:30:07.0448244-05:00",
    "field": "sample string 2"
  },
  "gradeReceived": {
    "value": 1,
    "field": "sample string 2"
  },
  "orderNum": {
    "value": 1,
    "field": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<StudentTeachingInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <City 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>
  </City>
  <ContractTypeID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </ContractTypeID>
  <CountryID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </CountryID>
  <Description 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>
  </Description>
  <Document xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </Document>
  <EndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-08-24T17:30:07.0448244-05:00</d2p1:Value>
  </EndDate>
  <GradeLevels 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>
  </GradeLevels>
  <GradeReceived xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </GradeReceived>
  <ID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </ID>
  <OrderNum xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </OrderNum>
  <PositionAreas 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>
  </PositionAreas>
  <PositionTitle 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>
  </PositionTitle>
  <RegionOther 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>
  </RegionOther>
  <School 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>
  </School>
  <SchoolSystem 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>
  </SchoolSystem>
  <SchoolSystemID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </SchoolSystemID>
  <SchoolSystemOther 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>
  </SchoolSystemOther>
  <StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-08-24T17:30:07.0448244-05:00</d2p1:Value>
  </StartDate>
  <StateID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </StateID>
  <VisibleToEmployers xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>true</d2p1:Value>
  </VisibleToEmployers>
</StudentTeachingInput>

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>