← Back
Editing: 50-control-template.feature
Feature: In order to choose an control template As as supervisor I want to list available control template by addresse Scenario: Get control template list by address Given the "Content-Type" request header contains "application/json" And the "X-Api-Solution" request header contains "Clean Manager" And i am logged as supervisor When I request "/api/control-template/1" using HTTP GET Then the response code is 200 And the response body contains JSON: """ [ { "id": "@variableType(integer)", "name": "@variableType(string)", "items": [ { "id": "@variableType(integer)", "nom": "@variableType(string)", "zone": { "id": "@variableType(integer)", "nom": "@variableType(string)" } } ] } ] """
Save File
Cancel