Skip to main content
I am able to create object under SFDC_Local using following API:

 

POST /services/data/v50.0/wave/replicatedDatasets

 

REQUEST BODY

 

{

 

"connectorId": "0ItB0000000GrOwKAK",

 

"connectionMode": "Incremental",

 

"sourceObjectName": "AIApplication"

 

}

 

But the object created has 0 fields. I want that it should have all fields that can be under that object (like Id, Name etc.)

 

I also tried using following to add fields after object creation by setting skipped field to false:

 

PATCH /services/data/v50.0/wave/replicatedDatasets/0IuB0000000GoVSKA0/fields

 

REQUEST BODY:

 

{

 

"fields": [

 

{

 

"fieldType": "text",

 

"label": "AI Application ID",

 

"multiValue": false,

 

"name": "Id",

 

"precision": 18,

 

"skipped": false

 

}

 

]

 

}

 

But it is also not working.

 

Is there some other API or if not then am I doing something wrong above?

 

 
1 respuesta
0/9000