POST ValidateRegistrationForm

Request Information

URI Parameters

None.

Body Parameters

RegisterForm
NameDescriptionTypeAdditional information
ProfileId

string

None.

Email

string

Required

Phone

string

Required

LoginPhone

Phone number used for login.

string

None.

Name

string

Required

Surname

string

Required

Password

string

None.

LanguageId

integer

None.

AcceptedReg1

boolean

None.

AcceptedReg2

boolean

None.

AcceptedReg3

boolean

None.

CreateNewAccount

boolean

None.

Files

Collection of UploadFile

None.

OrganizationalUnitId

integer

None.

OfficeId

integer

None.

AdvertisementId

integer

None.

Gender

integer

None.

AccessToken

string

None.

ProviderName

string

None.

ProviderToken

string

None.

ProviderKey

string

None.

Source

string

None.

AdvertisementProviderId

integer

None.

DateOfBirth

date

None.

Consents

Collection of ConsentDto

None.

Nationalities

Collection of integer

None.

ContactNumbers

Collection of ContactNumberDto

None.

Request Formats

application/json, text/json

Sample:
{
  "profileId": "sample string 1",
  "email": "sample string 2",
  "phone": "sample string 3",
  "loginPhone": "sample string 4",
  "name": "sample string 5",
  "surname": "sample string 6",
  "password": "sample string 7",
  "languageId": 1,
  "acceptedReg1": true,
  "acceptedReg2": true,
  "acceptedReg3": true,
  "createNewAccount": true,
  "files": [
    {
      "fileName": "sample string 1",
      "content": "sample string 2",
      "overwrite": true
    },
    {
      "fileName": "sample string 1",
      "content": "sample string 2",
      "overwrite": true
    }
  ],
  "organizationalUnitId": 1,
  "officeId": 1,
  "advertisementId": 1,
  "gender": 1,
  "accessToken": "sample string 12",
  "providerName": "sample string 13",
  "providerToken": "sample string 14",
  "providerKey": "sample string 15",
  "source": "sample string 16",
  "advertisementProviderId": 1,
  "dateOfBirth": "2024-05-18T05:11:55.0780843+00:00",
  "consents": [
    {
      "consentId": 1,
      "profileId": "sample string 2",
      "consentDocumentId": 3,
      "startDate": "2024-05-18T05:11:55.0780843+00:00",
      "endDate": "2024-05-18T05:11:55.0780843+00:00"
    },
    {
      "consentId": 1,
      "profileId": "sample string 2",
      "consentDocumentId": 3,
      "startDate": "2024-05-18T05:11:55.0780843+00:00",
      "endDate": "2024-05-18T05:11:55.0780843+00:00"
    }
  ],
  "nationalities": [
    1,
    2
  ],
  "contactNumbers": [
    {
      "contactNumberId": 1,
      "typeOfContactNumberId": 2,
      "profileId": "sample string 3",
      "countryCode": "sample string 4",
      "number": "sample string 5",
      "isActive": true,
      "isConfirmed": true,
      "isPreferred": true
    },
    {
      "contactNumberId": 1,
      "typeOfContactNumberId": 2,
      "profileId": "sample string 3",
      "countryCode": "sample string 4",
      "number": "sample string 5",
      "isActive": true,
      "isConfirmed": true,
      "isPreferred": true
    }
  ]
}

multipart/form-data

Sample:
{"profileId":"sample string 1","email":"sample string 2","phone":"sample string 3","loginPhone":"sample string 4","name":"sample string 5","surname":"sample string 6","password":"sample string 7","languageId":1,"acceptedReg1":true,"acceptedReg2":true,"acceptedReg3":true,"createNewAccount":true,"files":[{"fileName":"sample string 1","content":"sample string 2","overwrite":true},{"fileName":"sample string 1","content":"sample string 2","overwrite":true}],"organizationalUnitId":1,"officeId":1,"advertisementId":1,"gender":1,"accessToken":"sample string 12","providerName":"sample string 13","providerToken":"sample string 14","providerKey":"sample string 15","source":"sample string 16","advertisementProviderId":1,"dateOfBirth":"2024-05-18T05:11:55.0780843+00:00","consents":[{"consentId":1,"profileId":"sample string 2","consentDocumentId":3,"startDate":"2024-05-18T05:11:55.0780843+00:00","endDate":"2024-05-18T05:11:55.0780843+00:00"},{"consentId":1,"profileId":"sample string 2","consentDocumentId":3,"startDate":"2024-05-18T05:11:55.0780843+00:00","endDate":"2024-05-18T05:11:55.0780843+00:00"}],"nationalities":[1,2],"contactNumbers":[{"contactNumberId":1,"typeOfContactNumberId":2,"profileId":"sample string 3","countryCode":"sample string 4","number":"sample string 5","isActive":true,"isConfirmed":true,"isPreferred":true},{"contactNumberId":1,"typeOfContactNumberId":2,"profileId":"sample string 3","countryCode":"sample string 4","number":"sample string 5","isActive":true,"isConfirmed":true,"isPreferred":true}]}

application/xml, text/xml

Sample:
<RegisterForm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ProfileId>sample string 1</ProfileId>
  <Email>sample string 2</Email>
  <Phone>sample string 3</Phone>
  <LoginPhone>sample string 4</LoginPhone>
  <Name>sample string 5</Name>
  <Surname>sample string 6</Surname>
  <Password>sample string 7</Password>
  <LanguageId>1</LanguageId>
  <AcceptedReg1>true</AcceptedReg1>
  <AcceptedReg2>true</AcceptedReg2>
  <AcceptedReg3>true</AcceptedReg3>
  <CreateNewAccount>true</CreateNewAccount>
  <Files>
    <UploadFile>
      <FileName>sample string 1</FileName>
      <Content>sample string 2</Content>
      <Overwrite>true</Overwrite>
    </UploadFile>
    <UploadFile>
      <FileName>sample string 1</FileName>
      <Content>sample string 2</Content>
      <Overwrite>true</Overwrite>
    </UploadFile>
  </Files>
  <OrganizationalUnitId>1</OrganizationalUnitId>
  <OfficeId>1</OfficeId>
  <AdvertisementId>1</AdvertisementId>
  <Gender>1</Gender>
  <AccessToken>sample string 12</AccessToken>
  <ProviderName>sample string 13</ProviderName>
  <ProviderToken>sample string 14</ProviderToken>
  <ProviderKey>sample string 15</ProviderKey>
  <Source>sample string 16</Source>
  <AdvertisementProviderId>1</AdvertisementProviderId>
  <DateOfBirth>2024-05-18T05:11:55.0780843+00:00</DateOfBirth>
  <Consents>
    <ConsentDto>
      <ConsentId>1</ConsentId>
      <ProfileId>sample string 2</ProfileId>
      <ConsentDocumentId>3</ConsentDocumentId>
      <StartDate />
      <EndDate />
    </ConsentDto>
    <ConsentDto>
      <ConsentId>1</ConsentId>
      <ProfileId>sample string 2</ProfileId>
      <ConsentDocumentId>3</ConsentDocumentId>
      <StartDate />
      <EndDate />
    </ConsentDto>
  </Consents>
  <Nationalities>
    <int>1</int>
    <int>2</int>
  </Nationalities>
  <ContactNumbers>
    <ContactNumberDto>
      <ContactNumberId>1</ContactNumberId>
      <TypeOfContactNumberId>2</TypeOfContactNumberId>
      <ProfileId>sample string 3</ProfileId>
      <CountryCode>sample string 4</CountryCode>
      <Number>sample string 5</Number>
      <IsActive>true</IsActive>
      <IsConfirmed>true</IsConfirmed>
      <IsPreferred>true</IsPreferred>
    </ContactNumberDto>
    <ContactNumberDto>
      <ContactNumberId>1</ContactNumberId>
      <TypeOfContactNumberId>2</TypeOfContactNumberId>
      <ProfileId>sample string 3</ProfileId>
      <CountryCode>sample string 4</CountryCode>
      <Number>sample string 5</Number>
      <IsActive>true</IsActive>
      <IsConfirmed>true</IsConfirmed>
      <IsPreferred>true</IsPreferred>
    </ContactNumberDto>
  </ContactNumbers>
</RegisterForm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:

Sample not available.