Use this API to load objects in bulkBulk Load Opportunities to WorkSpan. Data can be Json or CSVFor content type 'CSV': Data rows as csv. first row will be column headers. For content type 'JSON', data format is array: [ { key1 : value, key2 : value}, { key1 : value, key2 : value } ]Integration ID of that is configured in WorkSpan App{}data uploaded{
"integration_id": "WS-Integration_agpzfndzLW",
"execution_id": "a64690c2450",
"created_at": "2020-05-18T14:06:57.572Z"
}invalid input, object invalidAuthorization ErrorCheck the execution status of your integration.Integration ID that is configured in WorkSpan AppInclude errors in the response if there are any errorsMaximum number of errors to return back in the responseExecution ID of an integration execution which is returned from bulk APIExecution is retrieved successfully{
"integration_id": "WS-Integration_agpzfndzLW",
"execution_id": "a64690c2450",
"status": "completed",
"input_count": 200,
"error_count": 3,
"success_count": 197,
"skip_count": 0,
"started_at": "2020-05-07T14:06:57.572Z",
"completed_at": "2020-05-07T14:07:10.572Z",
"include_errors": true,
"errors": [
{
"id": "aw00079",
"message": "invalid value in field 'close_date'",
"data_row": {
"opportunity_id": "aw00079",
"close_date": "20-jan-2020",
"amount": 250000
}
},
{
"id": "aw00082",
"message": "invalid value in field 'amount'",
"data_row": {
"opportunity_id": "aw00082",
"close_date": "2021-01-20",
"amount": "-"
}
},
{
"id": "",
"message": "Missing value of key field",
"data_row": {
"opportunity_id": "",
"close_date": "2020-10-20",
"amount": 75000
}
}
]
}invalid execution_idAuthorization Errorintegration_id or execution_id not foundGet a Signed URL to upload a file directly to the File Cloud Storage of WorkSpan.Integration ID that is configured in WorkSpan AppThe name of the file, with the file extension, to use when storing the file in the Cloud Storage of WorkSpan.Signed URL for file upload successfully retrieved{
"upload_url": "https://storage.googleapis.com/server/file_name.extension?Expires=12345567&GoogleAccessId=foobar&Signature=barfoo",
"upload_token": "eYgh4bLaH2qemcas9dTOKEN"
}invalid integration_idAuthorization Errorintegration_id not foundBulk Load Objects to WorkSpan. Data can be attached to the request body as JSON/CSV format, or attached as a JSON/CSV/XLSX file.For content type 'CSV', data rows are as csv data format; first row will be column headers. For content type 'JSON', data format is array: [ { key1 : value, key2 : value}, { key1 : value, key2 : value } ]The format of the data which is sent in the request body or in the attached file; this is case insensitiveUpload token that is associated with a GCS Signed URL.The column delimiter for the CSV data that is passed in or attached; default is ','Integration ID of CRM integration that is configured in WorkSpan App{}data uploaded{
"integration_id": "WS-Integration_agpzfndzLW",
"execution_id": "a64690c2450",
"created_at": "2020-05-18T14:06:57.572Z",
"data_format": "JSON"
}invalid input, object invalidAuthorization Error