View Offices for a specified name
get
/api/restapi/office/name/{officeName}
Send a request to this endpoint to view all offices having specified office name.
Request
Path Parameters
-
officeName(required): string
Name of the Offices to be found.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : List<ApiEntityOffice>
Type:
arrayTitle:
Show Source
List<ApiEntityOffice>-
Array of:
object ApiEntityOffice
Title:
ApiEntityOffice
Nested Schema : ApiEntityOffice
Type:
objectTitle:
Show Source
ApiEntityOffice-
addressLine1: string
Maximum Length:
200The first line of the address of a location.
This might be the building number and street address. -
addressLine2: string
Maximum Length:
200The second line of the address of a location.
This might be a neighborhood or town. -
cityName: string
Maximum Length:
200The name of the city for a location. -
companyId: integer
(int64)
The unique identifier for the company.The company object can also be identified by its unique criteria.
-
companyName: string
Minimum Length:
1Maximum Length:255The name of the company. -
countryCode: string
Minimum Length:
0Maximum Length:3The country for a location. -
distance: number
(double)
The distance the company is willing to travel for the project from this office.
-
distanceMetric: string
Allowed Values:
[ "KILOMETERS", "MILES" ]The distance measure to be used. Valid options include kilometer and mile. -
fax: string
Maximum Length:
32The fax number for the office. -
isCorporateOffice: boolean
Indicates if the office is the headquarters of the company.
-
latitude: number
(double)
Minimum Value:
-90Maximum Value:90The geographical coordinate for the latitude of the location.
The default format for latitude is decimal degrees, but the format you need to use will depend on your geolocation service. -
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
longitude: number
(double)
Minimum Value:
-180Maximum Value:180The geographical coordinate for the longitude of the location.
The default format for longitude is decimal degrees, but the format you need to use will depend on your geolocation service. -
officeCountryCode: string
Minimum Length:
0Maximum Length:200The country for a location. -
officeId: integer
(int64)
The unique identifier of an office.
-
officeName: string
Minimum Length:
1Maximum Length:255The name of the office. -
officePostalCode: string
Minimum Length:
0Maximum Length:200The postal code, post code, or zip code of a location. -
orgOfficeId: integer
(int64)
The unique identifier of the organization of the office.
-
phone: string
Maximum Length:
32The phone number for the office. -
postalCode: string
Minimum Length:
0Maximum Length:20The postal code, post code, or zip code of a location. -
stateName: string
Maximum Length:
200The state, region, or province of a location. -
updateDate: string
(date-time)
Date when the record was last updated.
404 Response
The requested object does not exist, or you do not have access to it.