POST api/JobSeeker/Profile/SaveLicensureTest

Request Information

URI Parameters

None.

Body Parameters

LicensureTestInput
NameDescriptionTypeAdditional information
ID

FieldDetailsInt

None.

TestID

FieldDetailsInt

None.

TestOther

FieldDetailsString

None.

SubjectID

FieldDetailsInt

None.

SubjectOther

FieldDetailsString

None.

DateTaken

FieldDetailsDate

None.

Score

FieldDetailsInt

None.

StatusID

FieldDetailsInt

None.

StateID

FieldDetailsInt

None.

DocumentID

FieldDetailsInt

None.

VisibleToEmployers

FieldDetailsBool

None.

OrderNum

FieldDetailsInt

None.

Request Formats

application/json, text/json

Sample:
{
  "id": {
    "value": 1,
    "field": "sample string 2"
  },
  "testID": {
    "value": 1,
    "field": "sample string 2"
  },
  "testOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "subjectID": {
    "value": 1,
    "field": "sample string 2"
  },
  "subjectOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "dateTaken": {
    "value": "2019-10-18T11:25:47.5089723-05:00",
    "field": "sample string 2"
  },
  "score": {
    "value": 1,
    "field": "sample string 2"
  },
  "statusID": {
    "value": 1,
    "field": "sample string 2"
  },
  "stateID": {
    "value": 1,
    "field": "sample string 2"
  },
  "documentID": {
    "value": 1,
    "field": "sample string 2"
  },
  "visibleToEmployers": {
    "value": true,
    "field": "sample string 2"
  },
  "orderNum": {
    "value": 1,
    "field": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<LicensureTestInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <DateTaken xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-10-18T11:25:47.5089723-05:00</d2p1:Value>
  </DateTaken>
  <DocumentID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </DocumentID>
  <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>
  <Score xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </Score>
  <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>
  <StatusID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </StatusID>
  <SubjectID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </SubjectID>
  <SubjectOther 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>
  </SubjectOther>
  <TestID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </TestID>
  <TestOther 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>
  </TestOther>
  <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>
</LicensureTestInput>

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>