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
Name | Description | Type | Additional information |
---|---|---|---|
RepDID |
Rep number of the Rep that is wanted to change his placement. |
string |
Required |
Body Parameters
ChangeLinkViewModelName | Description | Type | Additional 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
<ChangeLinkViewModel> <NewUplineRepDID>sample string 1</NewUplineRepDID> <GenealogyTypeID>2</GenealogyTypeID> <Position>sample string 3</Position> </ChangeLinkViewModel>
application/json, text/json
{ "NewUplineRepDID": "sample string 1", "GenealogyTypeID": 2, "Position": "sample string 3" }
application/x-www-form-urlencoded
Response Information
Resource Description
ApiResultName | Description | Type | Additional 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 not available.