Get all business locations for the associated application

get

/fscmRestApi/resources/11.13.18.05/publicSectorApplicationLists/{LnpRecordKey}/child/BusinessLocation

Request

Path Parameters
  • The unique identifier for a record. The record is for a permit, business license, professional license, or planning and zoning, and is determined by the classification.
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 location that matches the specified primary key criteria.
      Finder Variables:
      • LnpBusinessLocationKey; integer; The unique identifier for a business location.
  • 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; The address Line 1 that is part of the parcel address.
    • Address2; string; The address Line 2 that is part of the parcel address.
    • Address3; string; The address Line 3 that is part of the parcel address.
    • Address4; string; The address Line 4 that is part of the parcel address.
    • AddressCode; string; The unique identifier for the parcel address.
    • AddressId; integer; The system generated sequence key for the parcel address.
    • AddressType; string; The attribute used for address point validation. Possible values might be main address, virtual address, shipping gate address, or others.
    • AgencyId; integer; The identifier of the agency.
    • AltPhoneAreaCode; string; The phone area code within a country.
    • AltPhoneCountryCode; string; The international country code for a telephone number.
    • AltPhoneExtension; string; The additional extension number after initial connection to an internal telephone system.
    • AltPhoneNumber; string; The phone number of the location.
    • AltPhoneType; string; The type of phone for the location.
    • AltRawPhoneNumber; string; The location???s full phone number.
    • BuildingType; string; The building type used for parcel address searches.
    • BusCategory; string; Indicates the type of business category.
    • BusDbaBusinessName; string; The Doing Business As name for the business.
    • BusDescription; string; The description of the business.
    • BusStateTaxId; string; The business??? state tax identifier.
    • BusSubCategory; string; Indicates the type of business sub category.
    • BusinessEntityId; string; A meaningful identifier for the business entity.
    • BusinessEntityKey; integer; The unique identifier for the business entity.
    • BusinessLocationId; string; A meaningful identifier for the business location.
    • BusinessLocationKey; integer; The unique identifier for the business location.
    • BusinessLocationPartyId; integer; The unique identifier for the business location???s TCA party.
    • City; string; The city that is part of the parcel address.
    • CityTaxId; string; The business??? city tax identifier.
    • CoordinateX; number; The geographic x coordinate of the parcel address location.
    • CoordinateY; number; The geographic y coordinate of the parcel address location.
    • Country; string; The country that is part of the parcel address.
    • County; string; The county in which the parcel address is located.
    • CrossroadOne; string; The cross road 1 that is part of parcel address.
    • CrossroadTwo; string; The cross road 2 that is part of parcel address.
    • EcontactAvailabilityOne; string; The availability of the emergency contact.
    • EcontactAvailabilityTwo; string; The availability of the emergency contact.
    • EcontactEmailOne; string; The email of the emergency contact.
    • EcontactEmailTwo; string; The email of the emergency contact.
    • EcontactFirstNameOne; string; The first name of the emergency contact.
    • EcontactFirstNameTwo; string; The first name of the emergency contact.
    • EcontactLastNameOne; string; The last name of the emergency contact.
    • EcontactLastNameTwo; string; The last name of the emergency contact.
    • EcontactPhoneAreaCodeOne; string; The phone area code within a country.
    • EcontactPhoneAreaCodeTwo; string; The phone area code within a country.
    • EcontactPhoneCountryOne; string; The international country code for a telephone number.
    • EcontactPhoneCountryTwo; string; The international country code for a telephone number.
    • EcontactPhoneExtensionOne; string; The additional extension number after initial connection to an internal telephone system.
    • EcontactPhoneExtensionTwo; string; The additional extension number after initial connection to an internal telephone system.
    • EcontactPhoneNumberOne; string; The first phone number of the emergency contact.
    • EcontactPhoneNumberTwo; string; The second phone number of the emergency contact.
    • EcontactPhoneTypeOne; string; The phone type of the emergency contact.
    • EcontactPhoneTypeTwo; string; The phone type of the emergency contact.
    • EcontactRawPhoneNumberOne; string; The first phone number of the emergency contact.
    • EcontactRawPhoneNumberTwo; string; The second phone number of the emergency contact.
    • EmailAddress; string; The business location???s email address.
    • EmployeesTotal; integer; Indicates the total number of employees in that business location.
    • EnabledFlag; string; Indicates if the business location is enabled.
    • EndDate; string; The end date of the business location.
    • Floor; string; The floor number used for parcel address searches.
    • InactiveReason; string; The reason why the business location was changed to inactive.
    • Landmark; string; The landmark for the parcel address.
    • Latitude; number; The geographical latitude location of the parcel address.
    • LnpBusinessLocationKey; integer; The unique identifier for the transaction business location.
    • LnpBusinessLocationPuid; string; The unique identifier of the migrated business location record.
    • LnpRecordId; string; A meaningful identifier for the transaction.
    • LnpRecordKey; integer; The unique identifier for the transaction.
    • LocationType; string; The location type.
    • Longitude; number; The geographical longitude location of the parcel address.
    • MailingAddress1; string; The address line 1 of the location???s address.
    • MailingAddress2; string; The address line 2 of the location???s address.
    • MailingAddress3; string; The address line 3 of the location???s address.
    • MailingAddress4; string; The address line 4 of the location???s address.
    • MailingCity; string; The city portion of the location???s address.
    • MailingCountry; string; The address portion of the location???s address.
    • MailingCounty; string; The county portion of the location???s address.
    • MailingPostalCode; string; The postal code portion of the location???s address.
    • MailingPostalPlusFourCode; string; The postal4 code portion of the location???s address.
    • MailingProvince; string; The province portion of the location???s address.
    • MailingState; string; The state portion of the location???s address.
    • MobileBusFlag; boolean; Indicates if the business provides a mobile product or service.
    • MunicipalityId; string; The municipality in which the parcel address is located.
    • OtherTaxId; string; Identifier for the business??? other tax.
    • ParcelId; integer; The system generated key from the parcel parent.
    • ParcelIdEntered; string; The identifier given by the user for the parcel of real estate. In the USA, this is the Assessor Parcel Number.
    • PostalCode; string; The postal code that is part of the parcel address.
    • PostalPlus4Code; string; For US addresses, the full postal code is often quoted as a 5 digit number, followed by a 4 digit number. This column represents the second number having 4 digits.
    • PrimaryPhoneAreaCode; string; The phone area code within a country.
    • PrimaryPhoneCountryCode; string; The international country code for a telephone number.
    • PrimaryPhoneExtension; string; The additional extension number after initial connection to an internal telephone system.
    • PrimaryPhoneNumber; string; The phone number of the location.
    • PrimaryPhoneType; string; The type of phone for the location.
    • PrimaryRawPhoneNumber; string; The location???s full phone number.
    • Province; string; The location information about the province in which the parcel address is located.
    • RecordNumber; string; The record number of the business location.
    • SameMailAddressFlag; boolean; Indicates that the mailing address is the same as the primary address.
    • StQualPerNum; string; The state equalization board number for business.
    • StartDate; string; The start date of the business location.
    • State; string; The state that is part of the parcel address.
    • Status; string; The current status of the business location.
    • StreetDirection; string; The street direction used for parcel address searches.
    • StreetName; string; The street name used for parcel address searches.
    • StreetNumber; string; The street number used for parcel address searches.
    • StreetSuffix; string; The street name that describes the street.
    • StreetType; string; The street type used for parcel address searches.
    • SubjectId; string; The attribute used to identify where the data should be displayed.
    • TaxClass; string; The municipal tax class for the business.
    • UnitNumber; string; The apartment unit number used for parcel address searches.
    • Website; string; The business??? primary website address.
    • WithinJurisdictionFlag; boolean; Indicates if the location is within the agency???s 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 : publicSectorApplicationLists-BusinessLocation
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : publicSectorApplicationLists-BusinessLocation-item-response
Type: object
Show Source
Back to Top