Skip to Content

How to create a Lead via Odata POST? - C4C

Feb 17, 2017 at 03:45 PM


avatar image
Former Member


I am trying to create a new lead via C4C odata services, however I am getting an error when trying to create a LeanLead. I am doing a json POST to the url below (After fetching x-csrf-token),

With this data:

	"d": {
		"Company":"New Company Hawaii",
		"AccountPartyName" : "New COmpany",
		"ContactLastName": "Charles",
		"OwnerPartyName": "Nathan Charles",
		"Name": "Nathan Test via SOAP",

I recieve this error: ERROR: No access possible via a 'NULL' data reference. (termination: RABAX_STATE)

I have successfully managed to create a ServiceRequest ticket with the same format and different fields but am struggling to create other Entities. There is extremity limited documentation on using POST to create entities other than ServiceRequest.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers