POST api/JobSeeker/Profile/DeleteAssociationAndAffiliation

Request Information

URI Parameters

None.

Body Parameters

AssociationsAndAffiliationsInput
NameDescriptionTypeAdditional information
ID

FieldDetailsInt

None.

OrganizationID

FieldDetailsInt

None.

OrganizationOther

FieldDetailsString

None.

RoleID

FieldDetailsInt

None.

RoleOther

FieldDetailsString

None.

StartDate

FieldDetailsDate

None.

EndDate

FieldDetailsDate

None.

DocumentID

FieldDetailsInt

None.

VisibleToEmployers

FieldDetailsBool

None.

OrderNum

FieldDetailsInt

None.

Request Formats

application/json, text/json

Sample:
{
  "id": {
    "value": 1,
    "field": "sample string 2"
  },
  "organizationID": {
    "value": 1,
    "field": "sample string 2"
  },
  "organizationOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "roleID": {
    "value": 1,
    "field": "sample string 2"
  },
  "roleOther": {
    "value": "sample string 1",
    "field": "sample string 2"
  },
  "startDate": {
    "value": "2019-08-21T23:51:47.1246668-05:00",
    "field": "sample string 2"
  },
  "endDate": {
    "value": "2019-08-21T23:51:47.1246668-05:00",
    "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:
<AssociationsAndAffiliationsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <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-08-21T23:51:47.1246668-05:00</d2p1:Value>
  </EndDate>
  <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>
  <OrganizationID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </OrganizationID>
  <OrganizationOther 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>
  </OrganizationOther>
  <RoleID xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>1</d2p1:Value>
  </RoleID>
  <RoleOther 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>
  </RoleOther>
  <StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIService.Models.Error">
    <d2p1:Field>sample string 2</d2p1:Field>
    <d2p1:Value>2019-08-21T23:51:47.1246668-05: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>
</AssociationsAndAffiliationsInput>

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>