GET v1/unitsOfMeasure/{companyCode}?apiToken={apiToken}

Returns a list of all units of measure associated with a specific company

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

The company code you are retreiving information for

string

Required

apiToken

Your API Token

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "code": "sample string 1",
    "type": "sample string 2",
    "description": "sample string 3"
  },
  {
    "code": "sample string 1",
    "type": "sample string 2",
    "description": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<UnitsOfMeasure xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UnitOfMeasure>
    <Code>sample string 1</Code>
    <Type>sample string 2</Type>
    <Description>sample string 3</Description>
  </UnitOfMeasure>
  <UnitOfMeasure>
    <Code>sample string 1</Code>
    <Type>sample string 2</Type>
    <Description>sample string 3</Description>
  </UnitOfMeasure>
</UnitsOfMeasure>