Import Groups (Business Units)
Import a CSV file that contains data for groups . Groups are Organizational Hierarchy in a Business. They are also known as business units.
Prerequisites
Details
Method: POST
URL: https://us.pulpstream.com/vfr/api/imports/locations
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":"123123123213_groups.csv", // The reference obtained from the File Upload API
"fieldMapList":[
{"column":"0","objectField":"ID"},
{"column":"1","objectField":"Name"},
{"column":"2","objectField":"Parent_Location"}
{"column":"3","objectField":"State"}
]
}
Notes:
Mappable Fields
These fields are available for mapping. (The internal field names are shown in parentheses.)