GET customers/level/{levelID}

Retrieve all Customers for one Level. Roles: ApiRole+DealerRole/FreeRole

Request Information

URI Parameters

NameDescriptionTypeAdditional information
levelID

Specific DealerID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns all customers under specific DealerID as queryable object.

Collection of Customer
NameDescriptionTypeAdditional information
CustomerID

CustomerID or AccountID of the customer/account.

integer

None.

Name

Customer name.

string

None.

JAName

Customer's JetAdvice account name.

string

None.

CreatedDate

Customer created date.

date

None.

BillingStart

Customer Billing start date.

date

None.

BillingEnd

Customer Billing end date

date

None.

LevelID

Customer Level or Dealer ID

integer

None.

ContractID

Customer ContractID. Could be used to map JA Customer ID with Client Contract ID.

string

None.

DataFieldValues

Customer DataField values, if any.

Collection of DataFieldValue

None.

Comment

Customer comment.

string

None.

NewDeviceBehavior

Customer NewDeviceBehavior. MANAGED by default.

NewDeviceBehavior

None.

StatusMessage

Customer status message.

string

None.

StatusCode

Customer status code.

CustomerStatusCode

None.

StatusFromUsername

Username who put the status message.

string

None.

StatusFromDate

Date on which status message was entered.

date

None.

MonoPageCost

Account Mono page cost

decimal number

None.

ColorPageCost

Account Color page cost

decimal number

None.

LastCollect

Last collected datetime on the account.

date

None.

LogoUrl

Logo url

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerID": 1,
    "Name": "sample string 2",
    "JAName": "sample string 3",
    "CreatedDate": "2018-05-24T17:49:10.945585+00:00",
    "BillingStart": "2018-05-24T17:49:10.945585+00:00",
    "BillingEnd": "2018-05-24T17:49:10.945585+00:00",
    "LevelID": 5,
    "ContractID": "sample string 6",
    "DataFieldValues": [
      {
        "DataFieldName": "sample string 1",
        "VD": 1.1,
        "VS": "sample string 2",
        "VT": "2018-05-24T17:49:10.945585+00:00"
      },
      {
        "DataFieldName": "sample string 1",
        "VD": 1.1,
        "VS": "sample string 2",
        "VT": "2018-05-24T17:49:10.945585+00:00"
      }
    ],
    "Comment": "sample string 7",
    "NewDeviceBehavior": "Managed",
    "StatusMessage": "sample string 8",
    "StatusCode": "Created",
    "StatusFromUsername": "sample string 9",
    "StatusFromDate": "2018-05-24T17:49:10.945585+00:00",
    "MonoPageCost": 1.1,
    "ColorPageCost": 1.1,
    "LastCollect": "2018-05-24T17:49:10.945585+00:00",
    "LogoUrl": "sample string 11"
  },
  {
    "CustomerID": 1,
    "Name": "sample string 2",
    "JAName": "sample string 3",
    "CreatedDate": "2018-05-24T17:49:10.945585+00:00",
    "BillingStart": "2018-05-24T17:49:10.945585+00:00",
    "BillingEnd": "2018-05-24T17:49:10.945585+00:00",
    "LevelID": 5,
    "ContractID": "sample string 6",
    "DataFieldValues": [
      {
        "DataFieldName": "sample string 1",
        "VD": 1.1,
        "VS": "sample string 2",
        "VT": "2018-05-24T17:49:10.945585+00:00"
      },
      {
        "DataFieldName": "sample string 1",
        "VD": 1.1,
        "VS": "sample string 2",
        "VT": "2018-05-24T17:49:10.945585+00:00"
      }
    ],
    "Comment": "sample string 7",
    "NewDeviceBehavior": "Managed",
    "StatusMessage": "sample string 8",
    "StatusCode": "Created",
    "StatusFromUsername": "sample string 9",
    "StatusFromDate": "2018-05-24T17:49:10.945585+00:00",
    "MonoPageCost": 1.1,
    "ColorPageCost": 1.1,
    "LastCollect": "2018-05-24T17:49:10.945585+00:00",
    "LogoUrl": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Customer>
    <CustomerID>1</CustomerID>
    <Name>sample string 2</Name>
    <JAName>sample string 3</JAName>
    <CreatedDate>2018-05-24T17:49:10.945585+00:00</CreatedDate>
    <BillingStart>2018-05-24T17:49:10.945585+00:00</BillingStart>
    <BillingEnd>2018-05-24T17:49:10.945585+00:00</BillingEnd>
    <LevelID>5</LevelID>
    <ContractID>sample string 6</ContractID>
    <DataFieldValues>
      <DataFieldValue>
        <DataFieldName>sample string 1</DataFieldName>
        <VD>1.1</VD>
        <VS>sample string 2</VS>
        <VT>2018-05-24T17:49:10.945585+00:00</VT>
      </DataFieldValue>
      <DataFieldValue>
        <DataFieldName>sample string 1</DataFieldName>
        <VD>1.1</VD>
        <VS>sample string 2</VS>
        <VT>2018-05-24T17:49:10.945585+00:00</VT>
      </DataFieldValue>
    </DataFieldValues>
    <Comment>sample string 7</Comment>
    <NewDeviceBehavior>Managed</NewDeviceBehavior>
    <StatusMessage>sample string 8</StatusMessage>
    <StatusCode>Created</StatusCode>
    <StatusFromUsername>sample string 9</StatusFromUsername>
    <StatusFromDate>2018-05-24T17:49:10.945585+00:00</StatusFromDate>
    <MonoPageCost>1.1</MonoPageCost>
    <ColorPageCost>1.1</ColorPageCost>
    <LastCollect>2018-05-24T17:49:10.945585+00:00</LastCollect>
    <LogoUrl>sample string 11</LogoUrl>
  </Customer>
  <Customer>
    <CustomerID>1</CustomerID>
    <Name>sample string 2</Name>
    <JAName>sample string 3</JAName>
    <CreatedDate>2018-05-24T17:49:10.945585+00:00</CreatedDate>
    <BillingStart>2018-05-24T17:49:10.945585+00:00</BillingStart>
    <BillingEnd>2018-05-24T17:49:10.945585+00:00</BillingEnd>
    <LevelID>5</LevelID>
    <ContractID>sample string 6</ContractID>
    <DataFieldValues>
      <DataFieldValue>
        <DataFieldName>sample string 1</DataFieldName>
        <VD>1.1</VD>
        <VS>sample string 2</VS>
        <VT>2018-05-24T17:49:10.945585+00:00</VT>
      </DataFieldValue>
      <DataFieldValue>
        <DataFieldName>sample string 1</DataFieldName>
        <VD>1.1</VD>
        <VS>sample string 2</VS>
        <VT>2018-05-24T17:49:10.945585+00:00</VT>
      </DataFieldValue>
    </DataFieldValues>
    <Comment>sample string 7</Comment>
    <NewDeviceBehavior>Managed</NewDeviceBehavior>
    <StatusMessage>sample string 8</StatusMessage>
    <StatusCode>Created</StatusCode>
    <StatusFromUsername>sample string 9</StatusFromUsername>
    <StatusFromDate>2018-05-24T17:49:10.945585+00:00</StatusFromDate>
    <MonoPageCost>1.1</MonoPageCost>
    <ColorPageCost>1.1</ColorPageCost>
    <LastCollect>2018-05-24T17:49:10.945585+00:00</LastCollect>
    <LogoUrl>sample string 11</LogoUrl>
  </Customer>
</ArrayOfCustomer>