GetReportRevenueReportForEmployeesWidget
GET/orgs/:org_guid/widgets/revenue/employees
GetReportRevenueReportForEmployeesWidget
Request
Path Parameters
Query Parameters
Possible values: [compact
, full
]
Possible values: >= 1
and <= 10
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 [
]
items
object[]
nullable
items
employee
object
guid
type_of
current_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
previous_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
growth_rate
object
percentage
is_calculated
type_of
type_of
type_of
{
"items": [
{
"employee": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"current_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.062Z",
"date_to": "2024-11-18T08:30:46.062Z",
"type_of": "string"
},
"type_of": "string"
},
"previous_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.063Z",
"date_to": "2024-11-18T08:30:46.063Z",
"type_of": "string"
},
"type_of": "string"
},
"growth_rate": {
"percentage": 0,
"is_calculated": true,
"type_of": "string"
},
"type_of": "string"
}
],
"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"
}