Vitas.PdfService (Version 1, 2020-2)
Siden opdateres automatisk til at afspejle koden. CodeFirst.
Denne service har ansvar for at generere en PDF pba. en bevilling i Vitas.
Metoder
- 1 GetPdf
GetPdf
Denne metode genererer en PDF pba. oplysninger om en specifik bevilling.
Scope
Ikke defineret
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
VitasGetPdfRequest | VitasGetPdfRequestType |
| 1 |
|
- Identifier | guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Nøgle: ID der angiver hvilken bevilling, der skal returneres. Kaldes JobIdentifier i WSRM. |
- VitasFormSubTypes | int |
| 1 | Formtypen i Vitas (eksempel tilbud, bevilling eller noget andet). |
- VitasFormTypes | int |
| 1 | Typen af bevilling. |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
VitasGetPdfResponseType | VitasGetPdfResponseType |
| 1 | Et svar som indeholder en PDF samt nødvendige oplysninger om bevillingen. |
- JobOrderTypeIdentifier | int |
| 0 - 1 |
|
- PdfContent | base64Binary |
| 0 - 1 |
|
- PersonCivilRegistrationIdentifier | string |
| 0 - 1 |
|
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
4575 | You are not authorized to execute the operation | You are not authorized to execute the operation |
80002 | The allocation was not found for the provided Id. | The allocation was not found for the provided Id. |
80004 | The VITAS form type is not supported. | The VITAS form type is not supported. |
80005 | The VITAS form subtype is not supported. | The VITAS form subtype is not supported. |