How would I use the REST api to create a node with xrefs in one call?
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
- 117 Developer Announcements
- 52 Articles
- 147 General Questions
- 136 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 175 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax