Solved
Forum Discussion
EJ256
4 years agoOccasional Contributor
"reviewID" needs to be declared before assignment. SmartBear, you probably want to update your documentation. I lost about four hours on this. Corrected example below.
[
{"command" : "SessionService.authenticate",
"args":{"login":"jsmith","ticket":"0123456789abcdef0123456789abcdef"}},
{"command" : "ReviewService.updateAssignments",
"args":{
"reviewId":"10463",
"assignments": [
{"user":"jsmith", "role":"AUTHOR"},
{"user":"mike", "role":"REVIEWER"},
{"poolGuid":"1234567890", "role":"OBSERVER"}
]}
}
]
joseph_michaud
Staff
4 years ago
Quite right! Thanks for the feedback. We'll get the docs fixed.