POST api/group/archivegroups

Archive groups in bulk

Request Information

URI Parameters

None.

Body Parameters

GroupBulkArchiveCommandDataContract
NameDescriptionTypeAdditional information
Filter

GroupInterestListFilterDataContract

None.

Ids

Collection of integer

None.

ExcludedIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Filter": {
    "InterestFlags": [
      "sample string 1",
      "sample string 2"
    ],
    "Origins": [
      "sample string 1",
      "sample string 2"
    ],
    "Grades": [
      "sample string 1",
      "sample string 2"
    ],
    "RoleTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "RoleStatuses": [
      "sample string 1",
      "sample string 2"
    ],
    "LastContactedFrom": "2020-07-08T10:28:22.6070663Z",
    "LastContactedTo": "2020-07-08T10:28:22.6070663Z",
    "LastContacted": {
      "FromStaticDate": "2020-07-08T10:28:22.6070663Z",
      "ToStaticDate": "2020-07-08T10:28:22.6070663Z",
      "PredefinedDateRange": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "FromExpression": "sample string 1",
      "ToExpression": "sample string 2",
      "Id": 3
    },
    "CreatedFrom": "2020-07-08T10:28:22.6070663Z",
    "CreatedTo": "2020-07-08T10:28:22.6070663Z",
    "Created": {
      "FromStaticDate": "2020-07-08T10:28:22.6070663Z",
      "ToStaticDate": "2020-07-08T10:28:22.6070663Z",
      "PredefinedDateRange": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "FromExpression": "sample string 1",
      "ToExpression": "sample string 2",
      "Id": 3
    },
    "LandlordVendorFrom": "2020-07-08T10:28:22.6070663Z",
    "LandlordVendorTo": "2020-07-08T10:28:22.6070663Z",
    "LandlordVendor": {
      "FromStaticDate": "2020-07-08T10:28:22.6070663Z",
      "ToStaticDate": "2020-07-08T10:28:22.6070663Z",
      "PredefinedDateRange": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "FromExpression": "sample string 1",
      "ToExpression": "sample string 2",
      "Id": 3
    },
    "Sort": 0,
    "GroupIds": [
      1,
      2
    ],
    "OwningTeamIds": [
      1,
      2
    ],
    "RoleIds": [
      1,
      2
    ],
    "AdditionalIds": [
      1,
      2
    ],
    "ExcludedIds": [
      1,
      2
    ],
    "ExcludeHasNoEmail": true,
    "IsMarketingRoleTypeSearch": true,
    "HasValuationBooked": true,
    "HasSearch": true,
    "CompanyTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "Archived": true,
    "Name": "sample string 2",
    "CustomFilterConfig": "sample string 3",
    "BranchId": 1,
    "BranchIds": [
      1,
      2
    ],
    "EventBranchIds": [
      1,
      2
    ],
    "Order": 0,
    "SearchTerm": "sample string 4",
    "FilterType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "ShowDeleted": true,
    "ShowCancelled": true,
    "OwningTeamId": 7,
    "Id": 8
  },
  "Ids": [
    1,
    2
  ],
  "ExcludedIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JobInvocationDetailsDataContract
NameDescriptionTypeAdditional information
SupportsCancellation

boolean

None.

ReportsProgress

boolean

None.

InitialStatusText

string

None.

JobReference

globally unique identifier

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SupportsCancellation": true,
  "ReportsProgress": true,
  "InitialStatusText": "sample string 3",
  "JobReference": "735f1100-00c8-4117-8c72-199a86122864",
  "Success": true
}