• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Optional arguments for a REST web service?

New Here ,
Aug 17, 2015 Aug 17, 2015

Copy link to clipboard

Copied

Can one use optional arguments for a REST web service?  Example:

http://somesite/rest/someservice/{year}/ or http://somesite/rest/someservice/{year}/{cataglognumber}

where

The first uri returns all the catalog items given a year and

The second uri only returns the information given a year and a specific catalog number

How may I go about doing that?  Thanks in advance

Views

162

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation