ReadDirectCorrectionSaleSessionById
GET/orgs/:org_guid/deals/sales/:deal_guid/sessions/direct-correction/:session_guid
ReadDirectCorrectionSaleSessionById
Request
Path Parameters
Query Parameters
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 [
]
Array [
- BnplPaymentPart
- CardPaymentPart
- CashPaymentPart
- CashlessPaymentPart
- LinkPaymentPart
- QuickPaymentPaymentPart
Array [
]
Array [
]
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
]
type_of
correction_data
object
Possible values: [SelfDriven
, OnDemand
]
basis_for_correction
object
date
Possible values: <= 32 characters
tax_service_doc_number
type_of
sale
object
guid
type_of
actions
object
money_action
object
purposes
object[]
nullable
purposes
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
position
object
guid
type_of
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
payment_parts
object[]
nullable
payment_parts
anyOf
podeli_details
object
Possible values: non-empty
and <= 44 characters
order_id
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
transactions
object[]
nullable
transactions
guid
type_of
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
Possible values: non-empty
and <= 64 characters
external_id
Possible values: >= 5
and <= 2880
ttl
Possible values: <= 256 characters
payment_url
expired_at
transactions
object[]
nullable
transactions
guid
type_of
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
transactions
object[]
nullable
transactions
guid
type_of
type_of
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
type_of
modified_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
non_purpose_money_action
object
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
payment_parts
object[]
nullable
payment_parts
amount
object
required
value
Possible values: [RUB
, GBP
, USD
, EUR
, Unknown
]
type_of
Possible values: [Draft
, Accepted
, Refunded
]
primary_payment_part
object
guid
type_of
primary_sale_session
object
guid
type_of
guid
type_of
type_of
modified_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
shipping_action
object
purposes
object[]
nullable
purposes
type_of
quantity
marking_attributes
object
Possible values: >= 2
and <= 99999999
is_part_of_package_of
marks
object[]
required
Possible values: >= 1
marks
Possible values: <= 256 characters
marking_code
Possible values: [KMChecked
, KPKMCorrect
, OISMStatusChecked
, OISMStatusCorrect
, KPKMCheckedAutonomously
]
checking_result
for_quantity
position
object
guid
type_of
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
modified_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
fiscal_documents
object[]
nullable
fiscal_documents
guid
type_of
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
{
"type_of": "string",
"correction_data": {
"correction_type": "SelfDriven",
"basis_for_correction": {
"date": "2024-10-23T06:47:41.043Z",
"tax_service_doc_number": "string",
"type_of": "string"
}
},
"sale": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"actions": {
"money_action": {
"purposes": [
{
"type_of": "string",
"amount": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"position": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"created_at": "2024-10-23T06:47:41.043Z",
"updated_at": "2024-10-23T06:47:41.043Z",
"deleted_at": "2024-10-23T06:47:41.043Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"payment_parts": [
{},
{},
{},
{},
{},
{}
],
"type_of": "string",
"modified_at": "2024-10-23T06:47:41.043Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"non_purpose_money_action": {
"amount": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"payment_parts": [
{
"amount": {
"value": 0,
"currency": "RUB",
"type_of": "string"
},
"status": "Draft",
"primary_payment_part": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"primary_sale_session": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
}
],
"type_of": "string",
"modified_at": "2024-10-23T06:47:41.044Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"shipping_action": {
"purposes": [
{
"type_of": "string",
"quantity": 0,
"marking_attributes": {
"is_part_of_package_of": 0,
"marks": [
{
"marking_code": "string",
"checking_result": [
"KMChecked"
],
"for_quantity": 0
}
]
},
"position": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"created_at": "2024-10-23T06:47:41.044Z",
"updated_at": "2024-10-23T06:47:41.044Z",
"deleted_at": "2024-10-23T06:47:41.044Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"type_of": "string",
"modified_at": "2024-10-23T06:47:41.044Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
},
"fiscal_documents": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
}
],
"created_at": "2024-10-23T06:47:41.044Z",
"updated_at": "2024-10-23T06:47:41.044Z",
"deleted_at": "2024-10-23T06:47:41.044Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
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"
}