What we’ll cover:
Applicable Roles:
HR Connect Administrator
Quick Reference Links:
Getting Started with Ad Hoc Team Assignments
Use the following API to create an Ad Hoc Team Assignment.
- The Team column is required.
- One of either column is required from Employee ID or Username.
- Values provided will be merged into the existing records with the Cayuse system.
- Deleting records and removing values are not supported at this time.
API
Request:
| Type | Value |
| Protocol | HTTPS |
| Method | POST |
| URL | /api/v2/administration/batch/upload/adhocteamassignment |
| Header | Content-Type: text/csv |
Example:
# Call to upload the CSV
curl -H "Authorization: Bearer $AUTHORIZATION_TOKEN" \
-X POST \
-F "file=@$PATH_TO_CSV_FILE"
"https://$HOST/api/v2/administration/batch/upload/adhocteamassignment"
Response (Json String):
| Name | Type | Description |
| jobId | UUID | Identifier for the job to query status or get the report |
Example:
{"jobId":"66c586ae-31cb-47a9-9155-bf76460a3bec"}