Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step-by-Step Guide

Info
  • Any lead can be reassigned to a different user by posting an API that contains the User ID and the Email ID of the new user (agent).

  • The user needs to know the User ID and/or the Email ID of the new user to be able to post the API successfully.

Info

The following API script will be used to reassign a lead to a new user. The script remains constant.
{ "UserId": 126,
"Email": "nathanadmin@test.com"
}

...

The user selects the lead to be reassigned and notes down the application ID of the application (lead) from the URL to use in the API script. 

...

Once the API script  is entered into Postman, click the blue Send button. Make sure:

  • The response reads Message: Application updated successfully

  • The Status says 200 OK

...

Navigate back to the inFlow screen and check under the Assignment section on the right side of the inFlow screen to make sure the lead is reassigned. Refresh page is possible.

...

Request URL

https://app.insellerate.com/api/v2/pub/application/reassign?orgId={{Insellerate Org ID}}

Request Body

{

  "ApplicationId": {{Insellerate Application ID}},

  "Assignments": [

    {

      "UserId": "{{Insellerate User 1 ID}}"

    },

    {

      "UserId": "{{Insellerate User 2 ID}}"

    }

  ],

  "PrimaryAgent":

  {

    "UserId": "{{Insellerate User ID}}"

  },

  "UnassignAllOtherUsers": {{true or false}}

}

Info

If the Insellerate user ID is unknown to the requestor, the Insellerate user's email can be used in lieu. Just replace "UserId":, with the "Email" parameter.

Request Body

{

  "ApplicationId": {{Insellerate Application ID}},

  "Assignments": [

    {

      "Email": "{{Insellerate User Email}}"

    },

    {

      "Email": "{{Insellerate User Email}}"

    }

  ],

  "PrimaryAgent":

  {

    "Email": "{{Insellerate User Email}}"

  },

  "UnassignAllOtherUsers": {{true or false}}

}

"UnassignAllOtherUsers": If true, will unassign all other users if their role matches that of the PrimaryAgent specified in the post. If false, will keep all other users of the same role of the PrimaryAgent as secondary agents to the application.

Requestors can also make a GET request to https://app.insellerate.com/api/integration/GetUsers?orgId={{Insellerate Org ID}} to view the list of available users and their current agent roles in the org prior to making the post request.

Senders should receive a 200 OK response code, notifying them that the request was received and was either successful/unsuccessful.

 

Filter by label (Content by label)
showLabelsfalse
max5
spacesCS
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "note" and type = "page" and space = "CS"
labelsnote

...