POST api/ServiceUser/Register

Request Information

URI Parameters

None.

Body Parameters

ServiceUserRegistrationDto
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

LastName

string

None.

ShopKey

string

None.

Email

string

None.

Phone

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "ShopKey": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "Password": "sample string 7"
}

application/xml, text/xml

Sample:
<ServiceUserRegistrationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Email>sample string 5</Email>
  <FirstName>sample string 2</FirstName>
  <Id>1</Id>
  <LastName>sample string 3</LastName>
  <Password>sample string 7</Password>
  <Phone>sample string 6</Phone>
  <ShopKey>sample string 4</ShopKey>
</ServiceUserRegistrationDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>