Ddt

Retrieves the collection of Ddt resources.

Retrieves the collection of Ddt resources.

SecurityBearer
Request
query Parameters
page
integer
Default: 1

The collection page number

itemsPerPage
integer [ 0 .. 100 ]
Default: 30

The number of items per page

status
string
created_at[before]
string
created_at[strictly_before]
string
created_at[after]
string
created_at[strictly_after]
string
Responses
200

Ddt collection

get/preserved-documents/it/ddt
Request samples
Response samples
[
  • {
    }
]

Creates a Ddt resource.

Creates a Ddt resource.

SecurityBearer
Request
Request Body schema: multipart/form-data
optional
file
required
string <binary>

Document to preserve.

Responses
201

Ddt resource created

400

Invalid input

422

Unprocessable entity

post/preserved-documents/it/ddt
Request samples
Response samples
{
  • "uuid": "string"
}

Retrieves a Ddt resource.

Retrieves a Ddt resource.

SecurityBearer
Request
path Parameters
uuid
required
string <uuid>
Responses
200

Ddt resource

404

Resource not found

get/preserved-documents/it/ddt/{uuid}
Request samples
Response samples
{
  • "uuid": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "preserved_object_id": "string",
  • "original_filename": "string",
  • "status": "string",
  • "status_history": {
    },
  • "error_message": "string"
}

Delete the identified resource.

Delete the identified resource.

SecurityBearer
Request
path Parameters
uuid
required
string <uuid>
Responses
204

The resource has been deleted.

400

The resource cannot be deleted because it is already stored.

404

The resource does not exist.

delete/preserved-documents/it/ddt/{uuid}
Request samples

Get the preservation document File.

Get the preservation document File .

SecurityBearer
Request
path Parameters
uuid
required
string <uuid>
Responses
200

The preservation document File.

404

The preservation document File was not found.

get/preserved-documents/it/ddt/{uuid}/original-document
Request samples

Get the preservation receipt of the resource.

Get the preservation receipt of the resource.

SecurityBearer
Request
path Parameters
uuid
required
string <uuid>
Responses
200

The preservation receipt of the resource.

404

Resource not found

get/preserved-documents/it/ddt/{uuid}/receipt
Request samples

Start the preservation process for the identified resource.

Start the preservation process for the identified resource.

SecurityBearer
Request
path Parameters
uuid
required
string <uuid>
Request Body schema:
required

The new Ddt resource

data_registrazione_documento
required
string

Date of registration of the document.

numero_registrazione_documento
required
string

Registration number of the document

versione_del_documento
required
string

The version of the document.

oggetto
required
string

Descrizione del documento

required
object (SoggettoInput)
object (SoggettoInput)
required
object (SoggettoInput)
riservato
boolean

Security level for accessing the document. Can assume the following values: true if the document is considered confidential, false if is not.

object (VerificaInput)
Responses
201

Ddt resource created

400

Invalid input

422

Unprocessable entity

post/preserved-documents/it/ddt/{uuid}/send
Request samples
{
  • "data_registrazione_documento": "string",
  • "numero_registrazione_documento": "string",
  • "versione_del_documento": "string",
  • "oggetto": "string",
  • "soggetto_che_effettua_la_registrazione": {
    },
  • "mittente": {
    },
  • "destinatario": {
    },
  • "riservato": true,
  • "verifica": {
    }
}
Response samples
{
  • "uuid": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "preserved_object_id": "string",
  • "original_filename": "string",
  • "status": "string",
  • "status_history": {
    },
  • "error_message": "string"
}