GetReportRevenueByPeriodsAndEmployeesReportItem
GET/orgs/:org_guid/reports/revenue/employeesandperiods
GetReportRevenueByPeriodsAndEmployeesReportItem
Request
Path Parameters
Query Parameters
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
Possible values: [compact
, full
]
Header Parameters
Идентификатор клиента
Possible values: [Unknown
, App
, WebApp
, Service
]
Тип клиента
Имя клиента
ОС клиента
Версия ОС клиента
Разрешение экрана ОС клиента
Модель оборудования клиента
Организац ия по умолчанию
Поддерживаемые клиентом расширения моделей
Язык используемый для ответов
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
for_all_objects
object
count
object
payments
refunds
total
type_of
sum
object
payments
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
refunds
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
total
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
type_of
average
object
payments
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
refunds
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
total
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
type_of
median
object
payments
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
refunds
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
total
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
type_of
share
object
payments
object
by_sum
by_count
type_of
refunds
object
by_sum
by_count
type_of
total
object
by_sum
by_count
type_of
type_of
period
object
date_from
date_to
type_of
type_of
items
object[]
nullable
items
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
date
employee
object
guid
type_of
summary
object
count
object
payments
refunds
total
type_of
sum
object
payments
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
refunds
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
total
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
type_of
average
object
payments
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
refunds
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
total
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
type_of
median
object
payments
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
refunds
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
total
object
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
type_of
share
object
payments
object
by_sum
by_count
type_of
refunds
object
by_sum
by_count
type_of
total
object
by_sum
by_count
type_of
type_of
period
object
date_from
date_to
type_of
type_of
type_of
next_page_token
page_number
pages_total
items_per_page
items_total
type_of
{
"for_all_objects": {
"count": {
"payments": 0,
"refunds": 0,
"total": 0,
"type_of": "string"
},
"sum": {
"payments": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"refunds": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"total": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"type_of": "string"
},
"average": {
"payments": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"refunds": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"total": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"type_of": "string"
},
"median": {
"payments": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"refunds": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"total": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"type_of": "string"
},
"share": {
"payments": {
"by_sum": 0,
"by_count": 0,
"type_of": "string"
},
"refunds": {
"by_sum": 0,
"by_count": 0,
"type_of": "string"
},
"total": {
"by_sum": 0,
"by_count": 0,
"type_of": "string"
},
"type_of": "string"
},
"period": {
"date_from": "2024-10-23T06:47:41.467Z",
"date_to": "2024-10-23T06:47:41.467Z",
"type_of": "string"
},
"type_of": "string"
},
"items": [
{
"type": "Year",
"date": "2024-10-23T06:47:41.468Z",
"employee": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"summary": {
"count": {
"payments": 0,
"refunds": 0,
"total": 0,
"type_of": "string"
},
"sum": {
"payments": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"refunds": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"total": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"type_of": "string"
},
"average": {
"payments": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"refunds": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"total": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"type_of": "string"
},
"median": {
"payments": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"refunds": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"total": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"type_of": "string"
},
"share": {
"payments": {
"by_sum": 0,
"by_count": 0,
"type_of": "string"
},
"refunds": {
"by_sum": 0,
"by_count": 0,
"type_of": "string"
},
"total": {
"by_sum": 0,
"by_count": 0,
"type_of": "string"
},
"type_of": "string"
},
"period": {
"date_from": "2024-10-23T06:47:41.468Z",
"date_to": "2024-10-23T06:47:41.468Z",
"type_of": "string"
},
"type_of": "string"
},
"type_of": "string"
}
],
"next_page_token": "string",
"page_number": 0,
"pages_total": 0,
"items_per_page": 0,
"items_total": 0,
"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"
}