UiPath Documentation
industry-department-solutions
latest
false
Supply Chain & Retail Solutions API guide
Wichtig :
Dieser Inhalt ist in der ausgewählten Sprache nicht verfügbar. Stattdessen wird der Inhalt in englischer Sprache angezeigt.

Project

project API resource representing project entities in the B2B pricing application, used for quote-based pricing categorization.

Overview​

The project resource represents project entities in the B2B pricing application. This resource stores project information including categorization details.

→ For business context (purpose, usage notes, how this resource is used in the solution), see Projects dataset in the User Guide.

Resource Endpoint​

/api/v2/ingest/object/{prefix}PROJECT{suffix}
/api/v2/ingest/object/{prefix}PROJECT{suffix}

Supported Methods​

MethodReturn TypeDescription
POSTResponseIngest (create/update) project records via UPSERT operation

Request Headers​

HeaderRequiredDescription
AuthorizationYesYour Personal Access Token (PAT) from platform.peak.ai
Content-TypeYesMust be application/json

Properties​

Primary Keys​

  • project_id (string) - Unique identifier for the project
  • updated_at (datetime) - Timestamp of when the record was last updated

Attributes​

About Required + Nullable: every attribute key must appear in each payload (Required: Yes). Nullable: Yes means the value can be null when you don't have data; Nullable: No means a non-null value is required. See Schema definition structure for the underlying rules.

AttributeData TypeRequiredNullableDescription
project_idstringYesNoUnique identifier for each project. Used to join project metadata to quotations and sales for model training and guardrails.
updated_atdatetimeYesYesTimestamp when the record was updated. Used to identify the most up-to-date data in the UI and to match project metadata to the date of each quote in model training.
project_namestringYesNoProject name. Used in the UI to identify projects.
project_categorystringYesYesProject category. Used in model training as a feature to determine the optimal quote price.
project_subcategorystringYesYesProject sub-category. Used in model training as a feature to determine the optimal quote price.

Relationships​

Outbound References​

This resource has relationships to:

  • quote_line - Projects can be associated with multiple quote lines

Inbound References​

None

JSON Representation​

{
  "solutionName": "QP_OOTB",
  "data": [
    {
      "project_id": "PROJ-001",
      "updated_at": "2025-01-28T10:00:00Z",
      "project_name": "Digital Transformation Initiative",
      "project_category": "IT",
      "project_subcategory": "Enterprise"
    }
  ],
  "operationType": "UPSERT"
}
{
  "solutionName": "QP_OOTB",
  "data": [
    {
      "project_id": "PROJ-001",
      "updated_at": "2025-01-28T10:00:00Z",
      "project_name": "Digital Transformation Initiative",
      "project_category": "IT",
      "project_subcategory": "Enterprise"
    }
  ],
  "operationType": "UPSERT"
}

Example Request​

curl -X POST \
  'https://ingestion.peak.ai/api/v2/objects/QP_PROJECT_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "QP_OOTB",
    "data": [
      {
        "project_id": "PROJ-001",
        "updated_at": "2025-01-28T10:00:00Z",
        "project_name": "Digital Transformation Initiative",
        "project_category": "IT",
        "project_subcategory": "Enterprise"
      }
    ],
    "operationType": "UPSERT"
  }'
curl -X POST \
  'https://ingestion.peak.ai/api/v2/objects/QP_PROJECT_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "QP_OOTB",
    "data": [
      {
        "project_id": "PROJ-001",
        "updated_at": "2025-01-28T10:00:00Z",
        "project_name": "Digital Transformation Initiative",
        "project_category": "IT",
        "project_subcategory": "Enterprise"
      }
    ],
    "operationType": "UPSERT"
  }'

Important Notes​

  • Custom Attributes: Custom attributes can be added with POST /api/v2/schema/{objectName}/add-attribute, where {objectName} is this table's fully qualified warehouse name ({prefix}PROJECT{suffix} — for example, QP_PROJECT_OOTB), as returned by Describe a solution's schema
  • Data Validation: All attributes are validated according to their defined data types
  • quote_line - Quote line items associated with projects

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben