DC5.0.0 6.4.2 - GetItemIdFromUploadId

This method is used for getting the itemid from the uploadid. This method is only needed pre Digizuite 4.8.0, as it is not returned on method AddUploadFile

URL : /UploadService.js

Method : POST

Auth required : Yes

Required parameters

NameExampleDescription
methodGetItemidFromAssetDigiuploadidFixed parameter that identifies the endpoint method.
accessKeyeb774621-1c2f-467b-b006-a8efa67094a7AccesKey for API
uploadid1234uploadid from AddUploadFile


cUrl data example

--data "method=AddUploadFileWithNameAndSettingsNoDate&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7&filename=example.jpg&name=example&computername=testuploader"

Success Response

Code : 200 OK

Content example

{
	"success": true,
	"total": 1,
	"error": "",
	"items": [{
		"uploadId": 318,
		"itemId": 10621
	}],
	"warnings": null
}

Error Response

Code : 200 OK

Content  example

{
	"success": false,
	"total": 0,
	"error": "Access denied\r\n",
	"items": null,
	"warnings": [{
		"Severity": 10,
		"Code": 420,
		"Description": "Access denied"
	}]
}