GET api/customers/Single?ExternalId={ExternalId}

Get a Single customers

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ExternalId

integer

Required

Body Parameters

Response Information

Resource Description

customersresult
NameDescriptionTypeAdditional information
success

Indicates if the action was successfull

boolean

None.

remark

A description regarding the result

string

None.

customers

Returns an array of customers objects

Collection of customer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "remark": "sample string 2",
  "customers": [
    {
      "externalid": 1,
      "externalpersonid": 2,
      "locationid": 3,
      "location": "sample string 4",
      "cardnumber": "sample string 5",
      "initials": "sample string 6",
      "firstname": "sample string 7",
      "middlename": "sample string 8",
      "name": "sample string 9",
      "street": "sample string 10",
      "housenumber": "sample string 11",
      "postalcode": "sample string 12",
      "city": "sample string 13",
      "birthdate": "2024-11-24",
      "email": "sample string 14",
      "marketing": true,
      "licenceplate": "sample string 16",
      "datemodified": "2024-11-24T12:58:51.3327695+01:00",
      "group": "sample string 18",
      "lastvisit": "2024-11-24T12:58:51.3327695+01:00",
      "lastvisitlocationid": 1,
      "lastvisitlocation": "sample string 20",
      "loyaltypoints": 21.0,
      "balance": 22.0,
      "subscription": true,
      "mobilephone": "sample string 24"
    },
    {
      "externalid": 1,
      "externalpersonid": 2,
      "locationid": 3,
      "location": "sample string 4",
      "cardnumber": "sample string 5",
      "initials": "sample string 6",
      "firstname": "sample string 7",
      "middlename": "sample string 8",
      "name": "sample string 9",
      "street": "sample string 10",
      "housenumber": "sample string 11",
      "postalcode": "sample string 12",
      "city": "sample string 13",
      "birthdate": "2024-11-24",
      "email": "sample string 14",
      "marketing": true,
      "licenceplate": "sample string 16",
      "datemodified": "2024-11-24T12:58:51.3327695+01:00",
      "group": "sample string 18",
      "lastvisit": "2024-11-24T12:58:51.3327695+01:00",
      "lastvisitlocationid": 1,
      "lastvisitlocation": "sample string 20",
      "loyaltypoints": 21.0,
      "balance": 22.0,
      "subscription": true,
      "mobilephone": "sample string 24"
    }
  ]
}

application/xml, text/xml

Sample:
<customersresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API">
  <customers>
    <customer>
      <balance>22</balance>
      <birthdate>2024-11-24T12:58:51.3327695+01:00</birthdate>
      <cardnumber>sample string 5</cardnumber>
      <city>sample string 13</city>
      <datemodified>2024-11-24T12:58:51.3327695+01:00</datemodified>
      <email>sample string 14</email>
      <externalid>1</externalid>
      <externalpersonid>2</externalpersonid>
      <firstname>sample string 7</firstname>
      <group>sample string 18</group>
      <housenumber>sample string 11</housenumber>
      <initials>sample string 6</initials>
      <lastvisit>2024-11-24T12:58:51.3327695+01:00</lastvisit>
      <lastvisitlocation>sample string 20</lastvisitlocation>
      <lastvisitlocationid>1</lastvisitlocationid>
      <licenceplate>sample string 16</licenceplate>
      <location>sample string 4</location>
      <locationid>3</locationid>
      <loyaltypoints>21</loyaltypoints>
      <marketing>true</marketing>
      <middlename>sample string 8</middlename>
      <mobilephone>sample string 24</mobilephone>
      <name>sample string 9</name>
      <postalcode>sample string 12</postalcode>
      <street>sample string 10</street>
      <subscription>true</subscription>
    </customer>
    <customer>
      <balance>22</balance>
      <birthdate>2024-11-24T12:58:51.3327695+01:00</birthdate>
      <cardnumber>sample string 5</cardnumber>
      <city>sample string 13</city>
      <datemodified>2024-11-24T12:58:51.3327695+01:00</datemodified>
      <email>sample string 14</email>
      <externalid>1</externalid>
      <externalpersonid>2</externalpersonid>
      <firstname>sample string 7</firstname>
      <group>sample string 18</group>
      <housenumber>sample string 11</housenumber>
      <initials>sample string 6</initials>
      <lastvisit>2024-11-24T12:58:51.3327695+01:00</lastvisit>
      <lastvisitlocation>sample string 20</lastvisitlocation>
      <lastvisitlocationid>1</lastvisitlocationid>
      <licenceplate>sample string 16</licenceplate>
      <location>sample string 4</location>
      <locationid>3</locationid>
      <loyaltypoints>21</loyaltypoints>
      <marketing>true</marketing>
      <middlename>sample string 8</middlename>
      <mobilephone>sample string 24</mobilephone>
      <name>sample string 9</name>
      <postalcode>sample string 12</postalcode>
      <street>sample string 10</street>
      <subscription>true</subscription>
    </customer>
  </customers>
  <remark>sample string 2</remark>
  <success>true</success>
</customersresult>