Location
Return an inventoried item location information.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Inventory/Location |
Attribute Details
Paging: default page size is set to 400 with a maximum of 5000 results (contacts only).
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique location identifier in the form of a guid. |
Identifier | String (10) | Identifier of the location. |
Name | String (30) | Name for an individual location. |
IsActive | Boolean | True indicates the location is active. False indicates the location is inactive. |
CanSell | Boolean | True indicates items inventoried in the location can be sold. False indicates items inventoried in the location can not be sold. |
Notes | String | Notes for the location. |
Address | object | The following set of information pulls through details for a location address |
Address.Location | Integer | One location can have one address record. |
Address.Street | String (255) | Full content of Address field. |
Address.City | String (255) | City of address record. |
Address.State | String (255) | State of address record. |
Address.PostCode | String (11) | Postcode of address record. |
Address.Country | String (255) | Country of location for address record. |
Address.Phone1 | String (21) | Phone number 1 of address record. |
Address.Phone2 | String (21) | Phone number 2 of address record. |
Address.Phone3 | String (21) | Phone number 3 of address record. |
Address.Fax | String (21) | Fax number of address record. |
Address.Email | String (255) | Email contact of address record. |
Address.Website | String (255) | World wide web address for contact. |
Address.ContactName | String (25) | Contact Name on address record. |
Address.Salutation | String (15) | Salutation text for address record. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number 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
{
"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.