GET v1/Inventory/GetCustomer?customerName={customerName}

Retrieves customer details based on a partial match (LIKE statement) of the customer name.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerName

The name of the customer to search for.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerSummaryDTO
NameDescriptionTypeAdditional information
CustomerID

Gets or sets the unique identifier for the customer.

integer

None.

Name

Gets or sets the name of the customer.

string

None.

CustomerCode

Gets or sets the unique code associated with the customer.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerID": 1,
    "Name": "sample string 2",
    "CustomerCode": "sample string 3"
  },
  {
    "CustomerID": 1,
    "Name": "sample string 2",
    "CustomerCode": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerSummaryDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerSummaryDTO>
    <CustomerID>1</CustomerID>
    <Name>sample string 2</Name>
    <CustomerCode>sample string 3</CustomerCode>
    <IsExist>true</IsExist>
  </CustomerSummaryDTO>
  <CustomerSummaryDTO>
    <CustomerID>1</CustomerID>
    <Name>sample string 2</Name>
    <CustomerCode>sample string 3</CustomerCode>
    <IsExist>true</IsExist>
  </CustomerSummaryDTO>
</ArrayOfCustomerSummaryDTO>