POST api/Authentication/Register

Musteri Kayit

Request Information

URI Parameters

None.

Body Parameters

RegisterCustomerInput
NameDescriptionTypeAdditional information
CustomerId

string

None.

Type

CustomerType

None.

Name

string

None.

LastName

string

None.

CompanyName

string

None.

Email

string

None.

Password

string

None.

Phone

string

None.

CityId

integer

None.

DistrictId

integer

None.

Address

string

None.

TaxName

string

None.

TaxNo

string

None.

Gender

integer

None.

BirthDate

date

None.

DeviceType

integer

None.

UserDeviceType

integer

None.

DeviceId

string

None.

Latitude

string

None.

Longitude

string

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "sample string 1",
  "Type": 1,
  "Name": "sample string 2",
  "LastName": "sample string 3",
  "CompanyName": "sample string 4",
  "Email": "sample string 5",
  "Password": "sample string 6",
  "Phone": "sample string 7",
  "CityId": 1,
  "DistrictId": 1,
  "Address": "sample string 8",
  "TaxName": "sample string 9",
  "TaxNo": "sample string 10",
  "Gender": 1,
  "BirthDate": "27.01.2026",
  "DeviceType": 1,
  "UserDeviceType": 11,
  "DeviceId": "sample string 12",
  "Latitude": "sample string 13",
  "Longitude": "sample string 14",
  "Status": 15
}

text/xml

Sample:
<RegisterCustomerInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <Address>sample string 8</Address>
  <BirthDate>2026-01-27T04:35:31.5683626+03:00</BirthDate>
  <CityId>1</CityId>
  <CompanyName>sample string 4</CompanyName>
  <CustomerId>sample string 1</CustomerId>
  <DeviceId>sample string 12</DeviceId>
  <DeviceType>1</DeviceType>
  <DistrictId>1</DistrictId>
  <Email>sample string 5</Email>
  <Gender>1</Gender>
  <LastName>sample string 3</LastName>
  <Latitude>sample string 13</Latitude>
  <Longitude>sample string 14</Longitude>
  <Name>sample string 2</Name>
  <Password>sample string 6</Password>
  <Phone>sample string 7</Phone>
  <Status>15</Status>
  <TaxName>sample string 9</TaxName>
  <TaxNo>sample string 10</TaxNo>
  <Type>Seller</Type>
  <UserDeviceType>11</UserDeviceType>
</RegisterCustomerInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RegisterCustomerDto
NameDescriptionTypeAdditional information
Type

integer

None.

Token

string

None.

Name

string

None.

LastName

string

None.

CompanyName

string

None.

IsEnterprise

boolean

None.

CustomerId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "Token": "sample string 2",
  "Name": "sample string 3",
  "LastName": "sample string 4",
  "CompanyName": "sample string 5",
  "IsEnterprise": true,
  "CustomerId": "e724d0cb-3c63-45dd-85fb-cfe097957020"
}

text/xml

Sample:
<RegisterCustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <CompanyName>sample string 5</CompanyName>
  <CustomerId>e724d0cb-3c63-45dd-85fb-cfe097957020</CustomerId>
  <IsEnterprise>true</IsEnterprise>
  <LastName>sample string 4</LastName>
  <Name>sample string 3</Name>
  <Token>sample string 2</Token>
  <Type>1</Type>
</RegisterCustomerDto>