POST api/services/weshop/enrollersearch

Request Information

URI Parameters

None.

Body Parameters

WeShopEnrollerSearchRequestDto
NameDescriptionTypeAdditional information
Phone

string

None.

localization

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "localization": "sample string 2"
}

application/xml, text/xml

Sample:
<WeShopEnrollerSearchRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neora.Services.Model.DTO">
  <localization>sample string 2</localization>
  <Phone>sample string 1</Phone>
</WeShopEnrollerSearchRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WeShopEnrollerSearchResponseDto
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

CustomerID

integer

None.

IsSuccess

boolean

None.

Message

string

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "Messages": [
    {
      "code": 1,
      "message": "sample string 2"
    },
    {
      "code": 1,
      "message": "sample string 2"
    }
  ],
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "CustomerID": 3,
  "IsSuccess": true,
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<WeShopEnrollerSearchResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neora.Services.Model.DTO">
  <CustomerID>3</CustomerID>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 5</Message>
  <Messages>
    <ErrorMessage>
      <code>1</code>
      <message>sample string 2</message>
    </ErrorMessage>
    <ErrorMessage>
      <code>1</code>
      <message>sample string 2</message>
    </ErrorMessage>
  </Messages>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
</WeShopEnrollerSearchResponseDto>