CreateWorkplace
POST/orgs/:org_guid/workplaces
CreateWorkplace
Request
Path Parameters
Query Parameters
Possible values: [compact
, full
]
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
Possible values: >= 1
and <= 99999
number
Possible values: <= 128 characters
name
Possible values: [Unknown
, Mobile
, Stationary
, Automat
]
activated_at
organization
object
guid
type_of
extensions
WorkplaceExtensions
Расширения
nadex_soft_pos
object
turned_on
Possible values: >= 19 characters
and <= 19 characters
, Value must match regular expression ^[a-zA-Z0-9]*$
virtual_serial_number
Possible values: non-empty
and <= 8 characters
version
lifepay_smart_pos
object
Possible values: <= 10485760 characters
emv_config
tms_params
object
Possible values: non-empty
and <= 64 characters
ip
Possible values: <= 99999
port
Possible values: non-empty
and <= 4096 characters
ca1
Possible values: non-empty
and <= 4096 characters
ca2
Possible values: non-empty
and <= 8 characters
version
lifepos_quick_payments
object
Possible values: non-empty
qr_registrar_guid
Possible values: non-empty
and <= 8 characters
version
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
Body
Possible values: >= 1
and <= 99999
number
Possible values: <= 128 characters
name
Possible values: [Unknown
, Mobile
, Stationary
, Automat
]
activated_at
organization
object
guid
type_of
extensions
WorkplaceExtensions
Расширения
nadex_soft_pos
object
turned_on
Possible values: >= 19 characters
and <= 19 characters
, Value must match regular expression ^[a-zA-Z0-9]*$
virtual_serial_number
Possible values: non-empty
and <= 8 characters
version
lifepay_smart_pos
object
Possible values: <= 10485760 characters
emv_config
tms_params
object
Possible values: non-empty
and <= 64 characters
ip
Possible values: <= 99999
port
Possible values: non-empty
and <= 4096 characters
ca1
Possible values: non-empty
and <= 4096 characters
ca2
Possible values: non-empty
and <= 8 characters
version
lifepos_quick_payments
object
Possible values: non-empty
qr_registrar_guid
Possible values: non-empty
and <= 8 characters
version
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
Body
Possible values: >= 1
and <= 99999
number
Possible values: <= 128 characters
name
Possible values: [Unknown
, Mobile
, Stationary
, Automat
]
activated_at
organization
object
guid
type_of
extensions
WorkplaceExtensions
Расширения
nadex_soft_pos
object
turned_on
Possible values: >= 19 characters
and <= 19 characters
, Value must match regular expression ^[a-zA-Z0-9]*$
virtual_serial_number
Possible values: non-empty
and <= 8 characters
version
lifepay_smart_pos
object
Possible values: <= 10485760 characters
emv_config
tms_params
object
Possible values: non-empty
and <= 64 characters
ip
Possible values: <= 99999
port
Possible values: non-empty
and <= 4096 characters
ca1
Possible values: non-empty
and <= 4096 characters
ca2
Possible values: non-empty
and <= 8 characters
version
lifepos_quick_payments
object
Possible values: non-empty
qr_registrar_guid
Possible values: non-empty
and <= 8 characters
version
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
Body
Possible values: >= 1
and <= 99999
number
Possible values: <= 128 characters
name
Possible values: [Unknown
, Mobile
, Stationary
, Automat
]
activated_at
organization
object
guid
type_of
extensions
WorkplaceExtensions
Расширения
nadex_soft_pos
object
turned_on
Possible values: >= 19 characters
and <= 19 characters
, Value must match regular expression ^[a-zA-Z0-9]*$
virtual_serial_number
Possible values: non-empty
and <= 8 characters
version
lifepay_smart_pos
object
Possible values: <= 10485760 characters
emv_config
tms_params
object
Possible values: non-empty
and <= 64 characters
ip
Possible values: <= 99999
port
Possible values: non-empty
and <= 4096 characters
ca1
Possible values: non-empty
and <= 4096 characters
ca2
Possible values: non-empty
and <= 8 characters
version
lifepos_quick_payments
object
Possible values: non-empty
qr_registrar_guid
Possible values: non-empty
and <= 8 characters
version
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
Responses
- 201
- 401
- 403
- 404
- 422
- 429
- 500
Created
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: >= 1
and <= 99999
number
Possible values: <= 128 characters
name
Possible values: [Unknown
, Mobile
, Stationary
, Automat
]
activated_at
organization
object
guid
type_of
extensions
WorkplaceExtensions
Расширения
nadex_soft_pos
object
turned_on
Possible values: >= 19 characters
and <= 19 characters
, Value must match regular expression ^[a-zA-Z0-9]*$
virtual_serial_number
Possible values: non-empty
and <= 8 characters
version
lifepay_smart_pos
object
Possible values: <= 10485760 characters
emv_config
tms_params
object
Possible values: non-empty
and <= 64 characters
ip
Possible values: <= 99999
port
Possible values: non-empty
and <= 4096 characters
ca1
Possible values: non-empty
and <= 4096 characters
ca2
Possible values: non-empty
and <= 8 characters
version
lifepos_quick_payments
object
Possible values: non-empty
qr_registrar_guid
Possible values: non-empty
and <= 8 characters
version
created_at
updated_at
deleted_at
Possible values: <= 128 characters
meta
meta_data
object
nullable
meta_data
guid
type_of
{
"number": 0,
"name": "string",
"workplace_type": "Unknown",
"activated_at": "2024-11-18T08:30:47.049Z",
"organization": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"extensions": {
"nadex_soft_pos": {
"turned_on": true,
"virtual_serial_number": "string",
"version": "string"
},
"lifepay_smart_pos": {
"emv_config": "string",
"tms_params": {
"ip": "string",
"port": 0,
"ca1": "string",
"ca2": "string"
},
"version": "string"
},
"lifepos_quick_payments": {
"qr_registrar_guid": "string",
"version": "string"
}
},
"created_at": "2024-11-18T08:30:47.049Z",
"updated_at": "2024-11-18T08:30:47.049Z",
"deleted_at": "2024-11-18T08:30:47.049Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
}
{
"workplace_type": "Stationary",
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"guid": "fe7c8555-1470-433a-9123-40376c78a942",
"type_of": "Workplace"
}
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"
}