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 \
 -X GET https://api.plannrcrm.com/api/v1/import/modes/plans \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "modes": [
    "store",
    "update",
    "validate"
  ]
}