[Documentation]Check that you can create a temporal representation of an entity
[Documentation]Check that you can create a temporal representation of an entity
[Tags]te-create5_6_11
[Tags]te-create5_6_11
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
${temporal_entity_representation_id}=Generate Random Entity Id${vehicle_id_prefix}
${response}=Create Or Update Temporal Representation Of Entity Selecting Content Type${temporal_entity_representation_id}${filename}${content_type}
${response}=Create Or Update Temporal Representation Of Entity Selecting Content Type${temporal_entity_representation_id}${filename}${content_type}
Check Response Status Code201${response['status']}
Check Response Status Code201${response['status']}
${created_temporal_entity}=Load Test SampletemporalEntities/${filename}${temporal_entity_representation_id}
${created_temporal_entity}=Load Test SampletemporalEntities/${filename}${temporal_entity_representation_id}
Retrieve Temporal Representation Of Entity${temporal_entity_representation_id}
Run Keyword If'${content_type}'=='application/json'Retrieve Temporal Representation Of Entity${temporal_entity_representation_id}
Run Keyword If'${content_type}'=='application/ld+json'Retrieve Temporal Representation Of Entity${temporal_entity_representation_id}context=${ngsild_test_suite_context}