Skip to content
yanl76 edited this page Jun 21, 2013 · 3 revisions

Welcome to the project wiki!

This is where we store code snippets. Please click Pages tab.

Other Notes

  • Prereq ** Link intro cortex and level 3 rest ** Customer setup completed prior to completing order

?followLocation

  • For search: returns the newly created search response ** e.g. + "?followLocation"

  • For submitting a purchase: returns the newly created purchase response ** e.g. + "?followLocation"

RequestUtils.GetJSON(HttpWebResponse response)

  • response - the response from cortext after a get/post request
  • Returns the JSON object parsed from the HttpWebResponse

RequestUtils.GetHref (Response jsonResponse, string relName)

  • jsonReponse = the deserialized JSON object
  • relName = the name of the rel field
  • Returns the url of the object specified by relName
Clone this wiki locally