Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello Jonas,
- Now got the answer below from IT. Hope it solves the problem.
- We have debugged the case and tried to make the same requests, but the error does not appear here. However, we saw that the team member he is trying to use for some reason has not got an Employee attached to him.
- Since it is the stage environment, I guess they build some kind of integration.
- Ask them to try the following:
- Create a new team member using:
- POST:
- https://stage-enterprise.coolcompany.com/api/v1/TeamMembers
- BODY:
- {
- "firstName": <firstName>,
- "lastName": <lastName>,
- "email": <email>,
- "externalId": "WorkerID-9044"
- }
- Change the values to a new user, externalID needs to be unique.
- In response back, save TeamMemberID
- Try the same Request again (https://stage-enterprise.coolcompany.com/api/v1/Assignments)
- but change TeamMemberID to the newly created user.
- This should work, we tried this in Stage and it worked.
- Return if the error persists.
- Sincerely
- David
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement