/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid/moveDownChanges the order of values in the subset. Moves the subset value down one level for given data set ID, attribute code and subset. Resource InformationResource URL | https://service.belladati.com/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid/moveDown |
---|
HTTP Method | POST
|
---|
Request Parametersid | 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 StructureIf the request is successfully executed, it will return an empty response with HTTP Status 200 OK. If the value is already at the bottom, it will return "Index: 4, Size: 4" (4 is the number of branches in the subset) with HTTP Status 400 Bad Request. Sample Request / ResponseUsing curl : curl POST -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\""
https://service.belladati.com/api/dataSets/ 123 /attributes/L_STATE/subsets/j3KE8bj7jc/value/k5jHVkCRd1/moveDown
|
|