# Order

## Update Order

> Move the specified RAS logon hours setting up or down.

```json
{"openapi":"3.0.1","info":{"title":"Parallels RAS - REST API v1.0","version":"1.0"},"paths":{"/api/LogonHours/{id}/order":{"put":{"tags":["2-Site settings/Logon Hours//0-Basic Operations"],"summary":"Update Order","description":"Move the specified RAS logon hours setting up or down.","operationId":"a335ebe5-1de9-405d-82e3-a4982bedf2a5","parameters":[{"name":"id","in":"path","description":"RAS Logon Hour ID","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"description":"RAS Logon Hours","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/SetLogonHoursOrder"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json; api-version=1.0":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}},"components":{"schemas":{"SetLogonHoursOrder":{"required":["direction"],"type":"object","properties":{"direction":{"$ref":"#/components/schemas/MoveDirection"}},"additionalProperties":false,"description":"<para type=\"synopsis\">Update the priority order of a logon hours</para>"},"MoveDirection":{"enum":[["0 = Up","1 = Down"]],"type":"string","description":"<para type=\"synopsis\">Move Direction.</para>\r\n<para type=\"description\"></para>\r\n<para type=\"description\"></para>","format":"int32"},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}}
```
