Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

It looks like:

Code Block
http://mmweb.ncsa.uiuc.edu/ncsa_marketmaker.html#businessid=1234&businessid=2345&stateroi=illinois
  • After #, the key-value pair are listed with &
  • By having multiple key-value pairs of same kinds, the multiple values are handled as shown above for multiple business ids

Business Id (or Business Profile Id)

  • key: businessId
  • value: integer

Business Group

  • key: groupid
  • value: integer

Region of Interest (ROI)

State ROI

  • key: stateroi
  • value: string

County ROI

  • key: countyroi
  • value: string

City ROI

  • key: cityroi
  • value: string

Zipcode ROI

  • key: ziproi
  • value: string

Polygon ROI

marketmaker/#IL/food/business/1234;2345/17;18

/#[state]/[flovor]/[searchtype]/[profileID...]/[ROIs...]

[state]

...

  • State abbreviations
  • Example: IL, IN, etc.
  • Default value: IL

[flavor]

...

  • Flavor
  • Possible values: food (for now)
  • Default value: food

[searchtype]

...

  • Search type
  • Possible values: business, consumer
  • Default value: consumer

[profileID...]

...

  • Business profile IDs
  • Can be multiple values.
  • Each values separated by semi-colon(;)
  • Example: 1234;2345
  • Default value: na

[ROIs...]

...

  • Region of Interest
  • Can be multiple values.
  • Each values separated by semi-colon(;)
  • Possible values: FIPS code or Zip code
  • Zip Code should starts with "z"
    • Example: z61822;z61820
  • Can't mix different type of ROIs (city fips and state fips)
  • Default value: 17 (IL fips
  • key: polygonroi
  • value: string (variation of geometry WKT format: http://en.wikipedia.org/wiki/Well-known_text)