Update Offices.
put
/primeapi/restapi/office/batch
Updates Offices.
Request
Supported Media Types
- application/json
Office objects to be updated.
Nested 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.
Response
Supported Media Types
- application/json
204 Response
Successful operation with no content.
400 Response
Invalid Input.