[Documentation]Verify that on a GET HTTP request if nothing is specified on the Accept header, "application/json" is assumed (/subscriptions/{subscriptionId})
[Tags]sub-retrieve6_3_4
[Tags]sub-retrievecb-get6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /entities/{entityId})
[Tags]e-query6_3_4
[Tags]e-querycb-noacceptable-medtype6_3_4
${entity_id}=Generate Random Entity Id${building_id_prefix}
Check Response Status Code${status_code}${response.status_code}
[Teardown]Delete Entity by Id Returning Response${entity_id}
[Teardown]Delete Entity by Id${entity_id}
049_01_02 Endpoint get /subscriptions/{subscriptionId}
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /subscriptions/{subscriptionId})
[Tags]sub-retrieve6_3_4
[Tags]sub-retrievecb-noacceptable-medtype6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}
Check Response Status Code${status_code}${response.status_code}
[Teardown]Delete Subscription${id}
049_01_03 Endpoint get /csourceRegistrations/
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceRegistrations/)
[Tags]csr-query6_3_4
[Tags]csr-querycb-noacceptable-medtype6_3_4
${response}=Query Context Source Registrations With Returntype=Buildingaccept=${accept}
Check Response Status Code${status_code}${response.status_code}
049_01_04 Endpoint get /csourceSubscriptions/
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceSubscriptions/)
Check Response Status Code${status_code}${response.status_code}
049_01_05 Endpoint get /temporal/entities
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /temporal/entities)