GET customers/{customerID}

Retrieve one Customer. Roles: ApiRole/FreeRole

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerID

Specific customer ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Customer object.

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-08-18T15:52:58.7436965+00:00",
  "BillingStart": "2018-08-18T15:52:58.7436965+00:00",
  "BillingEnd": "2018-08-18T15:52:58.7436965+00:00",
  "LevelID": 5,
  "ContractID": "sample string 6",
  "DataFieldValues": [
    {
      "DataFieldName": "sample string 1",
      "VD": 1.1,
      "VS": "sample string 2",
      "VT": "2018-08-18T15:52:58.7436965+00:00"
    },
    {
      "DataFieldName": "sample string 1",
      "VD": 1.1,
      "VS": "sample string 2",
      "VT": "2018-08-18T15:52:58.7436965+00:00"
    }
  ],
  "Comment": "sample string 7",
  "NewDeviceBehavior": "Managed",
  "StatusMessage": "sample string 8",
  "StatusCode": "Created",
  "StatusFromUsername": "sample string 9",
  "StatusFromDate": "2018-08-18T15:52:58.7436965+00:00",
  "MonoPageCost": 1.1,
  "ColorPageCost": 1.1,
  "LastCollect": "2018-08-18T15:52:58.7436965+00:00",
  "LogoUrl": "sample string 11"
}

application/xml, text/xml

Sample:
<Customer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerID>1</CustomerID>
  <Name>sample string 2</Name>
  <JAName>sample string 3</JAName>
  <CreatedDate>2018-08-18T15:52:58.7436965+00:00</CreatedDate>
  <BillingStart>2018-08-18T15:52:58.7436965+00:00</BillingStart>
  <BillingEnd>2018-08-18T15:52:58.7436965+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-08-18T15:52:58.7436965+00:00</VT>
    </DataFieldValue>
    <DataFieldValue>
      <DataFieldName>sample string 1</DataFieldName>
      <VD>1.1</VD>
      <VS>sample string 2</VS>
      <VT>2018-08-18T15:52:58.7436965+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-08-18T15:52:58.7436965+00:00</StatusFromDate>
  <MonoPageCost>1.1</MonoPageCost>
  <ColorPageCost>1.1</ColorPageCost>
  <LastCollect>2018-08-18T15:52:58.7436965+00:00</LastCollect>
  <LogoUrl>sample string 11</LogoUrl>
</Customer>