POST api/my/basura/mobile/customers

Request Information

URI Parameters

None.

Body Parameters

CustomersCreateDTO
NameDescriptionTypeAdditional information
image

string

None.

firstname

string

None.

lastname

string

None.

email

string

None.

password

string

None.

contactnumber

string

None.

type

string

None.

bxcardno

string

None.

bxcardimagefront

string

None.

bxcardimageback

string

None.

deviceid

string

None.

termscondition

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "image": "sample string 1",
  "firstname": "sample string 2",
  "lastname": "sample string 3",
  "email": "sample string 4",
  "password": "sample string 5",
  "contactnumber": "sample string 6",
  "type": "sample string 7",
  "bxcardno": "sample string 8",
  "bxcardimagefront": "sample string 9",
  "bxcardimageback": "sample string 10",
  "deviceid": "sample string 11",
  "termscondition": true
}

application/xml, text/xml

Sample:
<CustomersCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <bxcardimageback>sample string 10</bxcardimageback>
  <bxcardimagefront>sample string 9</bxcardimagefront>
  <bxcardno>sample string 8</bxcardno>
  <contactnumber>sample string 6</contactnumber>
  <deviceid>sample string 11</deviceid>
  <email>sample string 4</email>
  <firstname>sample string 2</firstname>
  <image>sample string 1</image>
  <lastname>sample string 3</lastname>
  <password>sample string 5</password>
  <termscondition>true</termscondition>
  <type>sample string 7</type>
</CustomersCreateDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomersCreateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.