# Create a new status summary for a Delivery Engagement

Create a status summary for a Delivery Engagement

Endpoint: POST /api/engagements/{engagementId}/delivery-status-summaries
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `engagementId` (string, required)
    The unique Salesforce ID of the Delivery Engagement. This is REQUIRED.

## Request fields (application/json):

  - `SummaryDate` (string, required)
    REQUIRED: A date within the desired time period (e.g. 2026-07-15). The service resolves the matching TimePeriod__c record automatically.

  - `DeliveryStatusId` (string)
    The Salesforce ID of the DeliveryStatus__c (delivery status) for this summary. REQUIRED unless a TemplateId is provided, in which case it falls back to the template's default status.

  - `Narrative` (string)
    The narrative text summarising the status of the Delivery Engagement for this period. Overrides the template's default narrative when a TemplateId is provided.

  - `TemplateId` (string)
    The Salesforce ID of a StatusSummaryTemplate__c to pre-populate perspective details from.

  - `Perspectives` (array)
    Per-perspective status and narrative overrides when using a TemplateId. Falls back to DeliveryStatusId and the template narrative if a perspective is not listed.

  - `Perspectives.DeliveryPerspectiveId` (string, required)
    The Salesforce ID of the Delivery Perspective this entry applies to. REQUIRED.

  - `Perspectives.DeliveryStatusId` (string)
    The Salesforce ID of the delivery status value for this perspective. REQUIRED when the template perspective is mandatory.

  - `Perspectives.Narrative` (string)
    The narrative text for this perspective. Overrides the template default. REQUIRED when the template perspective is mandatory and the template defines no default narrative.

  - `SharedWithCustomer` (boolean)
    Set to true to create an external (shared with customer) status summary. The engagement must have SharedWithCustomer enabled.

## Response 202:

  - `202` (unknown)
    Success - Created

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

