GET api/v1/Customer/AllCustomers

Query customer information for all Neutral Fuels customers.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CustomerObjs
NameDescriptionTypeAdditional information
customers

Collection of api_getcustomers_Result

None.

Response Formats

application/json, text/json

Sample:
{
  "customers": [
    {
      "customerid": "f7b9141b-eca5-4169-9b1a-bc2fa7bb3d22",
      "customername": "sample string 2",
      "emailaddress": "sample string 3",
      "CountryISO": "sample string 4",
      "CountryId": 1,
      "siteid": "893ddfd1-64c9-4755-98ce-7908532ac0cb",
      "isrocsystemuser": true,
      "iscollector": true
    },
    {
      "customerid": "f7b9141b-eca5-4169-9b1a-bc2fa7bb3d22",
      "customername": "sample string 2",
      "emailaddress": "sample string 3",
      "CountryISO": "sample string 4",
      "CountryId": 1,
      "siteid": "893ddfd1-64c9-4755-98ce-7908532ac0cb",
      "isrocsystemuser": true,
      "iscollector": true
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerObjs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_api.Controllers">
  <customers xmlns:d2p1="http://schemas.datacontract.org/2004/07/NFuels_Database.database.portal">
    <d2p1:api_getcustomers_Result>
      <d2p1:CountryISO>sample string 4</d2p1:CountryISO>
      <d2p1:CountryId>1</d2p1:CountryId>
      <d2p1:customerid>f7b9141b-eca5-4169-9b1a-bc2fa7bb3d22</d2p1:customerid>
      <d2p1:customername>sample string 2</d2p1:customername>
      <d2p1:emailaddress>sample string 3</d2p1:emailaddress>
      <d2p1:iscollector>true</d2p1:iscollector>
      <d2p1:isrocsystemuser>true</d2p1:isrocsystemuser>
      <d2p1:siteid>893ddfd1-64c9-4755-98ce-7908532ac0cb</d2p1:siteid>
    </d2p1:api_getcustomers_Result>
    <d2p1:api_getcustomers_Result>
      <d2p1:CountryISO>sample string 4</d2p1:CountryISO>
      <d2p1:CountryId>1</d2p1:CountryId>
      <d2p1:customerid>f7b9141b-eca5-4169-9b1a-bc2fa7bb3d22</d2p1:customerid>
      <d2p1:customername>sample string 2</d2p1:customername>
      <d2p1:emailaddress>sample string 3</d2p1:emailaddress>
      <d2p1:iscollector>true</d2p1:iscollector>
      <d2p1:isrocsystemuser>true</d2p1:isrocsystemuser>
      <d2p1:siteid>893ddfd1-64c9-4755-98ce-7908532ac0cb</d2p1:siteid>
    </d2p1:api_getcustomers_Result>
  </customers>
</CustomerObjs>