POST Customer/AlphaSearch/{dataSource}/{partnerName}/{userAndSessionId}

Using POST instead of GET because get-with-body not supported by all frameworks

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dataSource

DataSourceEnum

Required

partnerName

string

Required

userAndSessionId

string

Required

Body Parameters

SearchHeadInput
NameDescriptionTypeAdditional information
alfaSearch

Phonenumber, email or name for customer search

string

None.

customerSearchCtiterias

Input : Optional / advanced or second try searches Output : Search criterias used, normally by evalutaing alfaSearch and returned as last row from sql function

CustomerSearchCriterias

None.

Request Formats

application/json, text/json

Sample:
{
  "alfaSearch": "sample string 1",
  "customerSearchCtiterias": {
    "objectShortName": "sample string 1",
    "firstname": "sample string 2",
    "lastName": "sample string 3",
    "socialSecurityNumber": "sample string 4",
    "phoneNumber": "sample string 5",
    "email": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<SearchHeadInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HeimModelCustomerApi">
  <alfaSearch>sample string 1</alfaSearch>
  <customerSearchCtiterias>
    <email>sample string 6</email>
    <firstname>sample string 2</firstname>
    <lastName>sample string 3</lastName>
    <objectShortName>sample string 1</objectShortName>
    <phoneNumber>sample string 5</phoneNumber>
    <socialSecurityNumber>sample string 4</socialSecurityNumber>
  </customerSearchCtiterias>
</SearchHeadInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SearchHeadRetur
NameDescriptionTypeAdditional information
dataSource

DataSourceEnum

None.

customerResultList

Customers found

Collection of CustomerMidleLayerApi2

None.

alfaSearch

Phonenumber, email or name for customer search

string

None.

customerSearchCtiterias

Input : Optional / advanced or second try searches Output : Search criterias used, normally by evalutaing alfaSearch and returned as last row from sql function

CustomerSearchCriterias

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.