Skip to content
Snippets Groups Projects
Commit 912db8bd authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL002_100 POST Method (on "Thresholds") description, request and response updated

parent 7ab12a36
No related branches found
No related tags found
No related merge requests found
...@@ -577,10 +577,13 @@ paths: ...@@ -577,10 +577,13 @@ paths:
post: post:
description: > description: >
The POST method can be used by the client to create a threshold. The POST method can be used by the client to create a threshold.
As the result of successfully executing this method, a new
"Individual threshold" resource as defined in clause 6.4.6 shall
have been created.
parameters: parameters:
- name: CreateThresholdRequest - name: CreateThresholdRequest
description: > description: >
Request parameters to create a threshold resource. Request parameters to create a new "Individual threshold" resource.
in: body in: body
required: true required: true
schema: schema:
...@@ -604,10 +607,11 @@ paths: ...@@ -604,10 +607,11 @@ paths:
description: > description: >
201 CREATED 201 CREATED
A threshold was created successfully. The response body shall Shall be returned when a threshold has been created successfully.
contain a representation of the created threshold resource. The response body shall contain a representation of the created
"Individual threshold" resource.
The HTTP response shall include a "Location" HTTP header that The HTTP response shall include a "Location" HTTP header that
contains the resource URI of the created threshold resource. contains the resource URI of the created resource.
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment