• Resolved Eloi Marques da Silva

    (@eloimarquessilva)


    Hello I’m working with your API and everything has worked fine so far. I am creating and modifying contacts without any problem. But now I’m trying to use the “Notes” field to receive the values ??from a form and it’s not working. I can’t see the value on customer dashboard. These are the parameters I’m passing to the API:

    {
    “fname”: “John”,
    “lname”: “Doe”,
    “email”: “[email protected]”,
    “status”: “Lead”,
    “prefix”: “Mr”,
    “addr1”: “1 Sample Road”,
    “addr2”: “Sample Town”,
    “city”: “Sampleton”,
    “county”: “Samples”,
    “postcode”: “SAM PL4”,
    “hometel”: “123 455”,
    “worktel”: “”,
    “mobtel” : “555 135”,
    “notes” : “Test test test test”
    }

    What is the correct sintax to pass “Notes” value via JSON to API?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jay

    (@bluejay77)

    Hi @eloimarquessilva,

    But now I’m trying to use the “Notes” field to receive the values ??from a form and it’s not working.

    I’m not quite sure I understand what you’re referring to by “Notes” field.

    If you have set up a contact custom field, and if you have set up a CRM lead generation form to map to that custom field, then you would use the API endpoint for retrieving contacts.

    Would you share more information about what kind of “Notes” field you have set up, and what form you have integrated with Jetpack CRM??

    Thread Starter Eloi Marques da Silva

    (@eloimarquessilva)

    “notes” is an information that came from your documentation at https://automattic.github.io/jetpack-crm-api-docs/#view-customers in “JSON response example”.

    I figured that “notes” would be the equivalent of “Activity Log”. Anyway then my doubt is: How to add “Activity Logs” via API.

    Jay

    (@bluejay77)

    Hi @eloimarquessilva

    Thank you for clarifying.

    Unfortunately, the API does not support updating Activity Log at the moment, and I have submitted a feature request on your behalf.

    After consulting our development team, I can confirm that the “notes” field in the API documentation you’re referring to is an example of a Jetpack CRM contact custom field implementation. That is, if you have “notes” contact custom field already created (with slugs notes ), you can retrieve that notes field via following the documentation.

    I understand how confusing that is, however, so I have filed a documentation update issue on your behalf.

    I hope that helps! Let us know if you have any other questions.

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hi there @eloimarquessilva

    It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add or get Activity Notes via API’ is closed to new replies.