Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

/crmRestApi/resources/latest/resourceUsers API is giving error to pass the contract info

Summary:

Hi Team,

We are trying to create sales person, bu first creating resource using enpoint - "/crmRestApi/resources/latest/resourceUsers"

Error Message

You need to supply the contract info when adding an assignment for the legal employer <LE NAme> because it's contract enabled. (PER-1532592)

Thanks,

Rahul

Content (please ensure you mask any confidential information):

Request

{     "BusinessUnit": "Business Unit Name",            "LegalEntity": "LE Name",    "FirstName": "Test_REST",    "LastName": "User",    "PersonType" : "EMP",    "Title":"MR.",    "ResourceEmail": "test.rest.user@mail.com",    "HireDate": "2024-10-30",    "ResourceStartDate": "2024-10-30",    "Username": "Test_REST_User",    "IndividualRoleCode": "SALES_REPRESENTATIVE"}

Response

You need to supply the contract info when adding an assignment for the legal employer The Company for Cooperative Insurance - Tawuniya because it's contract enabled. (PER-1532592)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!