Skip to content

New Project

Request

Create a new Project for the User's Organization.

Security
OAuth2(Required scopes: readwrite) or apiKeyAuth
Bodyapplication/json
Array of any, non-empty
curl -i -X POST \
  https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/projects/insert \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "status": "active",
    "zone": "aws-us",
    "isLocked": true,
    "projectNumber": "20-032",
    "projectNameLegal": "Olympic Rugby Venue",
    "projectNameKnownAs": "Paris Stadium",
    "location": "6ce635890a6349678196d2e59a3be302",
    "division1": null,
    "certifications": null,
    "customerDataWarehouseId": "D932FF8E5FFC44C5BF0346CB58B228E9",
    "customerErpId": "8b37e6b2-786e-4546-93e8-d6760e71bed4",
    "customerCrmId": "8a12f0af-249d-435b-b997-2034fd472ff8"
  }'

Responses

Successfully created the resource you sent

Bodyapplication/json
statusstringrequired
Value:"success"
dataArray of objects, = 1 items(Project)required
metadataobject(ResponseMetadata)required

Present on every JSON response. For non-paginated operations, use page 1, total_pages 1, and total_records equal to the number of elements in data.

Response
{ "status": "success", "data": [ {} ], "metadata": { "timestamp": "2024-11-04T10:30:00Z", "correlation_id": "abc-123", "page": 1, "total_pages": 1, "total_records": 1 } }