POST api/JobSeeker/Profile/DeleteMilitaryExperience

Request Information

URI Parameters

None.

Body Parameters

MilitaryExperienceInput
NameDescriptionTypeAdditional information
ID

FieldDetailsInt

None.

CountryID

FieldDetailsInt

None.

BranchID

FieldDetailsInt

None.

BranchOther

FieldDetailsString

None.

HighestRank

FieldDetailsString

None.

Description

FieldDetailsString

None.

StartDate

FieldDetailsDate

None.

EndDate

FieldDetailsDate

None.

ReasonForLeavingID

FieldDetailsInt

None.

DischargeTypeID

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"
  },
  "countryID": {
    "value": 1,
    "field": "sample string 2"
  },
  "branchID": {
    "value": 1,
    "field": "sample string 2"
  },
  "branchOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "highestRank": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "description": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "startDate": {
    "value": "2019-12-07T00:16:43.6449182-06:00",
    "field": "sample string 2"
  },
  "endDate": {
    "value": "2019-12-07T00:16:43.6449182-06:00",
    "field": "sample string 2"
  },
  "reasonForLeavingID": {
    "value": 1,
    "field": "sample string 2"
  },
  "dischargeTypeID": {
    "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:
<MilitaryExperienceInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <BranchID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </BranchID>
  <BranchOther 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>
  </BranchOther>
  <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>
  <DischargeTypeID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </DischargeTypeID>
  <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>
  <EndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-12-07T00:16:43.6449182-06:00</d2p1:Value>
  </EndDate>
  <HighestRank 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>
  </HighestRank>
  <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>
  <ReasonForLeavingID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </ReasonForLeavingID>
  <StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-12-07T00:16:43.6449182-06:00</d2p1:Value>
  </StartDate>
  <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>
</MilitaryExperienceInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProfileOutput
NameDescriptionTypeAdditional information
FailMessage

string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "failMessage": "sample string 1",
  "success": true
}

application/xml, text/xml

Sample:
<ProfileOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <FailMessage>sample string 1</FailMessage>
  <Success>true</Success>
</ProfileOutput>