GET assets/locations?organizationalUnit={organizationalUnit}&name={name}&sort={sort}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
organizationalUnit | integer |
None. |
|
name | string |
None. |
|
sort | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of LocationName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
OrganizationalUnitID | integer |
None. |
|
OrganizationalUnit | OrganizationalUnit |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "OrganizationalUnitID": 3, "OrganizationalUnit": { "ID": 1, "Name": "sample string 2", "Address": { "Street": "sample string 1", "Postcode": "sample string 2", "City": "sample string 3", "CountryID": 4, "Country": { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:10:53.2002184+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:10:53.2002184+00:00" } } }, "Status": 3, "Type": 4, "InvoiceCalculationMethod": 5 } }, { "ID": 1, "Name": "sample string 2", "OrganizationalUnitID": 3, "OrganizationalUnit": { "ID": 1, "Name": "sample string 2", "Address": { "Street": "sample string 1", "Postcode": "sample string 2", "City": "sample string 3", "CountryID": 4, "Country": { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:10:53.2002184+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:10:53.2002184+00:00" } } }, "Status": 3, "Type": 4, "InvoiceCalculationMethod": 5 } } ]
text/xml
Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Assets"> <Location> <ID>1</ID> <Name>sample string 2</Name> <OrganizationalUnit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d3p1:Address> <d3p1:City>sample string 3</d3p1:City> <d3p1:Country> <d3p1:Alpha2>sample string 3</d3p1:Alpha2> <d3p1:Alpha3>sample string 4</d3p1:Alpha3> <d3p1:Audit xmlns:d6p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d6p1:AddTime>2025-04-03T07:10:53.2002184+00:00</d6p1:AddTime> <d6p1:AddUser>1</d6p1:AddUser> <d6p1:EditTime>2025-04-03T07:10:53.2002184+00:00</d6p1:EditTime> <d6p1:EditUser>1</d6p1:EditUser> </d3p1:Audit> <d3p1:Currency> <d3p1:Code>sample string 2</d3p1:Code> <d3p1:ID>1</d3p1:ID> <d3p1:Lookup>sample string 5</d3p1:Lookup> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:Sign>sample string 4</d3p1:Sign> </d3p1:Currency> <d3p1:CurrencyID>1</d3p1:CurrencyID> <d3p1:ID>1</d3p1:ID> <d3p1:ISO31661>1</d3p1:ISO31661> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Country> <d3p1:CountryID>4</d3p1:CountryID> <d3p1:Postcode>sample string 2</d3p1:Postcode> <d3p1:Street>sample string 1</d3p1:Street> </d3p1:Address> <d3p1:ID>1</d3p1:ID> <d3p1:InvoiceCalculationMethod>5</d3p1:InvoiceCalculationMethod> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Status>3</d3p1:Status> <d3p1:Type>4</d3p1:Type> </OrganizationalUnit> <OrganizationalUnitID>3</OrganizationalUnitID> </Location> <Location> <ID>1</ID> <Name>sample string 2</Name> <OrganizationalUnit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d3p1:Address> <d3p1:City>sample string 3</d3p1:City> <d3p1:Country> <d3p1:Alpha2>sample string 3</d3p1:Alpha2> <d3p1:Alpha3>sample string 4</d3p1:Alpha3> <d3p1:Audit xmlns:d6p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d6p1:AddTime>2025-04-03T07:10:53.2002184+00:00</d6p1:AddTime> <d6p1:AddUser>1</d6p1:AddUser> <d6p1:EditTime>2025-04-03T07:10:53.2002184+00:00</d6p1:EditTime> <d6p1:EditUser>1</d6p1:EditUser> </d3p1:Audit> <d3p1:Currency> <d3p1:Code>sample string 2</d3p1:Code> <d3p1:ID>1</d3p1:ID> <d3p1:Lookup>sample string 5</d3p1:Lookup> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:Sign>sample string 4</d3p1:Sign> </d3p1:Currency> <d3p1:CurrencyID>1</d3p1:CurrencyID> <d3p1:ID>1</d3p1:ID> <d3p1:ISO31661>1</d3p1:ISO31661> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Country> <d3p1:CountryID>4</d3p1:CountryID> <d3p1:Postcode>sample string 2</d3p1:Postcode> <d3p1:Street>sample string 1</d3p1:Street> </d3p1:Address> <d3p1:ID>1</d3p1:ID> <d3p1:InvoiceCalculationMethod>5</d3p1:InvoiceCalculationMethod> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Status>3</d3p1:Status> <d3p1:Type>4</d3p1:Type> </OrganizationalUnit> <OrganizationalUnitID>3</OrganizationalUnitID> </Location> </ArrayOfLocation>