GET api/BasCustomer/CheckCustomerCode?customerCode={customerCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerCode

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ReturnResultOfEntBasCustomer
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

EntBasCustomer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": {
    "customerCode": "sample string 1",
    "customerNameCn": "sample string 2",
    "customerType": "sample string 3",
    "customerEN": "sample string 4",
    "country": "sample string 5",
    "province": "sample string 6",
    "postcode": "sample string 7",
    "city": "sample string 8",
    "addressCn": "sample string 9",
    "phone": "sample string 10",
    "fax": "sample string 11",
    "homePage": "sample string 12",
    "financialCode": "sample string 13",
    "ediCode": "sample string 14",
    "serviceMan": "sample string 15",
    "businessMan": "sample string 16",
    "defaultPackage": "sample string 17",
    "defaultProperty": "sample string 18",
    "checkFlag": "sample string 19",
    "creditCode": "sample string 20",
    "curr": "sample string 21",
    "createTime": "2024-11-21 16:40:25",
    "createBy": "sample string 22",
    "editTime": "2024-11-21 16:40:25",
    "editBy": "sample string 23",
    "shortName": "sample string 24",
    "usd1": "sample string 25",
    "usd2": "sample string 26",
    "usd3": "sample string 27",
    "usd4": "sample string 28",
    "usd5": "sample string 29",
    "companyOf": "sample string 30",
    "addressEn": "sample string 31",
    "id": 32,
    "shortEnName": "sample string 33",
    "email": "sample string 34",
    "specialRelation": "sample string 35",
    "specialPrice": "sample string 36",
    "specialRight": "sample string 37",
    "payMethodFlag": "sample string 38",
    "description": "sample string 39",
    "pageSize": 40,
    "pageIndex": 41,
    "totalCount": 42
  },
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<ReturnResultOfEntBasCustomerJWrFJ9jl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data>
    <PageIndex>41</PageIndex>
    <PageSize>40</PageSize>
    <TotalCount>42</TotalCount>
    <AddressCn>sample string 9</AddressCn>
    <AddressEn>sample string 31</AddressEn>
    <BusinessMan>sample string 16</BusinessMan>
    <CheckFlag>sample string 19</CheckFlag>
    <City>sample string 8</City>
    <CompanyOf>sample string 30</CompanyOf>
    <Country>sample string 5</Country>
    <CreateBy>sample string 22</CreateBy>
    <CreateTime>2024-11-21T16:40:25.8138997+08:00</CreateTime>
    <CreditCode>sample string 20</CreditCode>
    <Curr>sample string 21</Curr>
    <CustomerCode>sample string 1</CustomerCode>
    <CustomerEN>sample string 4</CustomerEN>
    <CustomerNameCn>sample string 2</CustomerNameCn>
    <CustomerType>sample string 3</CustomerType>
    <DefaultPackage>sample string 17</DefaultPackage>
    <DefaultProperty>sample string 18</DefaultProperty>
    <Description>sample string 39</Description>
    <EDICode>sample string 14</EDICode>
    <EditBy>sample string 23</EditBy>
    <EditTime>2024-11-21T16:40:25.8138997+08:00</EditTime>
    <Email>sample string 34</Email>
    <Fax>sample string 11</Fax>
    <FinancialCode>sample string 13</FinancialCode>
    <HomePage>sample string 12</HomePage>
    <Id>32</Id>
    <PayMethodFlag>sample string 38</PayMethodFlag>
    <Phone>sample string 10</Phone>
    <Postcode>sample string 7</Postcode>
    <Province>sample string 6</Province>
    <ServiceMan>sample string 15</ServiceMan>
    <ShortEnName>sample string 33</ShortEnName>
    <ShortName>sample string 24</ShortName>
    <SpecialPrice>sample string 36</SpecialPrice>
    <SpecialRelation>sample string 35</SpecialRelation>
    <SpecialRight>sample string 37</SpecialRight>
    <Usd1>sample string 25</Usd1>
    <Usd2>sample string 26</Usd2>
    <Usd3>sample string 27</Usd3>
    <Usd4>sample string 28</Usd4>
    <Usd5>sample string 29</Usd5>
  </Data>
  <Message>sample string 3</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfEntBasCustomerJWrFJ9jl>