Import Users
Import a CSV file that contains data for multiple users.
User Import Operation allows Create, Update and Delete of existing users using UserName
Prerequisites
Details
Method: POST
URL: https://us.pulpstream.com/vfr/api/imports/User
Headers:
tenantId: {tenantId}
apiKey: {apiKey}
Content-Type: application/json
apiUserName: Optional. Specify internal username from the User definition to submit the data on behalf of that user.
PayLoad:
{"file":"5ff0569da3fb4a309a2ca38eb9073222_Users.csv", // The reference obtained from the File Upload API
"fieldMapList":[{"column":"0","objectField":"firstName"},
{"column":"1","objectField":"lastName"},
{"column":"2","objectField":"userName"},
{"column":"3","objectField":"businessUnit"},
{"column":"4","objectField":"emailAddress"},
{"column":"5","objectField":"supervisorId"},
{"column":"6","objectField":"profileId"},
{"column":"7","objectField":"ssoUser"},
{"column":"8","objectField":"locationId"},
{"column":"9","objectField":"secondaryLocations"},
{"column":"12","objectField":"active"},
{"column":"13","objectField":"site"},
{"column":"14","objectField":"state"},
...
]
}
Notes:
Mappable Fields
These fields are available for mapping. (The internal field names are shown in parentheses.)