Migrate By Match Code Endpoint

Migrate containers by match code to cpp-test environment.

This endpoint calls the payc_migrator Lambda function which queries the production database for containers matching the given match code (supports * wildcards), then enqueues them for migration to cpp-test via the db_seed Lambda function.

Match Code Wildcards:

  • FLEXPO7 - Exact match
  • FLEX* - Matches FLEXPO7, FLEXPO8, etc.
  • *TEST* - Matches anything containing TEST

Example:

{
  "match_code": "FLEXPO7",
  "skip_validation": false
}

Returns: Response from the Lambda function with migration results.

Notes:

  • Containers are always migrated to cpp-test environment
  • skip_validation=true skips validation checks in Lambda for faster processing
  • The Lambda function handles concurrent enqueueing of containers
Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here!