POST api/OCustomerInfo/SaveOCustomerInfo
Request Information
URI Parameters
None.
Body Parameters
ReadDTOOfReadSaveOCustomerInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| data | ReadSaveOCustomerInfo |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": {
"CustomerID": 1,
"CustomerName": "sample string 2",
"PhoneNumber": "sample string 3",
"WechatNumber": "sample string 4",
"Email": "sample string 5",
"SpecificAddress": "sample string 6",
"Status": "sample string 7",
"AccountNumber": "sample string 8",
"Remarks": "sample string 9",
"contacts": "sample string 10",
"UserId": 11
},
"PageSize": 1,
"PageIndex": 2
}
application/xml, text/xml
Sample:
<ReadDTOOfReadSaveOCustomerInfocc8wrA37 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
<PageIndex>2</PageIndex>
<PageSize>1</PageSize>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ReadModels">
<d2p1:AccountNumber>sample string 8</d2p1:AccountNumber>
<d2p1:CustomerID>1</d2p1:CustomerID>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:Email>sample string 5</d2p1:Email>
<d2p1:PhoneNumber>sample string 3</d2p1:PhoneNumber>
<d2p1:Remarks>sample string 9</d2p1:Remarks>
<d2p1:SpecificAddress>sample string 6</d2p1:SpecificAddress>
<d2p1:Status>sample string 7</d2p1:Status>
<d2p1:UserId>11</d2p1:UserId>
<d2p1:WechatNumber>sample string 4</d2p1:WechatNumber>
<d2p1:contacts>sample string 10</d2p1:contacts>
</data>
</ReadDTOOfReadSaveOCustomerInfocc8wrA37>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultDTOOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| data | Object |
None. |
|
| msg | string |
None. |
|
| Exception | Object |
None. |
|
| Exception1 | Object |
None. |
|
| count | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"data": {},
"msg": "sample string 3",
"Exception": {},
"Exception1": {},
"count": 6,
"PageSize": 7,
"PageIndex": 8
}
application/xml, text/xml
Sample:
<ResultDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models"> <Exception /> <Exception1 /> <PageIndex>8</PageIndex> <PageSize>7</PageSize> <code>1</code> <count>6</count> <data /> <msg>sample string 3</msg> </ResultDTOOfanyType>