POST api/v1/{appId}/accounts

HTTP post Регистрация пользователя

URI ïàðàìåòðû

NameDescriptionTypeAdditional information
appId

string

Required

Body Parameters

AccountRegistrationModel
NameDescriptionTypeAdditional information
Email

Email

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": "9b5a0ada-46b6-44c6-9709-463b2b93891e",
  "SubscriptionActivationDate": "2024-04-04T18:53:46.2423402+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>2024-04-04T18:53:46.2423402+00:00</SubscriptionActivationDate>
  <SubscriptionId>9b5a0ada-46b6-44c6-9709-463b2b93891e</SubscriptionId>
</AccountRegistration>

application/x-www-form-urlencoded

Ïðèìåð:

Sample not available.

Response Information

Resource Description

HTTP post Регистрация пользователя

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.