Skip to main content

User Import

Bulk create or update user accounts in CoolR. Existing users are matched by Email and updated in place.

See Overview for authentication, file formats, response structure, and import order.

Endpoint

POST https://portal.coolrgroup.com/Controllers/Import.ashx?type=User

UI access

  • Playbook App: Master Data → Users → Manage Data → Import

Columns

Formats: .csv, .xlsx / .xls, .jsonDownload template

ColumnAliasRequiredType / Max LengthValidationNotes
Basic Information
First NameFirstNameYesString, max 150Must be non-empty
Last NameLastNameYesString, max 150Must be non-empty
EmailPrimaryEmailYesEmail, max 250Valid email formatConverted to lowercase; used to match existing users
PhonePrimaryPhoneYesString, max 150Must be non-empty
RoleYesString, max 150Must be non-empty
Employment & Organization
EmployerEmployerNameNoString, max 150
MarketMarketNameNoString, max 150
Key AccountKeyAccountNameNoString, max 150
ClassificationClassificationNameNoString, max 150
DistributorDistributorNameNoString, max 150
Preferences
Preferred Notification TypeNoString, max 150-

Examples

CSV

First Name,Last Name,Email,Phone,Role,Employer,Market
John,Smith,john.smith@example.com,+1-555-0123,Field Representative,ABC Company,North Region
Jane,Doe,jane.doe@example.com,+1-555-0456,Manager,ABC Company,South Region

JSON

{
"data": [
{
"FirstName": "John",
"LastName": "Smith",
"PrimaryEmail": "john.smith@example.com",
"PrimaryPhone": "+1-555-0123",
"Role": "Field Representative",
"EmployerName": "ABC Company",
"MarketName": "North Region"
},
{
"FirstName": "Jane",
"LastName": "Doe",
"PrimaryEmail": "jane.doe@example.com",
"PrimaryPhone": "+1-555-0456",
"Role": "Manager",
"EmployerName": "ABC Company",
"MarketName": "South Region"
}
]
}

API import

curl -X POST 'https://portal.coolrgroup.com/Controllers/Import.ashx?type=User' \
-H 'Cookie: .ASPXAUTH=your-auth-token' \
-F 'file=@users.csv'

Replace users.csv with users.xlsx or users.json as needed.

Response

See Overview - Response format for response structure and error handling.

Common errors

ErrorCauseFix
Missing required field: First NameEmpty first nameFill in First Name for every row
Missing required field: Last NameEmpty last nameFill in Last Name for every row
Missing required field: EmailEmpty emailFill in Email for every row
Invalid email formatInvalid email addressProvide a valid email in user@domain.com format
Missing required field: PhoneEmpty phone numberFill in Phone for every row
Missing required field: RoleEmpty roleFill in Role for every row

For support, contact support@coolrgroup.com