/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid/moveUp
Changes the order of values in the subset. Moves the subset value up one level for given data set ID, attribute code and subset.
Resource Information
Resource URL | https://service.belladati.com/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid/moveUp |
---|---|
HTTP Method |
|
Request Parameters
id | Data Set identifier. You can find the ID in the response to /api/dataSets . | 123 |
code | Attribute code. You can find the code in the response to /api/dataSets/:id . | L_STATE |
sid | ID of the subset | kwuQpitto1 |
svid | ID of the subset value | T9yI2XwdWV |
Response Structure
If the request is successfully executed, it will return an empty response with HTTP Status 200 OK.
If the value is already at the top, it will return "-1" with HTTP Status 400 Bad Request.
Sample Request / Response
Using curl
:
|