---
title: Activity
summary: API reference for Activity.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data.Guidewire
reference_type: package
---

# Activity

Activity is the request payload posted when creating a Guidewire claim activity*, carrying the activity's description, subject, scheduling dates, and enum-typed classification (priority, pattern code, role) alongside the target claim number and assigned user. The `activityPriority`, `activityPatternCode`, and `activityRole` properties are serialized as their string enum names via `StringEnumConverter` rather than as numeric values. Null properties on this type are omitted from the serialized request ([SDG-BR-010](../../business-rules.md#sdg-br-010-null-activity-properties-omitted-from-serialized-request)).

## Purpose
- Carries the description, subject, priority, pattern code, role, and scheduling data for a single Guidewire claim activity to be created*

## Context
- Namespace: `SAIF.Data.Guidewire.Models.ActivityDataApi`
- Assembly/package: `SAIF.Data.Guidewire` (packaged in `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| activityDescription | `public string activityDescription { get; set; }` | Free-text description of the activity |
| activityPriority | `public ActivityPriority activityPriority { get; set; }` | Priority classification, serialized as its enum name |
| activityPatternCode | `public ActivityPatternCode activityPatternCode { get; set; }` | Guidewire activity pattern code classification, serialized as its enum name |
| activityRole | `public ActivityRole activityRole { get; set; }` | Role the activity is assigned to, serialized as its enum name |
| activitySubject | `public string activitySubject { get; set; }` | Subject line of the activity |
| mandatory | `public bool mandatory { get; set; }` | Whether the activity is mandatory* |
| claimNumber | `public string claimNumber { get; set; }` | Claim number the activity is created against |
| defaultToAdjuster | `public bool defaultToAdjuster { get; set; }` | Whether the activity defaults to the assigned adjuster* |
| escalationStartDate | `public DateTime? escalationStartDate { get; set; }` | Optional date escalation begins |
| targetDate | `public DateTime? targetDate { get; set; }` | Optional target completion date for the activity |
| userName | `public string userName { get; set; }` | User the activity is assigned to |

## Behavioral notes
- Null properties on this type are omitted from the serialized request body ([SDG-BR-010](../../business-rules.md#sdg-br-010-null-activity-properties-omitted-from-serialized-request)).
- `activityPriority`, `activityPatternCode`, and `activityRole` are serialized/deserialized as strings using `[JsonConverter(typeof(StringEnumConverter))]`, not numeric enum values.

## Sources
- Data/SAIF.Data.Guidewire/Models/ActvityDataApi/Activity.cs
