POST api/v1/{appId}/accounts
HTTP post Регистрация пользователя
URI ïàðàìåòðû
Name | Description | Type | Additional information |
---|---|---|---|
appId | string |
Required |
Body Parameters
AccountRegistrationModelName | Description | Type | Additional information |
---|---|---|---|
|
string |
Required Matching regular expression pattern: ^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$ |
|
Password |
Пароль |
string |
Required |
SubscriptionId |
Id подписки/тарифа |
globally unique identifier |
None. |
SubscriptionActivationDate |
Дата активации подписки. При передачи null - подписка будет активирована с момента отправки запроса |
date |
None. |
Ôîðìàòû çàïðîñîâ
application/json, text/json
Ïðèìåð:
{ "Email": "sample string 1", "Password": "sample string 2", "SubscriptionId": "9d257b0f-e8c2-4eec-8710-e0254f9937e6", "SubscriptionActivationDate": "2025-03-16T09:24:08.9080986+00:00" }
application/xml, text/xml
Ïðèìåð:
<AccountRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Pactum"> <Email>sample string 1</Email> <Password>sample string 2</Password> <SubscriptionActivationDate>2025-03-16T09:24:08.9080986+00:00</SubscriptionActivationDate> <SubscriptionId>9d257b0f-e8c2-4eec-8710-e0254f9937e6</SubscriptionId> </AccountRegistration>
application/x-www-form-urlencoded
Ïðèìåð:
Sample not available.
Response Information
Resource Description
HTTP post Регистрация пользователя
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |