POST account/employeeRegister

Request Information

URI Parameters

None.

Body Parameters

employeeRegisterModel
Name Description Type Additional information
name

string

Required

Max length: 64

lastname

string

Required

Max length: 64

officialNo

integer (Int64)

Required

birthDate

date

Required

email

string

Required

Max length: 64

password

string

Required

Max length: 16

passwordConfirm

string

Required

Max length: 16

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "lastname": "sample string 2",
  "officialNo": 3,
  "birthDate": "2024-05-05T08:57:36.9531442+03:00",
  "email": "sample string 5",
  "password": "sample string 6",
  "passwordConfirm": "sample string 7"
}

application/xml, text/xml

Sample:
<employeeRegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <birthDate>2024-05-05T08:57:36.9531442+03:00</birthDate>
  <email>sample string 5</email>
  <lastname>sample string 2</lastname>
  <name>sample string 1</name>
  <officialNo>3</officialNo>
  <password>sample string 6</password>
  <passwordConfirm>sample string 7</passwordConfirm>
</employeeRegisterModel>

multipart/form-data

Sample:
<employeeRegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><birthDate>2024-05-05T08:57:36.9531442+03:00</birthDate><email>sample string 5</email><lastname>sample string 2</lastname><name>sample string 1</name><officialNo>3</officialNo><password>sample string 6</password><passwordConfirm>sample string 7</passwordConfirm></employeeRegisterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

employerLoginModel
Name Description Type Additional information
id

integer (Int32)

None.

email

string

None.

firmName

string

None.

image

string

None.

token

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "email": "sample string 2",
  "firmName": "sample string 3",
  "image": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<employerLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <email>sample string 2</email>
  <firmName>sample string 3</firmName>
  <id>1</id>
  <image>sample string 4</image>
  <token>sample string 5</token>
</employerLoginModel>

multipart/form-data

Sample:
<employerLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><email>sample string 2</email><firmName>sample string 3</firmName><id>1</id><image>sample string 4</image><token>sample string 5</token></employerLoginModel>