Resource Study.Model
Method GET
Purpose Predict the response for a single prospect for a study
Client sends … RequestGET model-URI?URL-escaped-encoded-specimen
HeaderHost: host
HeaderDate: date
Header†Authorization: yosokumo user-identifier:request-digest
Header (optional)Accept: content-type(s)
Header (optional)Accept-Encoding: content-encoding(s)
Server returns … SuccessCode200 OK
HeaderDate: date
HeaderContent-Type: content-type
Header (conditional)Content-Encoding: content-encoding
Header (conditional)Content-Length: content-length
HeaderContent-MD5: content-digest
Entity<specimen document>
Success (empty specimen)Code204 No Content
HeaderDate: date
• Authorization header malformed
• Query portion of requested URI not well-formed
Code 400 Bad Request
Authorization header missing and referenced study does not have 'public' visibilityCode401 Unauthorized
HeaderWWW-Authenticate: yosokumo user:digest
• Requesting user not recognized
• Request digest incorrect
• Requesting user lacks GET model permission for this study
Code 403 Forbidden
Requested URI not recognizedCode404 Not Found
• No supported data interchange format listed in Accept header
• No supported encoding format listed in Accept-Encoding header
Code 406 Not Acceptable
Study in stopped stateCode409 Conflict
Request URI contains more than one thousand charactersCode414 Request-URI Too Long

  † Not required if referenced study has 'public' visibility.