Skip to content

Location

Return an inventoried item location information.

Released
Updated
URLSupports
/{cf_uri}/Inventory/Location
GET

Attribute Details

Paging: default page size is set to 400 with a maximum of 5000 results (contacts only).

AttributeTypeNotes
UIDGuid (36)Unique location identifier in the form of a guid.
IdentifierString (10)Identifier of the location.
NameString (30)Name for an individual location.
IsActiveBooleanTrue indicates the location is active. False indicates the location is inactive.
CanSellBooleanTrue indicates items inventoried in the location can be sold. False indicates items inventoried in the location can not be sold.
NotesStringNotes for the location.
AddressobjectThe following set of information pulls through details for a location address
Address.LocationIntegerOne location can have one address record.
Address.StreetString (255)Full content of Address field.
Address.CityString (255)City of address record.
Address.StateString (255)State of address record.
Address.PostCodeString (11)Postcode of address record.
Address.CountryString (255)Country of location for address record.
Address.Phone1String (21)Phone number 1 of address record.
Address.Phone2String (21)Phone number 2 of address record.
Address.Phone3String (21)Phone number 3 of address record.
Address.FaxString (21)Fax number of address record.
Address.EmailString (255)Email contact of address record.
Address.WebsiteString (255)World wide web address for contact.
Address.ContactNameString (25)Contact Name on address record.
Address.SalutationString (15)Salutation text for address record.
URI
Read-only
StringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersionStringNumber value that changes upon a record update, can be used for change control but does does not preserve a date or a time.

Example json GET response

Example

json
{
  "UID": "c3a3621a-9248-4344-abe7-9d2511ed5dfa",
  "Identifier": "MYOB",
  "Name": "MYOB Location",
  "IsIndividual": true,
  "DisplayID": "CUS000001",
  "IsActive": true,
  "CanSell": true,
  "Notes": "Location information cane be entered here",
  "Location": null,
  "Street": "5/76 Readen Road",
  "City": "St Kilda",
  "State": "VIC",
  "PostCode": "3024",
  "Country": "Australia",
  "Phone1": "03 9567 3453",
  "Phone2": "03 9533 2256",
  "Phone3": "03 9534 2345",
  "Fax": "03 8934 4543",
  "Email": "Davis@yahoo.com.au",
  "Website": "www.myob.com.au",
  "ContactName": "Simon",
  "Salutation": "Hello",
  "URI": "{cf_uri}/Inventory/Location/c3a3621a-9248-4344-abe7-9d2511ed5dfa\"",
  "RowVersion": "-2085166627472539648"
}

The {cf_uri} is provided by the businessId parameter as described here.