GetReportRevenueByEmployeesPeriodsReportItem
GET/orgs/:org_guid/reports/revenue/employeesperiods
GetReportRevenueByEmployeesPeriodsReportItem
Request
Path Parameters
Query Parameters
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
Possible values: [compact
, full
]
Header Parameters
ClientIdentifier
Possible values: [Unknown
, App
, WebApp
, Service
]
ClientType
ClientName
ClientOSName
ClientOSVersion
ClientScreenResolution
ClientModel
OrganizationAlias
ClientExtensions
Language
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
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
employee
object
guid
type_of
periods
object[]
nullable
periods
Possible values: [Year
, Quarter
, Month
, Week
, Day
, Hour
]
date
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
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-11-18T08:30:46.606Z",
"date_to": "2024-11-18T08:30:46.606Z",
"type_of": "string"
},
"type_of": "string"
},
"items": [
{
"employee": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"periods": [
{
"type": "Year",
"date": "2024-11-18T08:30:46.606Z",
"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-11-18T08:30:46.607Z",
"date_to": "2024-11-18T08:30:46.607Z",
"type_of": "string"
},
"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"
}