ServiceImportPreviewDto
Preview of what a service CSV import will do, returned before the user confirms.
Properties
| Name | Type | Description |
|---|---|---|
| asyncJobCode | string | Job code to pass to the confirm endpoint to execute the import |
Job code to pass to the confirm endpoint to execute the import | ||
| fileName | string | Original filename |
Original filename | ||
| clients | array of ServiceImportPreviewClientDto | Per-client breakdown of what will happen |
Per-client breakdown of what will happen | ||
| totalClients | integer | Total number of client rows in the CSV |
Total number of client rows in the CSV | ||
| clientsFound | integer | Number of clients matched to existing clients |
Number of clients matched to existing clients | ||
| clientsNotFound | integer | Number of client rows where no matching client was found |
Number of client rows where no matching client was found | ||
| servicesToCreate | integer | Number of new service assignments that will be created |
Number of new service assignments that will be created | ||
| servicesToUpdate | integer | Number of existing service assignments that will be updated (values differ) |
Number of existing service assignments that will be updated (values differ) | ||
| servicesUnchanged | integer | Number of existing service assignments that are unchanged and will be skipped |
Number of existing service assignments that are unchanged and will be skipped | ||
JSON Example
{
"asyncJobCode": "string",
"fileName": "string",
"clients": [
{
"client": "...",
"csvClientName": "...",
"error": "...",
"services": "..."
}
],
"totalClients": 0,
"clientsFound": 0
}