CreateRevenueReportsExportTaskCSV
POST/orgs/:org_guid/async/exports/revenueperiods:new.csv
CreateRevenueReportsExportTaskCSV
Request
Path Parameters
Header Parameters
ClientIdentifier
Possible values: [Unknown
, App
, WebApp
, Service
]
ClientType
ClientName
ClientOSName
ClientOSVersion
ClientScreenResolution
ClientModel
OrganizationAlias
ClientExtensions
Language
- application/json-patch+json
- application/json
- text/json
- application/*+json
Body
attributes_for_export
object
include_outlet_name
include_employee_name
include_period_column
include_start_column
include_end_column
include_selection_points_column
include_comparison_period_column
include_revenue_column
include_average_column
include_refunds_column
include_payments_column
include_number_of_payments_column
include_number_of_refunds_column
include_number_of_transactions_column
include_median_payments_column
filters_for_export
object
processed_at_from
processed_at_to
comparison_processed_at_from
comparison_processed_at_to
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
outlet_guid
outlet_guids
employee_guid
employee_guids
Body
attributes_for_export
object
include_outlet_name
include_employee_name
include_period_column
include_start_column
include_end_column
include_selection_points_column
include_comparison_period_column
include_revenue_column
include_average_column
include_refunds_column
include_payments_column
include_number_of_payments_column
include_number_of_refunds_column
include_number_of_transactions_column
include_median_payments_column
filters_for_export
object
processed_at_from
processed_at_to
comparison_processed_at_from
comparison_processed_at_to
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
outlet_guid
outlet_guids
employee_guid
employee_guids
Body
attributes_for_export
object
include_outlet_name
include_employee_name
include_period_column
include_start_column
include_end_column
include_selection_points_column
include_comparison_period_column
include_revenue_column
include_average_column
include_refunds_column
include_payments_column
include_number_of_payments_column
include_number_of_refunds_column
include_number_of_transactions_column
include_median_payments_column
filters_for_export
object
processed_at_from
processed_at_to
comparison_processed_at_from
comparison_processed_at_to
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
outlet_guid
outlet_guids
employee_guid
employee_guids
Body
attributes_for_export
object
include_outlet_name
include_employee_name
include_period_column
include_start_column
include_end_column
include_selection_points_column
include_comparison_period_column
include_revenue_column
include_average_column
include_refunds_column
include_payments_column
include_number_of_payments_column
include_number_of_refunds_column
include_number_of_transactions_column
include_median_payments_column
filters_for_export
object
processed_at_from
processed_at_to
comparison_processed_at_from
comparison_processed_at_to
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
outlet_guid
outlet_guids
employee_guid
employee_guids
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
mime_type
Possible values: [RevenueByPeriodsExcel
, RevenueByOutletsPeriodsExcel
, RevenueByEmploeesPeriodsExcel
, RevenueByPeriodsCSV
, RevenueByOutletsPeriodsCSV
, RevenueByEmploeesPeriodsCSV
, ReportTransactionExcel
, ReportTransactionCSV
, ReportFiscalDocumentExcel
, ReportFiscalDocumentCSV
, ReportMoneyOperationExcel
, ReportMoneyOperationCSV
, ReportPaymentAndRefundExcel
, ReportPaymentAndRefundCSV
, ReportCombinedExcel
, ReportCombinedCSV
, ReportNomenclatureResultExcel
, ReportNomenclatureResultCSV
]
parameters
object
attributes_for_export
object
include_outlet_name
include_employee_name
include_period_column
include_start_column
include_end_column
include_selection_points_column
include_comparison_period_column
include_revenue_column
include_average_column
include_refunds_column
include_payments_column
include_number_of_payments_column
include_number_of_refunds_column
include_number_of_transactions_column
include_median_payments_column
filters_for_export
object
processed_at_from
processed_at_to
comparison_processed_at_from
comparison_processed_at_to
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
outlet_guid
outlet_guids
employee_guid
employee_guids
Possible values: [InQueue
, InProgress
, WaitingForFeedback
, Completed
, Canceled
]
progress
resolutions
object[]
nullable
resolutions
message
Possible values: [Information
, Warning
, Error
]
organization
object
guid
type_of
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
{
"mime_type": "string",
"report_export_type": "RevenueByPeriodsExcel",
"parameters": {
"attributes_for_export": {
"include_outlet_name": true,
"include_employee_name": true,
"include_period_column": true,
"include_start_column": true,
"include_end_column": true,
"include_selection_points_column": true,
"include_comparison_period_column": true,
"include_revenue_column": true,
"include_average_column": true,
"include_refunds_column": true,
"include_payments_column": true,
"include_number_of_payments_column": true,
"include_number_of_refunds_column": true,
"include_number_of_transactions_column": true,
"include_median_payments_column": true
},
"filters_for_export": {
"processed_at_from": "2024-11-18T08:30:48.429Z",
"processed_at_to": "2024-11-18T08:30:48.429Z",
"comparison_processed_at_from": "2024-11-18T08:30:48.429Z",
"comparison_processed_at_to": "2024-11-18T08:30:48.429Z",
"revenueByPeriodsType": "Year",
"outlet_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"outlet_guids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"employee_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"employee_guids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
},
"status": "InQueue",
"progress": 0,
"resolutions": [
{
"message": "string",
"type": "Information"
}
],
"organization": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"created_at": "2024-11-18T08:30:48.429Z",
"updated_at": "2024-11-18T08:30:48.429Z",
"deleted_at": "2024-11-18T08:30:48.429Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Client Error
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InternalServerError
, TooManyRequests
, RequestIsNotValid
, BadRequest
, NoPermissions
, Unauthorized
, NotFound
, ReferenceNotFound
, Duplicate
, NotUnique
, NotNullOrUnique
, NotAllowed
, NotAllowedForArchived
, TryLater
, OperationCannotBePerformed
, NotificationsAreOutOfService
, TrySendCodeLater
, UsernameIsAlreadyTaken
, PhoneIsNotFound
, PhoneIsNotFoundInOrganization
, PhoneIsAlreadyTaken
, InvalidConfirmationCode
, ConfirmationCodeWasCanceled
, ConfirmationCodeWasNotSend
, UsernameDoesNotExist
, WrongUsernameOrPassword
, WrongActivationCode
, TryActivateLater
, AliasIsNotFound
, AliasIsAlreadyTaken
, NotAllowedForOwner
, DealPositionHasInvalidQuantity
, CheckMarkingCodeMustBeDisabled
, LegalEntityCrptTokenNotSpecified
]
message
info
{
"code": "InternalServerError",
"message": "string",
"info": "string"
}