Update a bulk extract

patch

/services/rest/connect/v1.4/bulkExtracts/{id}

Request

Path Parameters
Body ()
The parameters of the bulk extract job.
Root Schema : bulkExtracts
Type: object
The parameters of the bulk extract job.
Show Source
Nested Schema : bulkExtracts-columns
Type: object
The list item that describes an object property to extract.
Show Source
Nested Schema : bulkExtracts-filters
Type: object
The list item that describes a criterion for filtering the extract results.
Show Source
Nested Schema : namedIDs-bulkExtracts-state
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-bulkExtracts-type
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-bulkExtracts-filters-filterOperator
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Back to Top

Response

Default Response

Back to Top

Examples

Use the PATCH operation with the following syntax to partially update a bulkExtract object:

https://your_site_interface/services/rest/connect/version/bulkExtracts/bulkExtract_id

Include the data to be updated in the request body. Only the fields present in the request JSON data are updated. All other fields remain the same.

Request URI example:

https://mysite.example.com/services/rest/connect/v1.4/bulkExtracts/2

Request body example

{
 "state": {
   "lookupName":"Pause"
   }
}

Response body example

The status 200 OK is returned. Then getting the data for bulkExtract 2 returns the following:

{
    "id": 2,
    "lookupName": "ExtractExample",
    "createdTime": "2019-01-14T17:52:47.000Z",
    "updatedTime": "2019-01-14T18:13:18.000Z",
    "class": "Incident",
    "columns": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/bulkExtracts/2/columns"
            },
            {
                "rel": "full",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/bulkExtracts/2/columns/{column_id}",
                "templated": true
            }
        ]
    },
    "createdByAccount": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/2"
            },
            {
                "rel": "canonical",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/accounts/2"
            },
            {
                "rel": "describedby",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/accounts",
                "mediaType": "application/schema+json"
            }
        ]
    },
    "filters": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/bulkExtracts/2/filters"
            },
            {
                "rel": "full",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/bulkExtracts/2/filters/{filter_id}",
                "templated": true
            }
        ]
    },
    "name": "ExtractExample",
    "state": {
        "id": 2,
        "lookupName": "Pause"
    },

...
}
Back to Top