Get available modes for import type

GET /api/v1/import/modes/{importer}

Path parameters

  • importer string Required

    the importer type to get modes for, valid types are ['plans','client','valuations']

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • modes array[string]

      List of allowed modes for the specified importer

GET /api/v1/import/modes/{importer}
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/import/modes/plans' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "modes": [
    "store",
    "update",
    "validate"
  ]
}