PUT api/rep/{RepDID}/ChangeLinks

This API method will allow moving the placement of a Rep from one sponsor to another. This API will validate the given parameters and when successful will send to the genealogy & volume queue to process the changes asynchronous. Genealogy placement changes are allowed only for a limited period of time after signup of the Rep.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
RepDID

Rep number of the Rep that is wanted to change his placement.

string

Required

Body Parameters

ChangeLinkViewModel
NameDescriptionTypeAdditional information
NewUplineRepDID

Rep number of the Rep that is wanted to change his placement.

string

None.

GenealogyTypeID

Genealogy type identifier.

integer

None.

Position

Position where the Rep will be placed.

string

None.

Request Formats

application/xml, text/xml

Sample:
<ChangeLinkViewModel>
  <NewUplineRepDID>sample string 1</NewUplineRepDID>
  <GenealogyTypeID>2</GenealogyTypeID>
  <Position>sample string 3</Position>
</ChangeLinkViewModel>

application/json, text/json

Sample:
{
  "NewUplineRepDID": "sample string 1",
  "GenealogyTypeID": 2,
  "Position": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'ChangeLinkViewModel'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
IsSuccessful

Whether the action was successful

boolean

None.

MessageTranslationKey

A translation key for any message that is returned. It will be the first of the messages if more than one exists.

string

None.

Message

Any message that needs to be conveyed related to the request. It will be the first of the messages if more than one exists.

string

None.

Messages

Any message that needs to be conveyed related to the request.

Collection of ApiResultMessage

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.