cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

[C4C] OData Create Lead with Attachments Error: Create not possible; source object does not exist

tokgozatakan
Participant
0 Likes
758

I try to POST a lead with attachments into C4C, using the payload below:

{
    "Name": "Interesting new lead",
    "AccountPartyID": "9"
    "LeadAttachmentFolder": [
        {
            "Name": "google link",
            "CategoryCode": "3",
            "LinkWebURI": "https://www.google.com"
        }
    ]
}

However, it returns the error:

Create not possible; source object does not exist

Is deep insert not available for attachments?

Accepted Solutions (1)

Accepted Solutions (1)

tokgozatakan
Participant

I have created an incident for it. Apparently, this is a missing feature, we cannot create leads with attachments in one call (deep insert). The usual consecutive calls need to be done using ParentObjectID, once the lead is created.

Answers (0)