Allows the changing of an application's order of merit (rank).

POST {{baseUrl}}/applications/changeorderofmerit

Allows the changing of an application's order of merit via Post requests, will reject requests with duplicate Ids or Order of Merits and invalid Ids. The order or merit value is optional and no value indicates an intended clearing action for the corresponding application. Will reorder the Order of Merit values that are currently against other Applications for the same Job, to keep them unique. The final states of each of the application order of merits in the payload after this logic will be in their respective position in all applications for the same job

            Ex.
                        Payload                         Existing                            Result
            [                                   [                                   [
                {                                   {                                   {
                    ApplicationId : 1                 ApplicationId : 2                 ApplicationId : 1
                    OrderOfMerit : 1                  OrderOfMerit : 1                  OrderOfMerit : 1
}, }, }, { { { ApplicationId : 3 ApplicationId : 3 ApplicationId : 2 OrderOfMerit : OrderOfMerit : 2 OrderOfMerit : 2 }, }, }, { { { ApplicationId : 5 ApplicationId : 4 ApplicationId : 4
OrderOfMerit : 10 OrderOfMerit : 3 OrderOfMerit : 3
} } }, ] ] { ApplicationId : 5 OrderOfMerit : 4 }, { ApplicationId : 3 OrderOfMerit :
} ]
. Required OAuth scopes for authentication: Private.Application.Write, Public.Application.Write

Request Body

{"0"=>{"applicationId"=>0, "orderOfMerit"=>0}}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{}