PUT api/MigrateUser

This method will associate the new ESF userid with an existing portal user. This method will set the ESF GUID, ESF, UserID and ESF email address and remove the existing password from the corresponding record in the billing..contacts table.

Request Information

URI Parameters

None.

Body Parameters

MigrateUserInputs
NameDescriptionTypeAdditional information
portal

string

None.

currentLogin

string

None.

currentGuid

string

None.

newLogin

string

None.

newGuid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "portal": "sample string 1",
  "currentLogin": "sample string 2",
  "currentGuid": "sample string 3",
  "newLogin": "sample string 4",
  "newGuid": "sample string 5"
}

application/xml, text/xml

Sample:
<MigrateUserInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RDOCPWebAPI.SupportClasses">
  <currentGuid>sample string 3</currentGuid>
  <currentLogin>sample string 2</currentLogin>
  <newGuid>sample string 5</newGuid>
  <newLogin>sample string 4</newLogin>
  <portal>sample string 1</portal>
</MigrateUserInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

It returns 'success'

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.