POST api/CustomerSeller/AddEmployee

Ocakci Ekle

Request Information

URI Parameters

None.

Body Parameters

AddEmployeeInput
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Token": "sample string 3"
}

text/xml

Sample:
<AddEmployeeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <Token xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.Base.Dtos">sample string 3</Token>
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</AddEmployeeInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddEmployeeDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Username

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "9626234a-3e30-4c2d-8bde-3cf1ac489915",
  "Username": "sample string 2"
}

text/xml

Sample:
<AddEmployeeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <Id>9626234a-3e30-4c2d-8bde-3cf1ac489915</Id>
  <Username>sample string 2</Username>
</AddEmployeeDto>