{"name":"Customer Accounts Source","valid":true,"type":"sources","topics":[{"rel":"topics","href":" api/projects/65536/topics/0ac88e0b-f160-4359-ba62-6fea71f81d47 ","title":"customer_accounts","id":"0ac88e0b-f160-4359-ba62-6fea71f81d47"}],"connection":{"rel":"connection","href":"api/projects/65536/connections/5ee466ec-b79e-4bcd-9007-7adbc0f35a03","title":"SQL Connection","id":"5ee466ec-b79e-4bcd-9007-7adbc0f35a03"},"sourceType":"SqlSource","config":{"sql":"select * from customer_info c,account_info a where c.cust_id=a.cust_id","propertyMetadataMap":"[\"java.util.HashMap\",{}]","parameters":"","transactionSize":0,"bufferResult":"no"},"marshaller":{"marshallerProperties":{},"marshallerThreadsafe":false}}
Replace the href and ID of the topic and connection as per the ID and href of your topic and connection objects. You can obtain the ID from the last section of the href value.
Click
SEND
.
Verify that the source is created. The Response Header shows the status as created.
Select the
Response Body
tab and copy the href for future REST calls. For example, "href": "api/projects/65536/sources/898d9474-efa0-4102-8fd3-afba72927eec"