Create A New Context
create_a_new_contextCreate a new context to organize layers within a Procore document. Required: company, project, name, context type, and context type ID.
Instructions
Create a new context for organizing layers within a document. Use this to create a new Document Markup records in Procore. Creates a new Document Markup records and returns the created object on success (HTTP 201). Required parameters: company_id, project_id, name, context_type, context_type_id. Procore API: Project Management > Document Markup. Endpoint: POST /rest/v1.0/companies/{company_id}/projects/{project_id}/contexts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the Procore company | |
| project_id | Yes | URL path parameter — unique identifier for the Procore project | |
| name | Yes | JSON request body field — the name for this Document Markup operation | |
| context_type | Yes | JSON request body field — the context type for this Document Markup operation | |
| context_type_id | Yes | JSON request body field — unique identifier of the context type | |
| sub_context_type | No | JSON request body field — the sub context type for this Document Markup operation | |
| sub_context_type_id | No | JSON request body field — unique identifier of the sub context type | |
| settings | No | JSON request body field — the settings for this Document Markup operation |