What we’ll cover:
Applicable Roles:
-
HR Connect Administrator
Quick Reference Links:
Getting Started with Ad Hoc Team Assignments
API
Request:
Type |
Value |
Protocol |
HTTPS |
Method |
POST |
URL |
/api/v2/administration/batch/upload/adhocteam |
Header |
Content-Type: text/csv |
Header |
X-Idp-New-Login: true |
Example:
# Call to upload the CSV
curl -H "Authorization: Bearer $AUTHORIZATON_TOKEN" \
-H "Content-Type: text/csv" \
-H "X-Idp-New-Login: true" \
-X POST \
--data-binary "@$CSV_FILE" \
"https://$HOST/api/v2/administration/batch/upload/adhocteam"
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"}