EZOfficeInventory API

Introduction

EZOfficeInventory API is made available to all paying clients to allow for custom integrations. Fair Use applies. API setting updates require the account owner to be logged in. To get started go to Settings, and enable API for the company (disabled by default) and generate an access token. Access token will be used to authenticate each request, ensure you keep this secret and regenerate if its compromised. For security purposes, have each request made over SSL i.e https. The access token should be provided in the http headers for all requests. For issues and bug reports, email us at info@ezofficeinventory.com
Following constants are used in the API documentation.

Constants

  <COMPANY_TOKEN>   Access token generated from the settings page.
  <SUBDOMAIN>       Company name used in signup, also visible in the URL when logged in, 
                    eg https://<SUBDOMAIN>.ezofficeinventory.com/.
  <ASSET_NAME>      Name of an asset, must be a minimum of 3 charachters. 
  <GROUP_ID>        Each asset belongs to a Group represented by a Group ID. 
                    Click here to retrieve groups.
  <LOCATION_NAME>   An asset may have one location associated to it, this being its name.
  <LOCATION_ID>     Click here to retrieve locations.
  <CITY_NAME>       The city for a location.
  <PAGE_NUM>        Results returned from each API call are limited in number. 
                    To access the subsequent result page, increase the PAGE_NUM.
  <ASSET#>          The Asset# that is unique to each asset. See retrieve all assets.
  <COMMENTS>        Assets, Services, Groups etc can have comments added to them. 
  <USER_ID>         The ID's of members in our system. See retrieve all members
  <SALVAGE_VALUE>   Retired assets require a salvage value for reporting purposes.
  <QUANTITY>        Quantity of Inventory, while adding stock or new sale.
  <PRICE>           Price of Inventory per stock item, while adding stock or new sale.
  <EMAIL_ADDRESS>   Email address of a member.
  <USER_FIRST_NAME> Members first name.
  <USER_LAST_NAME>  Members last name.

Fixed Assets

Fixed assets are long term assets that need to be checked out and checked in to users. Examples include laptops, iPhones etc.

Create asset

Specify fixed_asset[name], fixed_asset[group_id] (see Retrieve groups) and fixed_asset[purchased_on]. These fields are mandatory. Option field is fixed_asset[location_id] (see Retrieve locations) in the command below. To pass custom fields specify cust_attr[custom field name] (see Retrieve custom fields)

curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "fixed_asset[name]=<ASSET_NAME>" \
      -d "fixed_asset[group_id]=<GROUP_ID>" \
      -d "fixed_asset[purchased_on]=mm/dd/yyyy" \
      -d "fixed_asset[location_id]=<LOCATION_ID>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets.api

Retrieve all Assets

To retrieve all assets run the following command

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets.api?page=<PAGE_NUM | DEFAULT = 1>

Specify PAGE_NUM to access assets after the first 20, each page having up to 20 assets. Response also has total number of pages.


Retrieve all Checked Out Assets

To retrieve all currently checked out assets run the following command

curl -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=checked_out&page=<PAGE_NUM | DEFAULT = 1>
        

Specify PAGE_NUM to access assets after the first 20, each page having up to 20 assets. Response also has total number of pages.


Retrieve details of an asset

Specify Asset# in the command below to retrieve details of an asset.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>.api

Update asset

Specify fixed_asset[name], fixed_asset[group_id] (see Retrieve groups) and fixed_asset[purchased_on]. You can also pass fixed_asset[location_id] (see Retrieve locations) in the command below. To pass custom fields specify cust_attr[custom field name] (see Retrieve custom fields).

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "fixed_asset[name]=<ASSET_NAME>" \
      -d "fixed_asset[group_id]=<GROUP_ID>" \
      -d "fixed_asset[purchased_on]=mm/dd/yyyy" \
      -d "fixed_asset[location_id]=<LOCATION_ID>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>.api

Delete Asset

Specify the Asset# in the command below to delete an asset.

curl  -H "token:<COMPANY_TOKEN>" -X DELETE \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>.api

Checkin asset

Specify the Asset# in the command to check in an asset. To pass location (see Retrieve locations)

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "checkin_values[location_id]=<LOCATION_ID>" \
      -d "checkin_values[comments]=<COMMENTS>" \ 
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/checkin.api

Checkout asset

Specify either user_id or user_email in the command to whom you want to checkout the asset. To get user_id or user_email (see Retrieve members). In case you specify both parameters priority will be given to user_id.

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "checkout_values[location_id]=<LOCATION_ID>" \
      -d "checkout_values[comments]=<COMMENTS>" \ 
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/checkout.api?user_id=<USER_ID>

Retrieve asset history

Specify the Asset# and page# in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/history_paginate.api? \
      page=<PAGE_NUM | DEFAULT = 1>

Specify PAGE_NUM to access history after the first 5, each page having up to 5 history entries. Response also has total number of pages.


Extend checkout

Specify the Asset# in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "till=mm/dd/yyyy" -d "till_time=hh:mm" \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/extend_checkout.api
        

Search

Specify the name of asset in 'search' parameter. Results are paginated.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      -d "search=<ASSET_NAME>"
      -d "facet=FixedAsset"
      -d "page=<PAGE_NUM | DEFAULT = 1>" 
      https://<SUBDOMAIN>.ezofficeinventory.com/search.api

Audit

To send an Audit Request to the custodian of an asset, run the following command specifying the Asset #.

 curl  -H "token:<COMPANY_TOKEN>" -X POST  \
       https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/audits.api

To acknowledge possesion of an asset, speicify User ID of the custodian and Asset # of the checked out asset. . To get user_id (see Retrieve members)

 curl  -H "token:<COMPANY_TOKEN>" -X POST  \
       -d "user_id=<USER_ID>" \
       https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/verify_possession.api

Retire asset

Specify salvage value in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "fixed_asset[salvage_value]=<SALVAGE_VALUE>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/retire.api

Filters

Filters can be applied to retrieve fixed assets. Specify the filter_param_val and status in the following command

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      "https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=<FILTER_OPTION>&filter_param_val=<FILTER_PARAM_VALUE> \
      &page=<PAGE_NUM | DEFAULT = 1>"

Specify PAGE_NUM to access assets after the first 20, each page having up to 20 assets. Response also has total number of pages.

Options for status include:

        
available, assets_being_serviced, availability_range, checked_out, checkin_overdue,
checkin_due_today, due_today, items_in_order, location, my_pending_audit,
my_possessions, my_user_listing, outside_user_listing, overdue, pending audit,
possessions_of, product_model_number, reservation_starting_today, update_time and retired.

For filter options like available, filter_param_val is not required. For example, the command for retrieving available assets is:

        
curl  -H "token:<COMPANY_TOKEN>" -X GET \
      "https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=available&page=<PAGE_NUM | DEFAULT = 1>"  

However for filter options like possessions_of where extra information is required, you need to specify the filter_param_val as well. For example, in case of possessions_of, filter_param_val will be the id for the user whose assets you want to retrieve. So the command will be:

        
curl  -H "token:<COMPANY_TOKEN>" -X GET \
      "https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=possessions_of&filter_param_val=<USER_ID> \
      &page=<PAGE_NUM | DEFAULT = 1>"

Example

The command to check availablity of assets will be:

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      -d "status=availability_range"" \
      -d "filter_param_val=<START_DATE>,<END_DATE>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api

Inventory

Inventory is fast moving, and the concern is more in terms of stocks added and removed. Examples include printer paper, pens etc that are consumed rather than assigned for possession. Inventory is also referred to as Volatile asset.

Create Inventory

Specify volatile_asset[name] and volatile_asset[group_id] (see Retrieve groups). These fields are mandatory.

You can also pass volatile_asset[location_id] (see Retrieve locations) in the command below. To pass custom fields specify cust_attr[custom field name] (see Retrieve custom fields)
curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "volatile_asset[name]=<ASSET_NAME>"" \
      -d "volatile_asset[group_id]=<GROUP_ID>" \
      -d "volatile_asset[location_id]=<LOCATION_ID>" \ 
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory.api

Retrieve all Inventories

To retrieve all inventories run the following command

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory.api?page=<PAGE_NUM | DEFAULT = 1>

Specify PAGE_NUM to access inventory after the first 20, each page having up to 20 assets. Response also has total number of pages.


Retrieve details of an asset

Specify Asset# in the command below to retrieve details of an asset.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>.api

Retrieve details of Inventory

Specify the Asset# in the command below to retrieve details of inventory.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory/<ASSET#>.api

Update Inventory

Specify volatile_asset[name] and volatile_asset[group_id] (see Retrieve groups)

You can also pass volatile_asset[location_id] (see Retrieve locations) in the command below.
curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "volatile_asset[name]=<ASSET_NAME>"" \
      -d "volatile_asset[group_id]=<GROUP_ID>" \
      -d volatile_asset[location_id]=<LOCATION_ID>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory/<ASSET#>.api

Delete Inventory

Specify the Asset# in the command below to delete an inventory.

curl  -H "token:<COMPANY_TOKEN>" -X DELETE \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory/<ASSET#>.api

Add Stock

Specify the line_item[quantity] and line_item[price] in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "line_item[quantity]=<QUANTITY>" \
      -d "line_item[price]=<PRICE>" \
      -d "order_type=add stock" \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory/<ASSET#>/order.api

New Sale

Specify the line_item[quantity] and line_item[price] in the command below. To get locations (see Retrieve locations)

curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "line_item[quantity]=<QUANTITY>" \
      -d "line_item[price]=<PRICE>" \
      -d "line_item[comments]=<COMMENTS"> \
      -d "line_item[location_id]=<LOCATION_ID>" \
      -d "order_type=new sale" \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory/<ASSET#>/order.api

Retrieve inventory history

Specify the Asset# and page# in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/inventory/<ASSET#>/history.api? \
      page=<PAGE_NUM | DEFAULT = 1>

Specify PAGE_NUM to access history after the first 5, each page having up to 5 history entries. Response also has total number of pages.


Search

Specify the name of inventory in 'search' parameter. Results are paginated.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      -d "search=<INVENTORY_NAME>"
      -d "facet=VolatileAsset"
      -d "page=<PAGE_NUM | DEFAULT = 1>" 
      https://<SUBDOMAIN>.ezofficeinventory.com/search.api

Filters

Filters can be applied to retrieve volatile assets. Specify the filter_param_val and status in the following command

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      "https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=<FILTER_OPTION>&filter_param_val=<FILTER_PARAM_VALUE> \
      &page=<PAGE_NUM | DEFAULT = 1>"

Specify PAGE_NUM to access assets after the first 20, each page having up to 20 assets. Response also has total number of pages.

Options for status include:

        
items_in_order, low_stock, location, update_time and quantity_range 

For filter options like low_stock, filter_param_val is not required. For example, the command for retrieving available assets is:

        
curl  -H "token:<COMPANY_TOKEN>" -X GET \
      "https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=available&page=<PAGE_NUM | DEFAULT = 1>"  

However for filter options like quantity_range where extra information is required, you need to specify the filter_param_val as well. For example, in case of quantity_range, filter_param_val will be the range for the quantity. So the command will be:

        
curl  -H "token:<COMPANY_TOKEN>" -X GET \
      "https://<SUBDOMAIN>.ezofficeinventory.com/assets/filter.api? \
      status=quantity_range&filter_param_val=<RANGE_BEGIN,RANGE_END> \
      &page=<PAGE_NUM | DEFAULT = 1>"

Asset Stock

Asset stock is tracked in bulk, with quantities that can be added or moved between locations. Examples include bits of hardware or furniture that you'd like to track the custodianship of, but without needing to know which specific item is with which person..

Create Asset Stock

Specify stock_asset[name] and stock_asset[group_id] (see Retrieve groups). These fields are mandatory.

You can also pass stock_asset[location_id] (see Retrieve locations) in the command below. To pass custom fields specify cust_attr[custom field name] (see Retrieve custom fields)
 curl  -H "token:<COMPANY_TOKEN>" -X POST \
       -d "stock_asset[name]=<ASSET_NAME>"" \
       -d "stock_asset[group_id]=<GROUP_ID>" \
       -d "stock_asset[location_id]=<LOCATION_ID>" \ 
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets.api
 

Retrieve all Asset Stock

To retrieve all asset stock run the following command

 curl  -H "token:<COMPANY_TOKEN>" -X GET \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets.api?page=<PAGE_NUM | DEFAULT = 1>
 

Specify PAGE_NUM to access asset stock after the first 20, each page having up to 20 assets. Response also has total number of pages.


Retrieve details of Asset Stock

Specify the Asset Stock# in the command below to retrieve details of asset stock.

 curl  -H "token:<COMPANY_TOKEN>" -X GET \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets/<AssetStock#>.api
 

Update Asset Stock

Specify stock_asset[name] and stock_asset[group_id] (see Retrieve groups)

You can also pass stock_asset[location_id] (see Retrieve locations) in the command below.
 curl  -H "token:<COMPANY_TOKEN>" -X PUT \
       -d "stock_asset[name]=<ASSET_NAME>"" \
       -d "stock_asset[group_id]=<GROUP_ID>" \
       -d "stock_asset[location_id]=<LOCATION_ID>" \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets/<ASSET#>.api
 

Delete Asset Stock

Specify the Asset# in the command below to delete an asset stock.

 curl  -H "token:<COMPANY_TOKEN>" -X DELETE \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets/<ASSET#>.api
 

Add Stock

Specify the line_item[quantity] and line_item[price] in the command below.

 curl  -H "token:<COMPANY_TOKEN>" -X POST \
       -d "line_item[quantity]=<QUANTITY>" \
       -d "line_item[price]=<PRICE>" \
       -d "order_type=add stock" \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets/<ASSET#>/order.api
 

Checkout

Specify the line_item[quantity] and line_item[price] in the command below. To get locations (see Retrieve locations)

 curl  -H "token:<COMPANY_TOKEN>" -X POST \
       -d "line_item[quantity]=<QUANTITY>" \
       -d "line_item[price]=<PRICE>" \
       -d "line_item[location_id]=<LOCATION_ID>" \
       -d "till=<Date>"
       -d "till_time=<Time>"
       -d "user={ "id" = <USERID> }
       -d "order_type=checkout" \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets/<ASSET#>/order.api
 

Retrieve Asset Stock history

Specify the Asset# and page# in the command below.

 curl  -H "token:<COMPANY_TOKEN>" -X GET \
       https://<SUBDOMAIN>.ezofficeinventory.com/stock_assets/<ASSET#>/history.api? \
       page=<PAGE_NUM | DEFAULT = 1>
 

Specify PAGE_NUM to access history after the first 5, each page having up to 5 history entries. Response also has total number of pages.


Search

Specify the name of in 'search' parameter. Results are paginated.

 curl  -H "token:<COMPANY_TOKEN>" -X GET \
       -d "search=<ASSET_STOCK_NAME>"
       -d "facet=StockAsset"
       -d "page=<PAGE_NUM | DEFAULT = 1>" 
       https://<SUBDOMAIN>.ezofficeinventory.com/search.api
 

Members

Create member

Specify user[email], user[first_name], user[last_name] and user[role_id]. These are mandatory fields.

  • For creating Administrator use role_id = 1
  • For creating Staff user use role_id = 2
curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "user[email]=<EMAIL_ADDRESS>" \
      -d "user[role_id]=<ROLE_ID>" \
      -d "user[first_name]=<USER_FIRST_NAME>" \
      -d "user[last_name]=<USER_LAST_NAME>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/members.api

Retrieve all members

To retrieve all members of the companay run the command below.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/members.api?page=<PAGE_NUM>

Specify PAGE_NUM to access members after the first 20, each page having up to 20 members. Specify all in 'page' parameter to retrive all members. This paramerter is optional


Retrieve details of a user

Specify the <USER_ID> in the command below to retrieve details of a user.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/members/<USER_ID>.api

Update member

Specify user[email], user[first_name], user[last_name], user[role_id] and <USER_ID> in the command below. You cannot update the details of company owner.

  • For creating Admin user pass role_id = 1
  • For creating Staff user pass role_id = 2
curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "user[email]=<EMAIL_ADDRESS>" \
      -d "user[role_id]=<ROLE_ID>" \
      -d "user[first_name]=<USER_FIRST_NAME>" \
      -d "user[last_name]=<USER_LAST_NAME>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/members/<USER_ID>.api

Activate user

Specify the <USER_ID> in the command below to activate user

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      https://<SUBDOMAIN>.ezofficeinventory.com/members/<USER_ID>/activate.api

Deactivate user

Specify the <USER_ID> in the command below to deactivate user.

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      https://<SUBDOMAIN>.ezofficeinventory.com/members/<USER_ID>/deactivate.api

Reservation Requests

Create reservation request

Specify reservation_request[from], reservation_request[to] and reservation_request[note] in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "reservation_request[from]=mm/dd/yyyy" \
      -d "reservation_request[to]=mm/dd/yyyy" \
      -d "reservation_request[note]=<COMMENTS>" \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/reservation_requests.api

Retrieve reservation requests of asset

Specify Asset# in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/reservation_requests.api

Retrieve reservation requests starting today

To retrieve all the reservation requests for assets, inventory, stock assets and baskets that are starting today run the following command

curl -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/checkout_requests/filter.api? \
      all=true&start_date=mm/dd/yyyy&page=<PAGE_NUM | DEFAULT = 1>
        

Specify PAGE_NUM to access reservation requests after the first 20, each page having up to 20 reservation requests.


Update status of reservation request

Specify Asset# and <RESERVATION_ID> in the command below.

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "request_action=<ACTION>"
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/reservation_requests \
      /<RESERVATION_ID>/update_status.api
        
Valid values for ACTION are
deny
to deny a reservation request and
approve_request
to approve a reservation request.

Locations

Create location

Specify location[name] in the command below. Its a mandatory field. You can also pass location[city], location[state], location[zipcode], location[street1], location[street2] and location[description] (optional).

curl  -H "token:<COMPANY_TOKEN>" -X POST \
      -d "location[name]=<LOCATION_NAME>" \
      -d "location[city]=<CITY_NAME>" \ 
      https://<SUBDOMAIN>.ezofficeinventory.com/locations.api

Retrieve locations

Retrieve all locations.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/locations/get_line_item_locations.api

Update location

Specify location[name] and <LOCATION_ID> in the command below. location[name] is a mandatory field. You can also pass location[city], location[state], location[zipcode], location[street1], location[street2] And location[description] (optional).

curl  -H "token:<COMPANY_TOKEN>" -X PUT \
      -d "location[name]=<LOCATION_NAME>" \
      -d "location[city]=<CITY_NAME>" \ 
      https://<SUBDOMAIN>.ezofficeinventory.com/locations/<LOCATION#>.api

Groups

Retrieve groups

Retrieve all the groups

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/classification_view.api?page=<PAGE_NUM>

Specify PAGE_NUM to access groups after the first 20, each page having up to 20 groups. This paramerter is optional


Vendors

Retrieve vendors

Retrieve all the vendors

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/vendors.api?page=<PAGE_NUM>

Specify PAGE_NUM to access vendors after the first 20, each page having up to 20 vendors. This paramerter is optional


Custom Fields

Retrieve custom fields

Retrieve all the custom fields

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      https://<SUBDOMAIN>.ezofficeinventory.com/assets/custom_attributes.api

Custom fields history

Retrieve history of a custom field for a specific asset.

curl  -H "token:<COMPANY_TOKEN>" -X GET \
      http://<SUBDOMAIN>.ezofficeinventory.com/assets/<ASSET#>/custom_attribute_history.api?custom_attribute_id=<CUSTOM_FIELD_ID>