ServiceImportPreviewActionDto
Preview for a single service action within a client
Properties
| Name | Type | Description |
|---|---|---|
| service | CodeAndNameDto | |
| action | string | What will happen: Create, Update, or Unchanged |
What will happen: Create, Update, or Unchanged | ||
| price | number | Price from the CSV. Null when the row has no price (the assignment is imported unpriced). |
Price from the CSV. Null when the row has no price (the assignment is imported unpriced). | ||
| frequency | string | Billing frequency from the CSV |
Billing frequency from the CSV | ||
| startDate | string | Start date from the CSV |
Start date from the CSV | ||
| endDate | string | End date from the CSV |
End date from the CSV | ||
| currentPrice | number | Current price of the existing assignment (null for creates) |
Current price of the existing assignment (null for creates) | ||
| currentFrequency | string | Current frequency of the existing assignment (null for creates) |
Current frequency of the existing assignment (null for creates) | ||
| currentStartDate | string | Current start date of the existing assignment (null for creates) |
Current start date of the existing assignment (null for creates) | ||
| currentEndDate | string | Current end date of the existing assignment (null for creates) |
Current end date of the existing assignment (null for creates) | ||
| autoInvoice | boolean | AutoInvoice value from the CSV (null if column absent) |
AutoInvoice value from the CSV (null if column absent) | ||
| nextBillingDate | string | Next billing date from the CSV (null if blank) |
Next billing date from the CSV (null if blank) | ||
| currentAutoInvoice | boolean | Current AutoInvoice of the existing assignment (null for creates) |
Current AutoInvoice of the existing assignment (null for creates) | ||
| currentNextBillingDate | string | Current next billing date of the existing assignment (null for creates) |
Current next billing date of the existing assignment (null for creates) | ||
| stage | string | Service stage name from the CSV (null if column blank) |
Service stage name from the CSV (null if column blank) | ||
| currentStage | string | Current service stage name of the existing assignment (null for creates) |
Current service stage name of the existing assignment (null for creates) | ||
JSON Example
{
"service": {
"code": "string",
"name": "string"
},
"action": "string",
"price": 0,
"frequency": "string",
"startDate": "string"
}