Reassign a Person's Match records

Request: POST

Move Playing and Statistic records from one Person to another.

HTTP Request

POST /v1/{sport}/statistics/personmatch/matches/{matchId}/persons/{fromPersonId}/reassign/{toPersonId}

Parameters

Parameter Name Value Description
Required Parameters
sport string The sport for which you are making the request
matchId integer Unique ID of a match to move the person's records from.
fromPersonId integer The unique identifier for the from (source/origin) person record. This is the person who will have their records moved out.
toPersonId integer The unique identifier for the to (destination) person record. This is the person who will have the records moved in..
Optional Parameters
useExternalForLeague integer If this value is set to the leagueId for the competition, then the URL parameters fromPersonId and toPersonId will instead refer to the externalId of their respective entities in that league.

Request Body

Do not supply a request body with this method.

Response

Successful this method returns SUCCESS.

Affected resources: