Trying to do post curl with raw JSON body

Hello everyone!

I am hoping someone can help me how I can configure this into the api connector?

curl --location 'https://integration.protractor.com/IntegrationServices/1.0/Contact/00000000-0000-0000-0000-000000000000?connectionId=ab90dc5f-1b67-4f69-8f2a-c69ee2a55674&apiKey=ab90dc5f-1b67-4f69-8f2a-c69ee2a55674&authentication=ab90dc5f-1b67-4f69-8f2a-c69ee2a55674&format=json' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{ "FileAs": "Doe, John", "Name": { "FirstName": "John", "LastName": "Doe" }, "Phone1Title": "Mobile", "Phone1": "(111) 222-3333", "EmailTitle": "Email", "Email": "john@doe.org", "PreferredContactMethod": "Email", "Note": "Online Customer", "NoMessaging": false, "NoEmail": false, "NoPostCard": false }'

Thanks!

What did you tried in API Connector? You know you can try to import the curl command? Just click on the button for that in API call…

But you have all information to configure this API call, url, body, content-type…

@Jici i didn’t see that option, it’s so tiny. Thanks!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.