POST api/Customer
Request Information
URI Parameters
None.
Body Parameters
CustomerEnt| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyID | string |
None. |
|
| CustomerID | string |
None. |
|
| Customer | string |
None. |
|
| Sex | string |
None. |
|
| OpenId | string |
None. |
|
| NickName | string |
None. |
|
| Mobile | string |
None. |
|
| CustomerTypeID | integer |
None. |
|
| UserAvatarUrl | string |
None. |
|
| GradeName | string |
None. |
|
| VIPValidity | string |
None. |
|
| SumPoints | integer |
None. |
|
| CardUserQty | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyID": "sample string 1",
"CustomerID": "sample string 2",
"Customer": "sample string 3",
"Sex": "sample string 4",
"OpenId": "sample string 5",
"NickName": "sample string 6",
"Mobile": "sample string 7",
"CustomerTypeID": 8,
"UserAvatarUrl": "sample string 9",
"GradeName": "sample string 10",
"VIPValidity": "sample string 11",
"SumPoints": 12,
"CardUserQty": 13
}
application/xml, text/xml
Sample:
<CustomerEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WxApi.Models"> <CardUserQty>13</CardUserQty> <CompanyID>sample string 1</CompanyID> <Customer>sample string 3</Customer> <CustomerID>sample string 2</CustomerID> <CustomerTypeID>8</CustomerTypeID> <GradeName>sample string 10</GradeName> <Mobile>sample string 7</Mobile> <NickName>sample string 6</NickName> <OpenId>sample string 5</OpenId> <Sex>sample string 4</Sex> <SumPoints>12</SumPoints> <UserAvatarUrl>sample string 9</UserAvatarUrl> <VIPValidity>sample string 11</VIPValidity> </CustomerEnt>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>