Advertisement
xxZeus

coolcompany email response

Sep 13th, 2021
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. Hello Jonas,
  2.  
  3. Now got the answer below from IT. Hope it solves the problem.
  4.  
  5. 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.
  6.  
  7. Since it is the stage environment, I guess they build some kind of integration.
  8.  
  9. Ask them to try the following:
  10.  
  11. Create a new team member using:
  12.  
  13. POST:
  14. https://stage-enterprise.coolcompany.com/api/v1/TeamMembers
  15.  
  16.  
  17. BODY:
  18. {
  19. "firstName": <firstName>,
  20. "lastName": <lastName>,
  21. "email": <email>,
  22. "externalId": "WorkerID-9044"
  23. }
  24.  
  25. Change the values ​​to a new user, externalID needs to be unique.
  26.  
  27. In response back, save TeamMemberID
  28. Try the same Request again (https://stage-enterprise.coolcompany.com/api/v1/Assignments)
  29. but change TeamMemberID to the newly created user.
  30.  
  31.  
  32. This should work, we tried this in Stage and it worked.
  33. Return if the error persists.
  34.  
  35. Sincerely
  36. David
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement