CreateOrganization
POST/orgs
CreateOrganization
Request
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: >= 2 characters
and <= 24 characters
name
Possible values: >= 2 characters
and <= 24 characters
, Value must match regular expression ^[a-zA-Z0-9_-]{2,24}$
alias
owner
object
guid
type_of
support
object
Possible values: >= 2 characters
and <= 24 characters
line
Possible values: >= 2 characters
and <= 128 characters
responsibility
Possible values: >= 10 characters
and <= 18 characters
, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?
phone
Possible values: >= 6 characters
and <= 64 characters
, Value must match regular expression ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Possible values: >= 2 characters
and <= 128 characters
opening_hours
Possible values: >= 2 characters
and <= 64 characters
Possible values: >= 2 characters
and <= 64 characters
viber
Possible values: >= 2 characters
and <= 64 characters
telegram
type_of
extensions
OrganizationExtensions
Расширения
notification_service
object
turned_on
Possible values: non-empty
primary_url_for_notifications
secondary_url_for_notifications
Possible values: non-empty
and <= 8 characters
version
lifepay_auth
object
Possible values: >= 8 characters
and <= 128 characters
signature
Possible values: non-empty
and <= 8 characters
version
unified_personal_account
object
turned_on
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: >= 2 characters
and <= 24 characters
name
Possible values: >= 2 characters
and <= 24 characters
, Value must match regular expression ^[a-zA-Z0-9_-]{2,24}$
alias
owner
object
guid
type_of
support
object
Possible values: >= 2 characters
and <= 24 characters
line
Possible values: >= 2 characters
and <= 128 characters
responsibility
Possible values: >= 10 characters
and <= 18 characters
, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?
phone
Possible values: >= 6 characters
and <= 64 characters
, Value must match regular expression ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Possible values: >= 2 characters
and <= 128 characters
opening_hours
Possible values: >= 2 characters
and <= 64 characters
Possible values: >= 2 characters
and <= 64 characters
viber
Possible values: >= 2 characters
and <= 64 characters
telegram
type_of
extensions
OrganizationExtensions
Расширения
notification_service
object
turned_on
Possible values: non-empty
primary_url_for_notifications
secondary_url_for_notifications
Possible values: non-empty
and <= 8 characters
version
lifepay_auth
object
Possible values: >= 8 characters
and <= 128 characters
signature
Possible values: non-empty
and <= 8 characters
version
unified_personal_account
object
turned_on
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: >= 2 characters
and <= 24 characters
name
Possible values: >= 2 characters
and <= 24 characters
, Value must match regular expression ^[a-zA-Z0-9_-]{2,24}$
alias
owner
object
guid
type_of
support
object
Possible values: >= 2 characters
and <= 24 characters
line
Possible values: >= 2 characters
and <= 128 characters
responsibility
Possible values: >= 10 characters
and <= 18 characters
, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?
phone
Possible values: >= 6 characters
and <= 64 characters
, Value must match regular expression ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Possible values: >= 2 characters
and <= 128 characters
opening_hours
Possible values: >= 2 characters
and <= 64 characters
Possible values: >= 2 characters
and <= 64 characters
viber
Possible values: >= 2 characters
and <= 64 characters
telegram
type_of
extensions
OrganizationExtensions
Расширения
notification_service
object
turned_on
Possible values: non-empty
primary_url_for_notifications
secondary_url_for_notifications
Possible values: non-empty
and <= 8 characters
version
lifepay_auth
object
Possible values: >= 8 characters
and <= 128 characters
signature
Possible values: non-empty
and <= 8 characters
version
unified_personal_account
object
turned_on
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: >= 2 characters
and <= 24 characters
name
Possible values: >= 2 characters
and <= 24 characters
, Value must match regular expression ^[a-zA-Z0-9_-]{2,24}$
alias
owner
object
guid
type_of
support
object
Possible values: >= 2 characters
and <= 24 characters
line
Possible values: >= 2 characters
and <= 128 characters
responsibility
Possible values: >= 10 characters
and <= 18 characters
, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?
phone
Possible values: >= 6 characters
and <= 64 characters
, Value must match regular expression ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Possible values: >= 2 characters
and <= 128 characters
opening_hours
Possible values: >= 2 characters
and <= 64 characters
Possible values: >= 2 characters
and <= 64 characters
viber
Possible values: >= 2 characters
and <= 64 characters
telegram
type_of
extensions
OrganizationExtensions
Расширения
notification_service
object
turned_on
Possible values: non-empty
primary_url_for_notifications
secondary_url_for_notifications
Possible values: non-empty
and <= 8 characters
version
lifepay_auth
object
Possible values: >= 8 characters
and <= 128 characters
signature
Possible values: non-empty
and <= 8 characters
version
unified_personal_account
object
turned_on
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
- 422
- 429
- 500
Created
- application/json
- Schema
- Example (from schema)
- Example
Schema
Possible values: >= 2 characters
and <= 24 characters
name
Possible values: >= 2 characters
and <= 24 characters
, Value must match regular expression ^[a-zA-Z0-9_-]{2,24}$
alias
owner
object
guid
type_of
support
object
Possible values: >= 2 characters
and <= 24 characters
line
Possible values: >= 2 characters
and <= 128 characters
responsibility
Possible values: >= 10 characters
and <= 18 characters
, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?
phone
Possible values: >= 6 characters
and <= 64 characters
, Value must match regular expression ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Possible values: >= 2 characters
and <= 128 characters
opening_hours
Possible values: >= 2 characters
and <= 64 characters
Possible values: >= 2 characters
and <= 64 characters
viber
Possible values: >= 2 characters
and <= 64 characters
telegram
type_of
extensions
OrganizationExtensions
Расширения
notification_service
object
turned_on
Possible values: non-empty
primary_url_for_notifications
secondary_url_for_notifications
Possible values: non-empty
and <= 8 characters
version
lifepay_auth
object
Possible values: >= 8 characters
and <= 128 characters
signature
Possible values: non-empty
and <= 8 characters
version
unified_personal_account
object
turned_on
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
{
"name": "string",
"alias": "string",
"owner": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
},
"support": {
"line": "string",
"responsibility": "string",
"phone": "string",
"email": "string",
"opening_hours": "string",
"whatsapp": "string",
"viber": "string",
"telegram": "string",
"type_of": "string"
},
"extensions": {
"notification_service": {
"turned_on": true,
"primary_url_for_notifications": "string",
"secondary_url_for_notifications": "string",
"version": "string"
},
"lifepay_auth": {
"signature": "string",
"version": "string"
},
"unified_personal_account": {
"turned_on": true,
"version": "string"
}
},
"created_at": "2024-11-18T08:30:46.530Z",
"updated_at": "2024-11-18T08:30:46.530Z",
"deleted_at": "2024-11-18T08:30:46.530Z",
"meta": "string",
"meta_data": {},
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type_of": "string"
}
{
"name": "my_name",
"alias": "my_organization",
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "0001-01-01T00:00:00Z",
"guid": "ad8e8a45-018c-42a3-9fa5-b741e6b19737",
"type_of": "Organization"
}
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"
}
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"
}