[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
${entity_id}=Generate Random Entity Id${building_id_prefix}
${response}=Create Entity Selecting Content Type
...${building_filename}
...${entity_id}
...${CONTENT_TYPE_LD_JSON}
Check Response Status Code201${response.status_code}
[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
${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 /subscriptions/{subscriptionId})
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /subscriptions/{subscriptionId})
[Tags]sub-retrieve6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}
Check Response Status Code${status_code}${response.status_code}
[Teardown]Delete Subscription${id}
049_02_02 Query 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 is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /temporal/entities)
Check Response Status Code${status_code}${response.status_code}
049_02_03 Query context source registration
[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 is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /csourceRegistrations)
[Tags]csr-query6_3_4
${response}=Query Context Source Registrations With Returntype=Buildingaccept=${accept}
Check Response Status Code${status_code}${response.status_code}
[Documentation]Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (patch /entities/{entityId}/attrs/{attrId})
[Tags]ea-partial-update6_3_4
${entity_id}=Generate Random Entity Id${vehicle_id_prefix}
${response}=Create Entity Selecting Content Type
...${vehicle_filename}
...${entity_id}
...${CONTENT_TYPE_LD_JSON}
Check Response Status Code201${response.status_code}
[Documentation]Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (patch /subscriptions/{subscriptionId})
[Tags]sub-update6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}