# Request a download order for business audit log entries

Creates a download order for business audit log entries.

Endpoint: POST /api/audit/business/generate
Version: v1.0
Security: OAuth2

## Request fields (application/json-patch+json):

  - `logType` (array,null)

  - `filter` (object,null)

  - `audit_type` (string)
    Represents the type of audit event. IMPORTANT: Do not change the number of existing entries or their order because this will break compatibility with older versions.
    Enum: "Trigger", "Action", "Scripting", "Business", "Raw", "Edge", "PublicLink", "RawOperational", "DataPackageExport", "DataPackageImport"

  - `format` (string)
    Enum: "CSV", "Json"

  - `from` (string,null)

  - `to` (string,null)

  - `raw` (string,null)

  - `fullText` (string,null)

## Response 202 fields (application/json):

  - `items` (array,null)
    Gets or sets the list of items.

  - `items.event_type` (string,null)

  - `items.created_by` (string,null)

  - `items.modified_by` (string,null)

  - `items.created_on` (string,null)

  - `items.modified_on` (string,null)

  - `items.username` (string,null)

  - `items.log_type` (string,null)

  - `items.browser_information` (string,null)

  - `items.geoip` (object,null)

  - `items.authentication_type` (string,null)

  - `items.ip_address` (string,null)

  - `items.email_address` (string,null)

  - `items.transformation_name` (string,null)

  - `items.asset_id` (string,null)

  - `items.foreign_source` (string,null)

  - `items.foreign_id` (string,null)

  - `items.properties` (object,null)

  - `items.ancestors` (object,null)

  - `items.usage_request` (object,null)

  - `items.user_agent` (object,null)

  - `items.privileges` (object,null)

  - `items.location` (string,null)

  - `items.delivery_mode` (string,null)

  - `items.rendition_type` (string,null)

  - `items.removed_rules` (object,null)

  - `items.updated_rules` (object,null)

  - `items.added_rules` (object,null)

  - `items.impersonator_userid` (string,null)

  - `items.impersonator_username` (string,null)

  - `items.impersonator_email_address` (string,null)

  - `items.groupname` (string,null)

  - `items.deleted_by_username` (string,null)

  - `items.deleted_by_userid` (string,null)

  - `items.email_confirmation_pending` (string,null)

  - `items.reason` (string,null)

  - `items.external_provider` (string,null)

  - `items.requester_username` (string,null)

  - `items.requester_email_address` (string,null)

  - `items.usergroups_added` (object,null)

  - `items.usergroups_removed` (object,null)

  - `items.users_added` (object,null)

  - `items.users_removed` (object,null)

  - `items.modules_added` (object,null)

  - `items.modules_removed` (object,null)

  - `items.speed_test` (object,null)

  - `items.notification_type` (string,null)

  - `items.recipient_email_address` (string,null)

  - `items.recipient_user_id` (string,null)

  - `items.id` (string)

  - `items.audit_type` (string)
    Represents the type of audit event. IMPORTANT: Do not change the number of existing entries or their order because this will break compatibility with older versions.
    Enum: "Trigger", "Action", "Scripting", "Business", "Raw", "Edge", "PublicLink", "RawOperational", "DataPackageExport", "DataPackageImport"

  - `items.severity` (string)
    Represents the severity level for audit events. IMPORTANT: Do not change the number of existing entries. Doing so will break compatibility with older versions.
    Enum: "Debug", "Warning", "Info", "Error", "Fatal"

  - `items.target_definition` (string,null)

  - `items.target_id` (integer,null)

  - `items.target_identifier` (string,null)

  - `items.timestamp` (string)

  - `items.user_id` (integer,null)

  - `items.self` (object)
    Represents a link to a resource.

  - `items.self.href` (string,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `items.self.filename_properties` (array,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `items.self.title` (string,null)
    Gets or sets the title that describes this link.

  - `items.self.templated` (boolean)
    Gets or sets a value indicating whether the contained URI is a template.

  - `total_items` (integer,null)
    Gets or sets the total number of items.

  - `returned_items` (integer,null)
    Gets or sets the number of returned items.

  - `offset` (integer,null)
    Gets or sets the offset of the items.

  - `next` (object)
    Represents a link to a resource.

  - `next.href` (string,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `next.filename_properties` (array,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `next.title` (string,null)
    Gets or sets the title that describes this link.

  - `next.templated` (boolean)
    Gets or sets a value indicating whether the contained URI is a template.

  - `previous` (object)
    Represents a link to a resource.

  - `previous.href` (string,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `previous.filename_properties` (array,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `previous.title` (string,null)
    Gets or sets the title that describes this link.

  - `previous.templated` (boolean)
    Gets or sets a value indicating whether the contained URI is a template.

  - `identifier` (string,null)
    Gets or sets the identifier of the resource.

  - `self` (object)
    Represents a link to a resource.

  - `self.href` (string,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `self.filename_properties` (array,null)
    Gets or sets the URI that points to the resource this link refers to.

  - `self.title` (string,null)
    Gets or sets the title that describes this link.

  - `self.templated` (boolean)
    Gets or sets a value indicating whether the contained URI is a template.


## Response 401 fields
