Import Details for Multiple Partner Oragnizations
post
/rest/v16/companies/actions/bulkImport
This endpoint adds or updates details for multiple partner oragnizations. This operation triggers a task to import a list of partner organizations as a zip file.
Request
Supported Media Types
- multipart/form-data
Form Parameters
-
file(required): file
Zip file to be uploaded.
-
scheduledTime: string
Time to schedule the import task.
Response
Supported Media Types
- application/json
Default Response
Companies import task details.
Root Schema : Task details
Type:
object
Title:
Task details
Task details
Show Source
-
links:
array Links
Title:
Links
Links to the related objects. -
taskId:
integer
Title:
Task Id
The status log task Id.
Nested Schema : Links
Type:
array
Title:
Links
Links to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Reference Links
Type:
object
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
href
URL to the related object -
rel:
string
Title:
Link
Link relationship to the current object
Examples
The following example shows how to add or update details for multiple partner organizations by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/companies/actions/bulkImport
Response Body Sample
{ "taskId": 3022163950, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v16/tasks/3022163950" } ] }