Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Response for API "Get Refresh Schedule In Group" request does not match the documentation

The response for the 'Get Refresh Schedule in Group' AP call documented here specifies that the output should be a JSON response with a "value" keyword. This is consistent with all other API calls.

 

However, when making that request, the actual response is missing that "value" keyword.

 

i.e. my expected response is:

{
  "@odata.context": "XXXXX",
  "value": {
    "days": [
      "Monday"
    ],
    "times": [
      "08:30"
    ],
    "enabled": false,
    "localTimeZoneId": "Eastern Standard Time",
    "notifyOption": "MailOnFailure"
  }
}

and instead, it's returning:

{
  "@odata.context": "XXXXX",
  "days": [
    "Monday"
  ],
  "times": [
    "08:30"
  ],
  "enabled": false,
  "localTimeZoneId": "Eastern Standard Time",
  "notifyOption": "MailOnFailure"
}

This feels more like a bug in the API than something that wasn't documented properly, but either way the documentation and the response should be consistent.

Status: Accepted
Comments
v-yulgu-msft
Microsoft Employee

Hi @emerald ,

 

I have reported this problem internally, CRI: 121616447. Would update here once I get any response.

 

Best regards,

Yuliana Gu

v-yulgu-msft
Microsoft Employee

Hi @emerald ,

 

I have got response as follows:

the Value wrapper ois only in the Set operation, not in the Get. Will fix documentation.

 

Best regards,

Yuliana Gu

v-yulgu-msft
Microsoft Employee
Status changed to: Accepted