POST /rest/v1.0/offices

Creates an Office associated to a Company.

Uploading logo

To upload an office logo you must upload whole payload as multipart/form-data content-type and specify each parameter as form-data together with office[logo] as file.

Country and State codes

The country_code and state_code parameter values must conform to the ISO-3166 Alpha-2 specification. See Working with Country Codes for additional information.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Procore-Company-Id Integer Yes

Unique company identifier associated with the Procore User Account.

Request body fields

Name Type Required Description
office Object Yes

Office object

office.logo String No

A photo file of the Office Logo. To upload an office logo you must upload whole payload as multipart/form-data content-type and specify each parameter as form-data together with office[logo] as file.

office.name String Yes

The Name of the Office

office.fax String No

The Fax of the Office

office.state_code String No

The State Code of the Office (ISO-3166 Alpha-2 format)

office.zip String No

The Zip of the Office

office.phone String No

The Phone of the Office

office.country_code String No

The Country Code of the Office (ISO-3166 Alpha-2 format)

office.address String No

The Address of the Office

office.city String No

The City of the Office

office.division String No

The Division of the Office

company_id Integer Yes

The ID of the Company the Office belongs to

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.