POST api/Forms/ChangeSortOrder
Request Information
URI Parameters
None.
Body Parameters
ChangeSortOrderName | Description | Type | Additional information |
---|---|---|---|
wfApprover | WFApprover |
None. |
|
SortOrderNew | integer |
None. |
|
MoveDown | boolean |
None. |
|
MoveUp | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "wfApprover": { "FormContext": { "DisplayMode": "sample string 1", "ListName": "sample string 2", "ListGuid": "027d5069-1290-4680-80cc-250904c32723", "HistoryListGuid": "def87b11-1d70-468a-878c-070ec108ced3", "ItemId": 5, "itemId": "sample string 6", "ItemUniqueId": "e417ddd2-662a-4919-9766-6e12dd438cc1", "CurrentUser": { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, "WebRelativeUrl": "sample string 8", "RootSiteUrl": "sample string 9", "WebUrl": "sample string 10", "DiscussionListGuid": "336b7fb9-1220-497c-bad0-12b7387f938c", "DocLibListGuid": "c4d47145-beb2-461f-b05a-abe88689eac2", "Settings": { "BackendApiUrl": "sample string 1", "EOfficeDataSiteUrl": "sample string 2", "HTTMSiteURL": "sample string 3" }, "FormItem": { "Id": 1, "UniqueId": "9d30ebc0-e86a-4eb7-a4cb-9631017c8785", "Title": "sample string 2", "Ref": "sample string 3", "Requester": { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, "FormCode": "sample string 4", "FormType": "sample string 5", "FormTemplate": "sample string 6", "FormNumber": "sample string 7", "FormTemplateID": 8, "FormTemplateWebGuid": "c358d261-b875-4c1f-b5dd-f2403934694e", "FormTemplateSiteGuid": "74f67912-07f0-4728-8ff6-669e01b9267b", "FormPublishedDate": "2025-09-11T09:54:45.9126191+07:00", "ApprovalStatus": "sample string 9", "CurrentApprovers": [ { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" } ], "HistoryListGuid": "2f83e119-2a3d-496c-bb3b-5ccaf3a8ed0e", "DiscussionListGuid": "a3afcd34-af3c-4de7-ad34-898ca0b12b3f", "DocLibListGuid": "24a3f4c7-6730-440e-85be-d932bb18e0e3", "FormCategory": "sample string 10", "Department": { "Label": "sample string 1", "TermGuid": "sample string 2", "WssId": 3, "TypeId": "{19e70ed0-4177-456b-8156-015e4d163ff8}" }, "WFName": "sample string 11", "CurrentApproverDueDate": "2025-09-11T09:54:45.9126191+07:00", "SubmittedDate": "2025-09-11T09:54:45.9126191+07:00", "CurrentGroup": "sample string 12", "CurrentApproverJobTitle": "sample string 13", "SubmitCounter": 14, "EffectiveDate": "2025-09-11T09:54:45.9126191+07:00", "IsoNumber": "sample string 15", "HasTemplate": "sample string 16", "HasIsoNumber": "sample string 17", "Group": "sample string 18", "DepartmentCode": {}, "FormSetItemID": "sample string 20", "RefDisplayHTML": "sample string 21", "MFItem": { "Id": 1, "Title": "sample string 2", "Ref": "sample string 3", "SiteGuid": "a5f11966-033b-4bee-9f05-343881d24486", "ListGuid": "a247da36-ebd7-438e-8770-413337b1d251", "WebGuid": "20f10bf3-489a-4c18-9fa6-e57d9bdbd886", "ItemId": 7, "RefDisplayHTML": "sample string 8", "FormCode": "sample string 9", "WebUrl": "sample string 10", "FormType": "sample string 11" }, "PRItemDetailListGuid": "9a47aa4d-0152-4f45-84c3-132b67529878" }, "ClearAdditionalItemOnly": true, "ClearApprovalGroup": true, "SiteGuid": "31f1e080-d026-4da5-bc93-8324389a4622", "WebGuid": "3c42ab53-b93c-4a4b-898c-9ec3ffebfece", "SyncPermission": true, "ClearApprovalMatrix": true, "WFName": "sample string 18", "EOfficeDataSiteUrl": "sample string 19", "FormCode": "sample string 20", "FormType": "sample string 21", "KeyValue": "sample string 22", "IsGenerateApprovalMatrix": true }, "FormItem": { "Id": 1, "UniqueId": "9d30ebc0-e86a-4eb7-a4cb-9631017c8785", "Title": "sample string 2", "Ref": "sample string 3", "Requester": { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, "FormCode": "sample string 4", "FormType": "sample string 5", "FormTemplate": "sample string 6", "FormNumber": "sample string 7", "FormTemplateID": 8, "FormTemplateWebGuid": "c358d261-b875-4c1f-b5dd-f2403934694e", "FormTemplateSiteGuid": "74f67912-07f0-4728-8ff6-669e01b9267b", "FormPublishedDate": "2025-09-11T09:54:45.9126191+07:00", "ApprovalStatus": "sample string 9", "CurrentApprovers": [ { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" } ], "HistoryListGuid": "2f83e119-2a3d-496c-bb3b-5ccaf3a8ed0e", "DiscussionListGuid": "a3afcd34-af3c-4de7-ad34-898ca0b12b3f", "DocLibListGuid": "24a3f4c7-6730-440e-85be-d932bb18e0e3", "FormCategory": "sample string 10", "Department": { "Label": "sample string 1", "TermGuid": "sample string 2", "WssId": 3, "TypeId": "{19e70ed0-4177-456b-8156-015e4d163ff8}" }, "WFName": "sample string 11", "CurrentApproverDueDate": "2025-09-11T09:54:45.9126191+07:00", "SubmittedDate": "2025-09-11T09:54:45.9126191+07:00", "CurrentGroup": "sample string 12", "CurrentApproverJobTitle": "sample string 13", "SubmitCounter": 14, "EffectiveDate": "2025-09-11T09:54:45.9126191+07:00", "IsoNumber": "sample string 15", "HasTemplate": "sample string 16", "HasIsoNumber": "sample string 17", "Group": "sample string 18", "DepartmentCode": {}, "FormSetItemID": "sample string 20", "RefDisplayHTML": "sample string 21", "MFItem": { "Id": 1, "Title": "sample string 2", "Ref": "sample string 3", "SiteGuid": "a5f11966-033b-4bee-9f05-343881d24486", "ListGuid": "a247da36-ebd7-438e-8770-413337b1d251", "WebGuid": "20f10bf3-489a-4c18-9fa6-e57d9bdbd886", "ItemId": 7, "RefDisplayHTML": "sample string 8", "FormCode": "sample string 9", "WebUrl": "sample string 10", "FormType": "sample string 11" }, "PRItemDetailListGuid": "9a47aa4d-0152-4f45-84c3-132b67529878" }, "IsAdditional": true, "ButtonText": "sample string 2", "DueDate": "2025-09-11T09:54:45.9126191+07:00", "Comment": "sample string 3", "CompletedDate": "2025-09-11T09:54:45.9126191+07:00", "DelegatedUser": { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, "ItemId": 4, "ListId": "a8a2328d-bd0d-4f88-a11a-44065414ffb1", "Outcome": "sample string 6", "Parameters": "sample string 7", "PostActions": "sample string 8", "PreActions": "sample string 9", "Group": "sample string 10", "SortOrder": 11, "StartDate": "2025-09-11T09:54:45.9126191+07:00", "TaskId": 1, "Title": "sample string 12", "User": { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, "WFId": "7c0d2bb8-3ec8-4f59-abf6-0ae4ff673cd0", "WFName": "sample string 14", "ApprovalGroup": { "Id": 1, "ApprovalGroup": "sample string 2", "ApprovalGroupDisplayName": "sample string 3", "ApprovalGroupStatus": "sample string 4", "ApprovalType": "sample string 5", "ApprovalDialog": "sample string 6", "AutoApproveInMinutes": 7, "Behaviour": "sample string 8", "CanSendBack": true, "CompleteIfSameAccountApproved": true, "DueInDays": 11, "IsAllowAdditional": true, "IsAllowDelegation": true, "IsAllowLazyApproval": true, "IsAutoApprove": true, "IsNotifyRequester": true, "ListId": "sample string 17", "IsRequired": true, "ItemID": 19, "ItemStatusAfterApprove": "sample string 20", "ItemStatusAfterReject": "sample string 21", "ItemStatusAfterCompleted": "sample string 22", "MinutesBtwReminders": "sample string 23", "Notes": "sample string 24", "NotifyRequesterInMinutes": 25, "NumberOfReminders": 26, "RejectDialog": "sample string 27" }, "IsActive": true, "JobTitle": "sample string 16", "ID": 17, "ShowInEmail": true, "ShowInPrintPreview": true }, "SortOrderNew": 1, "MoveDown": true, "MoveUp": true }
application/xml, text/xml
Sample:
<ChangeSortOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Models"> <MoveDown>true</MoveDown> <MoveUp>true</MoveUp> <SortOrderNew>1</SortOrderNew> <wfApprover> <ApprovalGroup> <ApprovalDialog>sample string 6</ApprovalDialog> <ApprovalGroup>sample string 2</ApprovalGroup> <ApprovalGroupDisplayName>sample string 3</ApprovalGroupDisplayName> <ApprovalGroupStatus>sample string 4</ApprovalGroupStatus> <ApprovalType>sample string 5</ApprovalType> <AutoApproveInMinutes>7</AutoApproveInMinutes> <Behaviour>sample string 8</Behaviour> <CanSendBack>true</CanSendBack> <CompleteIfSameAccountApproved>true</CompleteIfSameAccountApproved> <DueInDays>11</DueInDays> <Id>1</Id> <IsAllowAdditional>true</IsAllowAdditional> <IsAllowDelegation>true</IsAllowDelegation> <IsAllowLazyApproval>true</IsAllowLazyApproval> <IsAutoApprove>true</IsAutoApprove> <IsNotifyRequester>true</IsNotifyRequester> <IsRequired>true</IsRequired> <ItemID>19</ItemID> <ItemStatusAfterApprove>sample string 20</ItemStatusAfterApprove> <ItemStatusAfterCompleted>sample string 22</ItemStatusAfterCompleted> <ItemStatusAfterReject>sample string 21</ItemStatusAfterReject> <ListId>sample string 17</ListId> <MinutesBtwReminders>sample string 23</MinutesBtwReminders> <Notes>sample string 24</Notes> <NotifyRequesterInMinutes>25</NotifyRequesterInMinutes> <NumberOfReminders>26</NumberOfReminders> <RejectDialog>sample string 27</RejectDialog> </ApprovalGroup> <ButtonText>sample string 2</ButtonText> <Comment>sample string 3</Comment> <CompletedDate>2025-09-11T09:54:45.9126191+07:00</CompletedDate> <DelegatedUser> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </DelegatedUser> <DueDate>2025-09-11T09:54:45.9126191+07:00</DueDate> <FormContext> <ClearAdditionalItemOnly>true</ClearAdditionalItemOnly> <ClearApprovalGroup>true</ClearApprovalGroup> <ClearApprovalMatrix>true</ClearApprovalMatrix> <CurrentUser> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </CurrentUser> <DiscussionListGuid>336b7fb9-1220-497c-bad0-12b7387f938c</DiscussionListGuid> <DisplayMode>sample string 1</DisplayMode> <DocLibListGuid>c4d47145-beb2-461f-b05a-abe88689eac2</DocLibListGuid> <EOfficeDataSiteUrl>sample string 19</EOfficeDataSiteUrl> <FormCode>sample string 20</FormCode> <FormItem> <ApprovalStatus>sample string 9</ApprovalStatus> <CurrentApproverDueDate>2025-09-11T09:54:45.9126191+07:00</CurrentApproverDueDate> <CurrentApproverJobTitle>sample string 13</CurrentApproverJobTitle> <CurrentApprovers> <FormUser> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </FormUser> <FormUser> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </FormUser> </CurrentApprovers> <CurrentGroup>sample string 12</CurrentGroup> <Department xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.SharePoint.Client.Taxonomy"> <d5p1:Label>sample string 1</d5p1:Label> <d5p1:TermGuid>sample string 2</d5p1:TermGuid> <d5p1:WssId>3</d5p1:WssId> </Department> <DiscussionListGuid>a3afcd34-af3c-4de7-ad34-898ca0b12b3f</DiscussionListGuid> <DocLibListGuid>24a3f4c7-6730-440e-85be-d932bb18e0e3</DocLibListGuid> <EffectiveDate>2025-09-11T09:54:45.9126191+07:00</EffectiveDate> <FormCategory>sample string 10</FormCategory> <FormCode>sample string 4</FormCode> <FormNumber>sample string 7</FormNumber> <FormPublishedDate>2025-09-11T09:54:45.9126191+07:00</FormPublishedDate> <FormSetItemID>sample string 20</FormSetItemID> <FormTemplate>sample string 6</FormTemplate> <FormTemplateID>8</FormTemplateID> <FormTemplateSiteGuid>74f67912-07f0-4728-8ff6-669e01b9267b</FormTemplateSiteGuid> <FormTemplateWebGuid>c358d261-b875-4c1f-b5dd-f2403934694e</FormTemplateWebGuid> <FormType>sample string 5</FormType> <Group>sample string 18</Group> <HasIsoNumber>sample string 17</HasIsoNumber> <HasTemplate>sample string 16</HasTemplate> <HistoryListGuid>2f83e119-2a3d-496c-bb3b-5ccaf3a8ed0e</HistoryListGuid> <Id>1</Id> <IsoNumber>sample string 15</IsoNumber> <MFItem xmlns:d5p1="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Services.MFService"> <d5p1:FormCode>sample string 9</d5p1:FormCode> <d5p1:FormType>sample string 11</d5p1:FormType> <d5p1:Id>1</d5p1:Id> <d5p1:ItemId>7</d5p1:ItemId> <d5p1:ListGuid>a247da36-ebd7-438e-8770-413337b1d251</d5p1:ListGuid> <d5p1:Ref>sample string 3</d5p1:Ref> <d5p1:RefDisplayHTML>sample string 8</d5p1:RefDisplayHTML> <d5p1:SiteGuid>a5f11966-033b-4bee-9f05-343881d24486</d5p1:SiteGuid> <d5p1:Title>sample string 2</d5p1:Title> <d5p1:WebGuid>20f10bf3-489a-4c18-9fa6-e57d9bdbd886</d5p1:WebGuid> <d5p1:WebUrl>sample string 10</d5p1:WebUrl> </MFItem> <PRItemDetailListGuid>9a47aa4d-0152-4f45-84c3-132b67529878</PRItemDetailListGuid> <Ref>sample string 3</Ref> <RefDisplayHTML>sample string 21</RefDisplayHTML> <Requester> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </Requester> <SubmitCounter>14</SubmitCounter> <SubmittedDate>2025-09-11T09:54:45.9126191+07:00</SubmittedDate> <Title>sample string 2</Title> <UniqueId>9d30ebc0-e86a-4eb7-a4cb-9631017c8785</UniqueId> <WFName>sample string 11</WFName> </FormItem> <FormType>sample string 21</FormType> <HistoryListGuid>def87b11-1d70-468a-878c-070ec108ced3</HistoryListGuid> <IsGenerateApprovalMatrix>true</IsGenerateApprovalMatrix> <ItemId>5</ItemId> <ItemUniqueId>e417ddd2-662a-4919-9766-6e12dd438cc1</ItemUniqueId> <KeyValue>sample string 22</KeyValue> <ListGuid>027d5069-1290-4680-80cc-250904c32723</ListGuid> <ListName>sample string 2</ListName> <RootSiteUrl>sample string 9</RootSiteUrl> <Settings> <BackendApiUrl>sample string 1</BackendApiUrl> <EOfficeDataSiteUrl>sample string 2</EOfficeDataSiteUrl> <HTTMSiteURL>sample string 3</HTTMSiteURL> </Settings> <SiteGuid>31f1e080-d026-4da5-bc93-8324389a4622</SiteGuid> <SyncPermission>true</SyncPermission> <WFName>sample string 18</WFName> <WebGuid>3c42ab53-b93c-4a4b-898c-9ec3ffebfece</WebGuid> <WebRelativeUrl>sample string 8</WebRelativeUrl> <WebUrl>sample string 10</WebUrl> <itemId>sample string 6</itemId> </FormContext> <FormItem> <ApprovalStatus>sample string 9</ApprovalStatus> <CurrentApproverDueDate>2025-09-11T09:54:45.9126191+07:00</CurrentApproverDueDate> <CurrentApproverJobTitle>sample string 13</CurrentApproverJobTitle> <CurrentApprovers> <FormUser> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </FormUser> <FormUser> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </FormUser> </CurrentApprovers> <CurrentGroup>sample string 12</CurrentGroup> <Department xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.SharePoint.Client.Taxonomy"> <d4p1:Label>sample string 1</d4p1:Label> <d4p1:TermGuid>sample string 2</d4p1:TermGuid> <d4p1:WssId>3</d4p1:WssId> </Department> <DiscussionListGuid>a3afcd34-af3c-4de7-ad34-898ca0b12b3f</DiscussionListGuid> <DocLibListGuid>24a3f4c7-6730-440e-85be-d932bb18e0e3</DocLibListGuid> <EffectiveDate>2025-09-11T09:54:45.9126191+07:00</EffectiveDate> <FormCategory>sample string 10</FormCategory> <FormCode>sample string 4</FormCode> <FormNumber>sample string 7</FormNumber> <FormPublishedDate>2025-09-11T09:54:45.9126191+07:00</FormPublishedDate> <FormSetItemID>sample string 20</FormSetItemID> <FormTemplate>sample string 6</FormTemplate> <FormTemplateID>8</FormTemplateID> <FormTemplateSiteGuid>74f67912-07f0-4728-8ff6-669e01b9267b</FormTemplateSiteGuid> <FormTemplateWebGuid>c358d261-b875-4c1f-b5dd-f2403934694e</FormTemplateWebGuid> <FormType>sample string 5</FormType> <Group>sample string 18</Group> <HasIsoNumber>sample string 17</HasIsoNumber> <HasTemplate>sample string 16</HasTemplate> <HistoryListGuid>2f83e119-2a3d-496c-bb3b-5ccaf3a8ed0e</HistoryListGuid> <Id>1</Id> <IsoNumber>sample string 15</IsoNumber> <MFItem xmlns:d4p1="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Services.MFService"> <d4p1:FormCode>sample string 9</d4p1:FormCode> <d4p1:FormType>sample string 11</d4p1:FormType> <d4p1:Id>1</d4p1:Id> <d4p1:ItemId>7</d4p1:ItemId> <d4p1:ListGuid>a247da36-ebd7-438e-8770-413337b1d251</d4p1:ListGuid> <d4p1:Ref>sample string 3</d4p1:Ref> <d4p1:RefDisplayHTML>sample string 8</d4p1:RefDisplayHTML> <d4p1:SiteGuid>a5f11966-033b-4bee-9f05-343881d24486</d4p1:SiteGuid> <d4p1:Title>sample string 2</d4p1:Title> <d4p1:WebGuid>20f10bf3-489a-4c18-9fa6-e57d9bdbd886</d4p1:WebGuid> <d4p1:WebUrl>sample string 10</d4p1:WebUrl> </MFItem> <PRItemDetailListGuid>9a47aa4d-0152-4f45-84c3-132b67529878</PRItemDetailListGuid> <Ref>sample string 3</Ref> <RefDisplayHTML>sample string 21</RefDisplayHTML> <Requester> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </Requester> <SubmitCounter>14</SubmitCounter> <SubmittedDate>2025-09-11T09:54:45.9126191+07:00</SubmittedDate> <Title>sample string 2</Title> <UniqueId>9d30ebc0-e86a-4eb7-a4cb-9631017c8785</UniqueId> <WFName>sample string 11</WFName> </FormItem> <Group>sample string 10</Group> <ID>17</ID> <IsActive>true</IsActive> <IsAdditional>true</IsAdditional> <ItemId>4</ItemId> <JobTitle>sample string 16</JobTitle> <ListId>a8a2328d-bd0d-4f88-a11a-44065414ffb1</ListId> <Outcome>sample string 6</Outcome> <Parameters>sample string 7</Parameters> <PostActions>sample string 8</PostActions> <PreActions>sample string 9</PreActions> <ShowInEmail>true</ShowInEmail> <ShowInPrintPreview>true</ShowInPrintPreview> <SortOrder>11</SortOrder> <StartDate>2025-09-11T09:54:45.9126191+07:00</StartDate> <TaskId>1</TaskId> <Title>sample string 12</Title> <User> <DisplayName>sample string 4</DisplayName> <Email>sample string 2</Email> <Id>1</Id> <PictureURL>sample string 5</PictureURL> <Username>sample string 3</Username> </User> <WFId>7c0d2bb8-3ec8-4f59-abf6-0ae4ff673cd0</WFId> <WFName>sample string 14</WFName> </wfApprover> </ChangeSortOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.