View Offices for specified name.
get
/primeapi/restapi/office/name/{officeName}
Returns the Offices for the specified name.
Request
Path Parameters
-
officeName: string
Name of the Offices to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : ApiEntityOffice
Type:
Show Source
object
-
addressLine1(optional):
string
The first line of the address of a location.
This might be the building number and street address. -
addressLine2(optional):
string
The second line of the address of a location.
This might be a neighborhood or town. -
cityName(optional):
string
The city name for a location.
-
companyId:
integer(int64)
The unique identifier of a company of an office.
-
companyName(optional):
string
Allowed Values:
[ "Length[1-255]" ]
The name of the company. -
countryCode(optional):
string
The country for a location.
-
fax(optional):
string
The fax number for the office.
-
isCorporateOffice(optional):
boolean
If the office is the Head office of the company.
-
latitude(optional):
number(double)
The geographical coordinate for the latitude of the location.
The default format for latitude is decimal degrees format, but the format you need to use will depend on your geolocation service. -
link(optional):
string(url)
Read Only:
true
-
longitude(optional):
number(double)
The geographical coordinate for the longitude of the location.
The default format for longitude is decimal degrees format, but the format you need to use will depend on your geolocation service. -
officeCountryCode:
string
The country for a location.
-
officeId(optional):
integer(int64)
The unique identifier of an office.
-
officeName:
string
Allowed Values:
[ "Length[1-255]" ]
The name of the office. -
officePostalCode:
string
The postal code, post code, or zip code of a location.
-
orgOfficeId(optional):
integer(int64)
The unique identifier of the organization of the office.
-
phone(optional):
string
The phone number for the office.
-
postalCode(optional):
string
The postal code, post code, or zip code of a location.
-
stateName(optional):
string
The state, region, or province of a location.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
404 Response
The requested object does not exist, or you do not have access to it.