External Id on document creation in version 16.6.3
Hi there.
I realized, while retrieving tracking information on a document an "externalid" is also delivered next to the "trackerid" in the returned json structure.
Request URL (GET):
Response body:
{
"status": "success",
"data": [
{
"containedtypes": [
"3A354A84-0B61-4EA2-9F7F-FF7713B0C52D",
"CEEEDC80-FA9E-40D8-BF16-A538807BBF95"
],
"expiringtime": "2021-11-26T14:40:08.130Z",
"lastupdatetime": "2021-11-26T13:40:08.140Z",
"trackerid": "32056E7B-2F78-1D44-AF3F-FD6E61E89AC3",
"statusmessage": "",
"resultval": "0",
"externalid": "",
"creationtime": "2021-11-26T13:40:07.270Z",
"applicationdomainid": "salesforce",
"sequencenumber": "3244",
"processingstate": "5"
}
]
}
My question is: How can I set such an externalid while creating a document through the Communications API so that I can filter the above query for it afterwards (i.e.: ...?where_externalid=<my_external_id>))?
I couldn't find anything related to it in the documentation. I tried to set externalid as e header as well as a property in the body's json content while posting the document generation with Postman but no success.
Thanks, Stefano
Comments
-
We got told that setting an externalId in the "content" structure of the JSON payload is not sufficient. Differently to the Cloud Native, we also need some scripting on the Exstream side extracting the passed externalId by using the GetHTTPHeaderValue function and setting its value with SetExtJobID.
1
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories