Get all business locations

get

/fscmRestApi/resources/11.13.18.05/publicSectorBusinessEntityListDetails/{BusinessEntityKey}/child/BusLocationListDetails

Request

Path Parameters
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Finds the business locations that matches the primary key criteria specified.
      Finder Variables:
      • BusinessLocationKey; integer; System generated unique identifier for a business location.
    • simpleSearchFinder: Finds the business locations that matches the search criteria specified.
      Finder Variables:
      • value; string; The value used to search for business locations.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • Address1; string; First line of the physical address.
    • Address2; string; Second line of the physical address.
    • Address3; string; Third line of the physical address.
    • Address4; string; Fourth line of the physical address.
    • AddressCode; string; Unique identifier for the parcel address.
    • AddressId; integer; The unique identifier for the parcel address.
    • AddressLocId; integer; Unique identifier of the physical address.
    • AddressType; string; Attribute used for address point validation. Possible values might be main address, virtual address, shipping gate address, or others.
    • AgencyId; integer; Unique identifier of the agency.
    • AltPhoneAreaCode; string; Alternate phone area code.
    • AltPhoneContactPointId; integer; Alternate phone contact point identifier.
    • AltPhoneCountryCode; string; Alternate phone country code.
    • AltPhoneExtension; string; Alternate phone extension number of the location.
    • AltPhoneNumber; string; Alternate phone number of the location.
    • AltPhoneType; string; Alternate phone type of the location.
    • AltRawPhoneNumber; string; Alternate raw phone number of the location.
    • AreaSize; integer; Size of the business location.
    • AreaSizeUom; string; Unit of measure for the business location size.
    • Building; string; Street number of the location.
    • BuildingType; string; Building type used for parcel address searches.
    • BusCategory; string; Indicates the type of business.
    • BusStateTaxId; string; State tax ID of the business location.
    • BusSubCategory; string; Business subcategory.
    • BusinessEntityId; string; The unique identifier for a business entity.
    • BusinessEntityKey; integer; System generated unique identifier for a business entity.
    • BusinessLocationId; string; The unique identifier for a business location.
    • BusinessLocationKey; integer; System generated unique identifier for a business location.
    • BusinessLocationPartyId; integer; Business location party ID.
    • City; string; Physical address city.
    • CityTaxId; string; City tax ID of the business location.
    • CoordinateX; integer; Geographic X-coordinate of the parcel address location.
    • CoordinateY; integer; Geographic Y-coordinate of the parcel address location.
    • Country; string; Physical address country.
    • County; string; Physical address county.
    • CrossroadOne; string; Cross road 1 that is part of parcel address.
    • CrossroadTwo; string; Cross road 2 that is part of parcel address.
    • CtyFoodSerLicExp; string; Expiration date of the county food service license associated with the business location.
    • CtyFoodSerLicNum; string; County food service license number of the business location.
    • Description; string; Description of the business location.
    • EOnePhoneContactPointId; integer; Unique identifier of the primary emergency phone contact.
    • ETwoPhoneContactPointId; integer; Unique identifier of the secondary emergency phone contact.
    • EcontactAvailabilityOne; string; Availability of the primary emergency contact.
    • EcontactAvailabilityTwo; string; Availability of the secondary emergency contact.
    • EcontactEmailOne; string; Email address of the primary emergency contact.
    • EcontactEmailTwo; string; Email address of the secondary emergency contact.
    • EcontactFirstNameOne; string; First name of the primary emergency contact.
    • EcontactFirstNameTwo; string; First name of the secondary emergency contact.
    • EcontactLastNameOne; string; Last name of the primary emergency contact.
    • EcontactLastNameTwo; string; Last name of the secondary emergency contact.
    • EcontactPhoneAreaCodeOne; string; Primary emergency contact area code.
    • EcontactPhoneAreaCodeTwo; string; Secondary emergency contact area code.
    • EcontactPhoneCountryOne; string; Primary emergency contact country.
    • EcontactPhoneCountryTwo; string; Secondary emergency contact country code.
    • EcontactPhoneExtensionOne; string; Primary emergency contact phone extension number of the location.
    • EcontactPhoneExtensionTwo; string; Secondary emergency contact phone extension number of the location.
    • EcontactPhoneNumberOne; string; Primary emergency contact phone number of the location.
    • EcontactPhoneNumberTwo; string; Secondary emergency contact phone number of the location.
    • EcontactPhoneTypeOne; string; Phone type of the primary emergency contact for the location.
    • EcontactPhoneTypeTwo; string; Secondary emergency contact phone type of the location.
    • EcontactRawPhoneNumberOne; string; Primary emergency contact raw phone number of the location.
    • EcontactRawPhoneNumberTwo; string; Secondary emergency contact raw phone number of the location.
    • EffectiveEndDate; string; Effective end date of the location.
    • EffectiveStartDate; string; Effective start date of the location.
    • EmailAddress; string; Email address of the location.
    • EmployeesTotal; number; Total number of employees for the business location.
    • EnabledFlag; string; Indicates whether the business location has been enabled.
    • EndDate; string; The end date of the business location.
    • FloorNumber; string; The floor number of the physical address.
    • InactiveReason; string; The reason that the business location was inactivated.
    • JgzzFiscalCode; string; Taxpayer identification number, often unique identifier of person or organization. Can be SSN or income taxpayer ID in US, fiscal code or NIF in Europe.
    • Landmark; string; Landmark for the parcel address.
    • Latitude; number; Latitude of the location.
    • LineOfBusiness; string; Line of business.
    • LocationType; string; The type of location.
    • Longitude; number; Longitude of the location.
    • MailAddress1; string; First line of the location mailing address.
    • MailAddress2; string; Second line of the location mailing address.
    • MailAddress3; string; Third line of the location mailing address.
    • MailAddress4; string; Fourth line of the location mailing address.
    • MailAddrsLocId; integer; Unique identifier of the mailing address for the business location.
    • MailCity; string; Location mailing city.
    • MailCountry; string; Location mailing country.
    • MailCounty; string; Location mailing county.
    • MailPostalCode; string; Location mailing postal code.
    • MailPostalPlusCode; string; Location mailing postal plus 4 code.
    • MailProvince; string; Location mailing province.
    • MailState; string; Location mailing state.
    • MobileBusinessFlag; string; Indicates whether the business is a mobile product or provides mobile service.
    • MunicipalityId; string; Municipality in which the parcel address is located.
    • OrgProfilesStatus; string; Organization profile status.
    • OrganizationName; string; Doing business as name.
    • OtherTaxId; string; County tax ID of the business location.
    • ParcelId; integer; The unique identifier for the parcel.
    • ParcelIdEntered; string; The parcel number.
    • Position; string; Street direction of the location.
    • PostalCode; string; Physical address postal code.
    • PostalPlus4Code; string; Physical address postal plus 4 code.
    • PrimPhoneContactPointId; integer; Primary phone contact point identifier.
    • PrimaryPhoneAreaCode; string; Primary phone area code.
    • PrimaryPhoneCountryCode; string; Primary phone country code.
    • PrimaryPhoneExtension; string; Primary phone extension number of the location.
    • PrimaryPhoneNumber; string; Primary phone number of the location.
    • PrimaryPhoneType; string; Primary phone type of the location.
    • PrimaryRawPhoneNumber; string; Primary raw phone number of the location.
    • Province; string; Physical address province.
    • RentalUnitNum; integer; Number of rental units for the business location.
    • SameMailAddressFlag; string; Indicates whether the mailing address is same as the location address.
    • SellPerNum; string; Business sellers permit number of the location.
    • SellPerNumExp; string; Expiration date of the business sellers permit number associated with the location.
    • StQualPerNum; string; State equalization board number of the business location.
    • StartDate; string; The start date of the business location.
    • State; string; Physical address state.
    • Status; string; Current status of the location.
    • StatusMeaning; string; Current status meaning of the location.
    • StreetName; string; Street name used for parcel address searches.
    • StreetSuffix; string; Street name that describes the street.
    • StreetType; string; Street type used for parcel address searches.
    • TaxClass; string; Municipal tax class of the business location.
    • UnitNumber; string; Apartment unit number used for parcel address searches.
    • Website; string; Website address of the location.
    • WithinJurisdictionFlag; string; Indicates whether the business is located within agency jurisdiction.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : publicSectorBusinessEntityListDetails-BusLocationListDetails
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : publicSectorBusinessEntityListDetails-BusLocationListDetails-item-response
Type: object
Show Source
Back to Top