POST api/OCustomerInfo/OCustomerList
Request Information
URI Parameters
None.
Body Parameters
ReadDTOOfReadOCustomerInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| data | ReadOCustomerInfo |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": {
"Status": "sample string 1",
"CustomerName": "sample string 2",
"PhoneNumber": "sample string 3",
"UserId": 4
},
"PageSize": 1,
"PageIndex": 2
}
application/xml, text/xml
Sample:
<ReadDTOOfReadOCustomerInfocc8wrA37 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:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:PhoneNumber>sample string 3</d2p1:PhoneNumber>
<d2p1:Status>sample string 1</d2p1:Status>
<d2p1:UserId>4</d2p1:UserId>
</data>
</ReadDTOOfReadOCustomerInfocc8wrA37>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultDTOOfListOfResult_OCustomerInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| data | Collection of Result_OCustomerInfo |
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": [
{
"CustomerID": 1,
"CustomerName": "sample string 2",
"PhoneNumber": "sample string 3",
"TelephoneNumber": "sample string 4",
"WechatNumber": "sample string 5",
"Email": "sample string 6",
"SpecificAddress": "sample string 7",
"StaffID": 8,
"StaffCode": "sample string 9",
"StaffName": "sample string 10",
"Status": true,
"StatusName": "sample string 12",
"CreatedDate": "sample string 13",
"CreatedName": "sample string 14",
"UpdateDate": "sample string 15",
"UpdateName": "sample string 16",
"Remarks": "sample string 17",
"o_customer_code": "sample string 18",
"contacts": "sample string 19",
"product_type_name": "sample string 20"
},
{
"CustomerID": 1,
"CustomerName": "sample string 2",
"PhoneNumber": "sample string 3",
"TelephoneNumber": "sample string 4",
"WechatNumber": "sample string 5",
"Email": "sample string 6",
"SpecificAddress": "sample string 7",
"StaffID": 8,
"StaffCode": "sample string 9",
"StaffName": "sample string 10",
"Status": true,
"StatusName": "sample string 12",
"CreatedDate": "sample string 13",
"CreatedName": "sample string 14",
"UpdateDate": "sample string 15",
"UpdateName": "sample string 16",
"Remarks": "sample string 17",
"o_customer_code": "sample string 18",
"contacts": "sample string 19",
"product_type_name": "sample string 20"
}
],
"msg": "sample string 2",
"Exception": {},
"Exception1": {},
"count": 5,
"PageSize": 6,
"PageIndex": 7
}
application/xml, text/xml
Sample:
<ResultDTOOfArrayOfResult_OCustomerInfo3G4q1gKH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
<Exception />
<Exception1 />
<PageIndex>7</PageIndex>
<PageSize>6</PageSize>
<code>1</code>
<count>5</count>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ResultModels">
<d2p1:Result_OCustomerInfo>
<d2p1:CreatedDate>sample string 13</d2p1:CreatedDate>
<d2p1:CreatedName>sample string 14</d2p1:CreatedName>
<d2p1:CustomerID>1</d2p1:CustomerID>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:Email>sample string 6</d2p1:Email>
<d2p1:PhoneNumber>sample string 3</d2p1:PhoneNumber>
<d2p1:Remarks>sample string 17</d2p1:Remarks>
<d2p1:SpecificAddress>sample string 7</d2p1:SpecificAddress>
<d2p1:StaffCode>sample string 9</d2p1:StaffCode>
<d2p1:StaffID>8</d2p1:StaffID>
<d2p1:StaffName>sample string 10</d2p1:StaffName>
<d2p1:Status>true</d2p1:Status>
<d2p1:StatusName>sample string 12</d2p1:StatusName>
<d2p1:TelephoneNumber>sample string 4</d2p1:TelephoneNumber>
<d2p1:UpdateDate>sample string 15</d2p1:UpdateDate>
<d2p1:UpdateName>sample string 16</d2p1:UpdateName>
<d2p1:WechatNumber>sample string 5</d2p1:WechatNumber>
<d2p1:contacts>sample string 19</d2p1:contacts>
<d2p1:o_customer_code>sample string 18</d2p1:o_customer_code>
<d2p1:product_type_name>sample string 20</d2p1:product_type_name>
</d2p1:Result_OCustomerInfo>
<d2p1:Result_OCustomerInfo>
<d2p1:CreatedDate>sample string 13</d2p1:CreatedDate>
<d2p1:CreatedName>sample string 14</d2p1:CreatedName>
<d2p1:CustomerID>1</d2p1:CustomerID>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:Email>sample string 6</d2p1:Email>
<d2p1:PhoneNumber>sample string 3</d2p1:PhoneNumber>
<d2p1:Remarks>sample string 17</d2p1:Remarks>
<d2p1:SpecificAddress>sample string 7</d2p1:SpecificAddress>
<d2p1:StaffCode>sample string 9</d2p1:StaffCode>
<d2p1:StaffID>8</d2p1:StaffID>
<d2p1:StaffName>sample string 10</d2p1:StaffName>
<d2p1:Status>true</d2p1:Status>
<d2p1:StatusName>sample string 12</d2p1:StatusName>
<d2p1:TelephoneNumber>sample string 4</d2p1:TelephoneNumber>
<d2p1:UpdateDate>sample string 15</d2p1:UpdateDate>
<d2p1:UpdateName>sample string 16</d2p1:UpdateName>
<d2p1:WechatNumber>sample string 5</d2p1:WechatNumber>
<d2p1:contacts>sample string 19</d2p1:contacts>
<d2p1:o_customer_code>sample string 18</d2p1:o_customer_code>
<d2p1:product_type_name>sample string 20</d2p1:product_type_name>
</d2p1:Result_OCustomerInfo>
</data>
<msg>sample string 2</msg>
</ResultDTOOfArrayOfResult_OCustomerInfo3G4q1gKH>