How would I use the REST api to create a node with xrefs in one call?
Options
I seem to be able to run the query on the nodes endpoint with the following body:
{
type: 144,
parent_id: 48061438,
name: 'test',
roles: {
categories: {
'25953013_3': ['aaa'],
'25953013_2': ['bbb'],
'25953013_4': ['ccc']
},
xrefs: {
xref_type: "XREF",
xref_id: 2829282882
}
}
}
But the server responds with an error noting that I need to select an object to reference. I clearly have the format wrong. Help would be appreciated!
{
type: 144,
parent_id: 48061438,
name: 'test',
roles: {
categories: {
'25953013_3': ['aaa'],
'25953013_2': ['bbb'],
'25953013_4': ['ccc']
},
xrefs: {
xref_type: "XREF",
xref_id: 2829282882
}
}
}
But the server responds with an error noting that I need to select an object to reference. I clearly have the format wrong. Help would be appreciated!
Tagged:
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax