[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})
[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-querycb-noacceptable-medtype6_3_4
[Tags]e-querycb-noacceptable-medtype6_3_4
${entity_id}=Generate Random Building Entity Id
${entity_id}=Generate Random Building Entity Id
@@ -28,7 +28,7 @@ ${status_code}= 406
Check Response Status Code${status_code}${response.status_code}
Check Response Status Code${status_code}${response.status_code}
[Teardown]Delete Entity by Id${entity_id}
[Teardown]Delete Entity by Id${entity_id}
049_01_02 Endpoint get /subscriptions/{subscriptionId}
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})
[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-retrievecb-noacceptable-medtype6_3_4
[Tags]sub-retrievecb-noacceptable-medtype6_3_4
${id}=Generate Random Subscription Id
${id}=Generate Random Subscription Id
@@ -38,19 +38,19 @@ ${status_code}= 406
Check Response Status Code${status_code}${response.status_code}
Check Response Status Code${status_code}${response.status_code}
[Teardown]Delete Subscription${id}
[Teardown]Delete Subscription${id}
049_01_03 Endpoint get /csourceRegistrations/
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/)
[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-querycb-noacceptable-medtype6_3_4
[Tags]csr-querycb-noacceptable-medtype6_3_4
${response}=Query Context Source Registrations With Returntype=Buildingaccept=${accept}
${response}=Query Context Source Registrations With Returntype=Buildingaccept=${accept}
Check Response Status Code${status_code}${response.status_code}
Check Response Status Code${status_code}${response.status_code}
049_01_04 Endpoint get /csourceSubscriptions/
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/)
[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}
Check Response Status Code${status_code}${response.status_code}
049_01_05 Endpoint get /temporal/entities
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)
[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)