Delete all item exceptions

URI - POST

To use this endpoint, send a POST request to delete all existing Click-Time exception with specific IDs: /v1.0/sectools/click_time_protection/exceptions/items

Request

The request includes the HTTP headers (obtained in the authentication/authorization process and used to sign the request) with request parameters posted on the request body.

Request Headers

Header

Type

Required

Format

Description/Sample

x-av-req-id

String

Yes

UUID – Generated and supplied on the request.

d290f1ee-6c54-4b01-90e6-d701748f085 1

x-av-token

String

Yes

Token

Token obtained in the authentication sequence.

tkn8546ffffggd9d8934593

x-av-app-id

String

Yes

Avanan Application ID

US:myapp29

x-av-date

String

Yes

Date-time in GMT

'2021-04-10T00:00:00.000Z'

x-av-sig

String

Yes

Calculated signature

tkn8jmveolrrtertr9d8934593

For more details, see Delete all item exceptions.

Request String Parameters

No request string parameters.

Request Body

All applicable request parameters are posted on the request body JSON:

Copy
{
  "requestData":{
    "listItemIds": ["",""]
   }
}

Request Body Parameters

No request body parameters.

Request sample (CURL) format

This request sample shows URI base in USA region. For URI base in other regions, see URLs and URL Base.

Copy
curl -X POST -H "Accept: application/json" \
    -H "x-av-req-id: d290f1ee-6c54-4b01-90e6-d701748f3351" \
    -H "x-av-token: tkn8546ffffggd9d8934593" \
    -H "x-av-app-id: myapp29" \
    -H "x-av-date: 2016-08-29T09:12:33.001Z" \
    -H "x-av-sig: tkn8jmveolrrtertr9d8934593" \
    -d "{"requestData":{
          "listItemIds": ["",""]
          }
        }" \
    https://smart-api-production-1-us.avanan.net/v1.0/sectools/click_time_protection/exceptions/items

This sample deletes the existing Click-Time exception rule with listed IDs.

Response

The response obtained from the service includes HTTP response code and JSON formatted structure.

Response Structure

No response data structure.

Response Parameters

No response parameters.

Response Sample

No response sample.