{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/BillingCodeSamples/issues/13","labels_url":"https://api.github.com/repos/Azure/BillingCodeSamples/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Azure/BillingCodeSamples/issues/13/comments","events_url":"https://api.github.com/repos/Azure/BillingCodeSamples/issues/13/events","html_url":"https://github.com/Azure/BillingCodeSamples/issues/13","id":105987826,"number":13,"title":"Which offer ID to use for offers which have multiple ID's?","user":{"login":"jobinar","id":1794010,"avatar_url":"https://avatars.githubusercontent.com/u/1794010?v=3","gravatar_id":"","url":"https://api.github.com/users/jobinar","html_url":"https://github.com/jobinar","followers_url":"https://api.github.com/users/jobinar/followers","following_url":"https://api.github.com/users/jobinar/following{/other_user}","gists_url":"https://api.github.com/users/jobinar/gists{/gist_id}","starred_url":"https://api.github.com/users/jobinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobinar/subscriptions","organizations_url":"https://api.github.com/users/jobinar/orgs","repos_url":"https://api.github.com/users/jobinar/repos","events_url":"https://api.github.com/users/jobinar/events{/privacy}","received_events_url":"https://api.github.com/users/jobinar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T10:52:36Z","updated_at":"2015-09-25T21:41:49Z","closed_at":null,"body":"In the [meter card API](https://msdn.microsoft.com/en-us/library/azure/mt219004.aspx):\r\n\r\n`https://management.azure.com/subscriptions/{subscription-Id}/providers/Microsoft.Commerce/RateCard?api-version={api-version}&$filter=OfferDurableId eq ’{OfferDurableId}’ and Currency lt ’{Currency}’ and Locale eq ’{Locale}’ and RegionInfo eq ’{RegionInfo}’’`\r\n\r\nit expects we provide the `OfferDurableId` whose name is obtained from the subscription API and the code is given [here](http://azure.microsoft.com/en-us/support/legal/offer-details/).\r\n\r\nHowever, some offers have comma-separated values. For eg. Support plans (0041P, 0042P, 0043P).\r\n\r\nWhat value should be provided in the API for such offers? Or should the API be queried in an iterative fashion with each offer ID?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/BillingCodeSamples/issues/comments/143360763","html_url":"https://github.com/Azure/BillingCodeSamples/issues/13#issuecomment-143360763","issue_url":"https://api.github.com/repos/Azure/BillingCodeSamples/issues/13","id":143360763,"user":{"login":"grvaidy","id":9020244,"avatar_url":"https://avatars.githubusercontent.com/u/9020244?v=3","gravatar_id":"","url":"https://api.github.com/users/grvaidy","html_url":"https://github.com/grvaidy","followers_url":"https://api.github.com/users/grvaidy/followers","following_url":"https://api.github.com/users/grvaidy/following{/other_user}","gists_url":"https://api.github.com/users/grvaidy/gists{/gist_id}","starred_url":"https://api.github.com/users/grvaidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grvaidy/subscriptions","organizations_url":"https://api.github.com/users/grvaidy/orgs","repos_url":"https://api.github.com/users/grvaidy/repos","events_url":"https://api.github.com/users/grvaidy/events{/privacy}","received_events_url":"https://api.github.com/users/grvaidy/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T21:41:49Z","updated_at":"2015-09-25T21:41:49Z","body":"For Support plans offer type, there are 3 offers with durableId 0041P, 0042P and 0043P respectively. Depending on the durableId you specify, the OfferTerms in RateCard API varies. For offers like promotional offers there are 20 offer durableIds starting from 0070P, 0071P...0089P. "}}