/
eTrainu - Create Participant

eTrainu - Create Participant

etrainu - Public API v2

When Start_Date_At_My_Supports__c != NULL AND (Employment_End_Date__c = NULL OR Employment_End_Date__c > TODAY) then create the participant in eTrainu.


SAMPLE PAYLOAD

curl --location 'https://api.etrainu.com/lms/v2/participants' \ --header 'Content-Type: application/json' \ --header 'TOKEN: 3055F647-04C6-422A-A537-49DE4CD26825' \ --data-raw '{ "externalId": "externalIdString", "title": "Mr", "firstName": "Test", "lastName": "Api", "gender": "M", "dob": "2000-01-01", "email": "test.api@etrainu.com", "streetNumber": 106, "streetAddress": "Edward St", "city": "Brisbane", "country": "Australia", "state": "Queensland", "postCode": "4000", "phoneNumber": "0422111222", "subOrgId": 53168, "username": "test.api.sportsdemo" } '

MAPPING

ETRAINU

SALESFORCE

NOTES

ETRAINU

SALESFORCE

NOTES

externalId

ID

Match duplicates.

title

Salutation

 

firstName

FirstName

 

lastName

LastName

 

gender

Gender__c

Might only accept first letter.

dob

Birthdate

 

email

Email

 

streetNumber

MailingStreet

Split number.

streetAddress

MailingStreet

Split street name text.

city

MailingCity

 

country

MailingCountry

 

state

MailingState

 

postCode

MailingPostalCode

 

phoneNumber

Mobile

 

subOrgId

AccountID

 

username

Email

 


ETRAINU RESPONSE

{ "accountsExternalId": "0HU7VaC3TKLIqQ7O5SvsLfTtBF1CWoGt", "password": "r663xh6y", "userid": "7F6531D5-C373-4DC4-B4EA-B9DBB6711251", "username": "test.api.sportsdemo", "archiveDate": "", "id": "7F6531D5-C373-4DC4-B4EA-B9DBB6711251", "hasErrors": false, "externalId": "externalIdString" }

ETRAINU

SALESFORCE

NOTES

ETRAINU

SALESFORCE

NOTES

Id

Etrainu_ID__c

Match duplicates.

Related content

eTrainu - Update Participant
eTrainu - Update Participant
More like this
eTrainu - Archive Participant
eTrainu - Archive Participant
More like this