Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
Note: These operations are RESTlike to be easy to call but not to have the expense and limitations of strict RESTful, so that the APIs are easy to understand and access, and not bound to a particular implementation's model. Authentication is at the HTTP layer and not discussed here.

This document assumes JSON, however XML-based documents are easy to envision.

Basically the thought is there is a direct translation between the RPC spec and the web service spec


h3. hasMember

Determine if a subject is a member of a group.

h4. Request Format

|| Method | Doesnt matter (probably GET or POST) ||
|| URL | /fifer/groupHasMember/groupLookup_groupUri/<groupUrl><groupUri>/subjectLookup_subjectIdOrIdentifier/<memberId>\[?immediacy=<immediacy>\] \\ ||
|| Request Body | _None_ ||

h4. Response Format

|| HTTP Status || Response Body || Description ||
| 200 OK | SubjectID Document would mimic the RPC response \\
{code}
{groupHasMemberResponse: {
  hasMember: true,
  responseMetadata: {
    serverType: "FIFER Java",
    requestId: "1234567890abcdef1234567890",
    serverVersion: "1.0.0.0",
    protocolVersion: "1.0.0.0",
    success: true,
    resultCode: "SUCCESS_HAS_IMMEDIATE"
    serverMillis: 345
    }
  }
}
{code} | Member Found |

\--\--<\!-\-  /\* Style Definitions \*/  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} \-->/fifer/groupHasMember/groupLookup_groupUri/group:edu:school:folder:folder2:groupName/subjectLookup_subjectIdOrIdentifier/someNetId