POST api/Custmoer/AddPost

Request Information

URI Parameters

None.

Body Parameters

AddCustomerVModel
NameDescriptionTypeAdditional information
CustomerName

string

None.

MainPhone

string

None.

Phones

string

None.

IsNewHouse

boolean

None.

DemandLevel

globally unique identifier

None.

AreaID

string

None.

DistrictID

globally unique identifier

None.

CustomerTypeId

integer

None.

IntentPropertyID

string

None.

Source

globally unique identifier

None.

MaxBuidingArea

integer

None.

MinBuidingArea

integer

None.

MaxPrice

decimal number

None.

MinPrice

decimal number

None.

MaxRoomNum

byte

None.

MinRoomNum

byte

None.

PayRent

byte

None.

UsesType

globally unique identifier

None.

ThreeNothing

string

None.

Remark

string

None.

HomeAppliances

string

None.

Furniture

string

None.

AppID

string

None.

AuxiliaryID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerName": "sample string 1",
  "MainPhone": "sample string 2",
  "Phones": "sample string 3",
  "IsNewHouse": true,
  "DemandLevel": "7763800e-73fe-4b09-8777-c5389552f6c6",
  "AreaID": "sample string 6",
  "DistrictID": "2da16e21-c667-438a-b0c9-569e69a79056",
  "CustomerTypeId": 8,
  "IntentPropertyID": "sample string 9",
  "Source": "3c6bd33a-e161-4d13-b70b-a24e055c4f7d",
  "MaxBuidingArea": 11,
  "MinBuidingArea": 12,
  "MaxPrice": 13.0,
  "MinPrice": 14.0,
  "MaxRoomNum": 64,
  "MinRoomNum": 64,
  "PayRent": 64,
  "UsesType": "f75aa534-7532-4279-abd4-85d678d3dcad",
  "ThreeNothing": "sample string 19",
  "Remark": "sample string 20",
  "HomeAppliances": "sample string 21",
  "Furniture": "sample string 22",
  "AppID": "sample string 23",
  "AuxiliaryID": "f891b1f8-7505-4669-bd44-f3595d1a05d1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.