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": "60aaad24-317b-448a-8579-7cf84dcee1fd", "HistoryListGuid": "e54c64eb-ea89-4a34-b15b-b4899d100707", "ItemId": 5, "itemId": "sample string 6", "ItemUniqueId": "6896f4a5-5bad-4d36-96d6-fb2415d65d6d", "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": "ece7153b-952e-4bdb-94d6-8c9150b2838e", "DocLibListGuid": "5fb45fa9-0b28-49d5-a75c-4c5e136aa868", "Settings": { "BackendApiUrl": "sample string 1", "EOfficeDataSiteUrl": "sample string 2", "HTTMSiteURL": "sample string 3" }, "FormItem": { "Id": 1, "UniqueId": "fd3147b8-e695-46a6-ad2a-20dc895b8a32", "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": "7b46289d-563d-4789-b531-3183b23c4eb7", "FormTemplateSiteGuid": "2d30d3c3-360f-4349-9f2c-5cf65832d3dd", "FormPublishedDate": "2025-07-17T10:46:00.9667509+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": "951f8bfb-0a92-4b85-bf4e-e72bf6433371", "DiscussionListGuid": "d642d8cd-0e1f-4bbf-aee8-b4ae142ded4b", "DocLibListGuid": "e8de1e08-4411-41b1-9cbd-2157ae29cd6b", "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-07-17T10:46:00.9667509+07:00", "SubmittedDate": "2025-07-17T10:46:00.9667509+07:00", "CurrentGroup": "sample string 12", "CurrentApproverJobTitle": "sample string 13", "SubmitCounter": 14, "EffectiveDate": "2025-07-17T10:46:00.9667509+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": "5dc59c75-4d9b-4e6f-9396-597ed95d06be", "ListGuid": "9b912928-634e-4bbf-b6d6-7ad0e12474f6", "WebGuid": "ba4f0978-f320-4983-963a-8cae9322987b", "ItemId": 7, "RefDisplayHTML": "sample string 8", "FormCode": "sample string 9", "WebUrl": "sample string 10", "FormType": "sample string 11" }, "PRItemDetailListGuid": "cd12148e-668c-42ef-b052-47b4e146f56e" }, "ClearAdditionalItemOnly": true, "ClearApprovalGroup": true, "SiteGuid": "355aa2f3-0afc-4e8f-9dd7-6ecede4ab806", "WebGuid": "30468f00-45e0-43b3-bb9d-066f3401ca2f", "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": "fd3147b8-e695-46a6-ad2a-20dc895b8a32", "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": "7b46289d-563d-4789-b531-3183b23c4eb7", "FormTemplateSiteGuid": "2d30d3c3-360f-4349-9f2c-5cf65832d3dd", "FormPublishedDate": "2025-07-17T10:46:00.9667509+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": "951f8bfb-0a92-4b85-bf4e-e72bf6433371", "DiscussionListGuid": "d642d8cd-0e1f-4bbf-aee8-b4ae142ded4b", "DocLibListGuid": "e8de1e08-4411-41b1-9cbd-2157ae29cd6b", "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-07-17T10:46:00.9667509+07:00", "SubmittedDate": "2025-07-17T10:46:00.9667509+07:00", "CurrentGroup": "sample string 12", "CurrentApproverJobTitle": "sample string 13", "SubmitCounter": 14, "EffectiveDate": "2025-07-17T10:46:00.9667509+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": "5dc59c75-4d9b-4e6f-9396-597ed95d06be", "ListGuid": "9b912928-634e-4bbf-b6d6-7ad0e12474f6", "WebGuid": "ba4f0978-f320-4983-963a-8cae9322987b", "ItemId": 7, "RefDisplayHTML": "sample string 8", "FormCode": "sample string 9", "WebUrl": "sample string 10", "FormType": "sample string 11" }, "PRItemDetailListGuid": "cd12148e-668c-42ef-b052-47b4e146f56e" }, "IsAdditional": true, "ButtonText": "sample string 2", "DueDate": "2025-07-17T10:46:00.9667509+07:00", "Comment": "sample string 3", "CompletedDate": "2025-07-17T10:46:00.9667509+07:00", "DelegatedUser": { "Id": 1, "Email": "sample string 2", "Username": "sample string 3", "DisplayName": "sample string 4", "PictureURL": "sample string 5" }, "ItemId": 4, "ListId": "cca83b80-afb0-4df5-965d-4c7fb4e9cdda", "Outcome": "sample string 6", "Parameters": "sample string 7", "PostActions": "sample string 8", "PreActions": "sample string 9", "Group": "sample string 10", "SortOrder": 11, "StartDate": "2025-07-17T10:46:00.9667509+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": "ce834486-fb1d-4d9a-b93e-067519f3fdc6", "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-07-17T10:46:00.9667509+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-07-17T10:46:00.9667509+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>ece7153b-952e-4bdb-94d6-8c9150b2838e</DiscussionListGuid> <DisplayMode>sample string 1</DisplayMode> <DocLibListGuid>5fb45fa9-0b28-49d5-a75c-4c5e136aa868</DocLibListGuid> <EOfficeDataSiteUrl>sample string 19</EOfficeDataSiteUrl> <FormCode>sample string 20</FormCode> <FormItem> <ApprovalStatus>sample string 9</ApprovalStatus> <CurrentApproverDueDate>2025-07-17T10:46:00.9667509+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>d642d8cd-0e1f-4bbf-aee8-b4ae142ded4b</DiscussionListGuid> <DocLibListGuid>e8de1e08-4411-41b1-9cbd-2157ae29cd6b</DocLibListGuid> <EffectiveDate>2025-07-17T10:46:00.9667509+07:00</EffectiveDate> <FormCategory>sample string 10</FormCategory> <FormCode>sample string 4</FormCode> <FormNumber>sample string 7</FormNumber> <FormPublishedDate>2025-07-17T10:46:00.9667509+07:00</FormPublishedDate> <FormSetItemID>sample string 20</FormSetItemID> <FormTemplate>sample string 6</FormTemplate> <FormTemplateID>8</FormTemplateID> <FormTemplateSiteGuid>2d30d3c3-360f-4349-9f2c-5cf65832d3dd</FormTemplateSiteGuid> <FormTemplateWebGuid>7b46289d-563d-4789-b531-3183b23c4eb7</FormTemplateWebGuid> <FormType>sample string 5</FormType> <Group>sample string 18</Group> <HasIsoNumber>sample string 17</HasIsoNumber> <HasTemplate>sample string 16</HasTemplate> <HistoryListGuid>951f8bfb-0a92-4b85-bf4e-e72bf6433371</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>9b912928-634e-4bbf-b6d6-7ad0e12474f6</d5p1:ListGuid> <d5p1:Ref>sample string 3</d5p1:Ref> <d5p1:RefDisplayHTML>sample string 8</d5p1:RefDisplayHTML> <d5p1:SiteGuid>5dc59c75-4d9b-4e6f-9396-597ed95d06be</d5p1:SiteGuid> <d5p1:Title>sample string 2</d5p1:Title> <d5p1:WebGuid>ba4f0978-f320-4983-963a-8cae9322987b</d5p1:WebGuid> <d5p1:WebUrl>sample string 10</d5p1:WebUrl> </MFItem> <PRItemDetailListGuid>cd12148e-668c-42ef-b052-47b4e146f56e</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-07-17T10:46:00.9667509+07:00</SubmittedDate> <Title>sample string 2</Title> <UniqueId>fd3147b8-e695-46a6-ad2a-20dc895b8a32</UniqueId> <WFName>sample string 11</WFName> </FormItem> <FormType>sample string 21</FormType> <HistoryListGuid>e54c64eb-ea89-4a34-b15b-b4899d100707</HistoryListGuid> <IsGenerateApprovalMatrix>true</IsGenerateApprovalMatrix> <ItemId>5</ItemId> <ItemUniqueId>6896f4a5-5bad-4d36-96d6-fb2415d65d6d</ItemUniqueId> <KeyValue>sample string 22</KeyValue> <ListGuid>60aaad24-317b-448a-8579-7cf84dcee1fd</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>355aa2f3-0afc-4e8f-9dd7-6ecede4ab806</SiteGuid> <SyncPermission>true</SyncPermission> <WFName>sample string 18</WFName> <WebGuid>30468f00-45e0-43b3-bb9d-066f3401ca2f</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-07-17T10:46:00.9667509+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>d642d8cd-0e1f-4bbf-aee8-b4ae142ded4b</DiscussionListGuid> <DocLibListGuid>e8de1e08-4411-41b1-9cbd-2157ae29cd6b</DocLibListGuid> <EffectiveDate>2025-07-17T10:46:00.9667509+07:00</EffectiveDate> <FormCategory>sample string 10</FormCategory> <FormCode>sample string 4</FormCode> <FormNumber>sample string 7</FormNumber> <FormPublishedDate>2025-07-17T10:46:00.9667509+07:00</FormPublishedDate> <FormSetItemID>sample string 20</FormSetItemID> <FormTemplate>sample string 6</FormTemplate> <FormTemplateID>8</FormTemplateID> <FormTemplateSiteGuid>2d30d3c3-360f-4349-9f2c-5cf65832d3dd</FormTemplateSiteGuid> <FormTemplateWebGuid>7b46289d-563d-4789-b531-3183b23c4eb7</FormTemplateWebGuid> <FormType>sample string 5</FormType> <Group>sample string 18</Group> <HasIsoNumber>sample string 17</HasIsoNumber> <HasTemplate>sample string 16</HasTemplate> <HistoryListGuid>951f8bfb-0a92-4b85-bf4e-e72bf6433371</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>9b912928-634e-4bbf-b6d6-7ad0e12474f6</d4p1:ListGuid> <d4p1:Ref>sample string 3</d4p1:Ref> <d4p1:RefDisplayHTML>sample string 8</d4p1:RefDisplayHTML> <d4p1:SiteGuid>5dc59c75-4d9b-4e6f-9396-597ed95d06be</d4p1:SiteGuid> <d4p1:Title>sample string 2</d4p1:Title> <d4p1:WebGuid>ba4f0978-f320-4983-963a-8cae9322987b</d4p1:WebGuid> <d4p1:WebUrl>sample string 10</d4p1:WebUrl> </MFItem> <PRItemDetailListGuid>cd12148e-668c-42ef-b052-47b4e146f56e</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-07-17T10:46:00.9667509+07:00</SubmittedDate> <Title>sample string 2</Title> <UniqueId>fd3147b8-e695-46a6-ad2a-20dc895b8a32</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>cca83b80-afb0-4df5-965d-4c7fb4e9cdda</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-07-17T10:46:00.9667509+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>ce834486-fb1d-4d9a-b93e-067519f3fdc6</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.