POST api/WorkflowFieldValues/BulkArchive

Request Information

URI Parameters

None.

Body Parameters

BulkArchiveModel
NameDescriptionTypeAdditional information
Filter

WorkflowFieldFilter

None.

Archive

boolean

None.

ArchiveById

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Filter": {
    "IsFinalised": true,
    "IsTriggered": true,
    "PassedPaymentGateway": true,
    "NotSubmittedPaymentGateway": true,
    "EntityWorkflowIds": [
      "272c129e-b27e-42e4-b177-da741c4f0abb",
      "1d7fab89-0a51-4dfa-8ac1-66cadbc49cdd"
    ],
    "WorkflowInstanceOwner": "sample string 5",
    "WorkflowInstanceOwnerId": "sample string 6",
    "AssignedToUserId": "sample string 7",
    "PageNumber": 8,
    "PageSize": 9,
    "StartDate": "2024-11-29T09:29:56.7848947+11:00",
    "EndDate": "2024-11-29T09:29:56.7848947+11:00",
    "EntityId": "sample string 12",
    "IsArchived": true
  },
  "Archive": true,
  "ArchiveById": "sample string 2"
}

application/xml, text/xml

Sample:
<BulkArchiveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkflowAPI.Models">
  <Archive>true</Archive>
  <ArchiveById>sample string 2</ArchiveById>
  <Filter>
    <AssignedToUserId>sample string 7</AssignedToUserId>
    <EndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-28T22:29:56.7848947Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>660</d3p1:OffsetMinutes>
    </EndDate>
    <EntityId>sample string 12</EntityId>
    <EntityWorkflowIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>272c129e-b27e-42e4-b177-da741c4f0abb</d3p1:guid>
      <d3p1:guid>1d7fab89-0a51-4dfa-8ac1-66cadbc49cdd</d3p1:guid>
    </EntityWorkflowIds>
    <IsArchived>true</IsArchived>
    <IsFinalised>true</IsFinalised>
    <IsTriggered>true</IsTriggered>
    <NotSubmittedPaymentGateway>true</NotSubmittedPaymentGateway>
    <PageNumber>8</PageNumber>
    <PageSize>9</PageSize>
    <PassedPaymentGateway>true</PassedPaymentGateway>
    <StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-28T22:29:56.7848947Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>660</d3p1:OffsetMinutes>
    </StartDate>
    <WorkflowInstanceOwner>sample string 5</WorkflowInstanceOwner>
    <WorkflowInstanceOwnerId>sample string 6</WorkflowInstanceOwnerId>
  </Filter>
</BulkArchiveModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.