ContrattiFornitori

Retrieves the collection of ContrattiFornitori resources.

Retrieves the collection of ContrattiFornitori 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

ContrattiFornitori collection

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

Creates a ContrattiFornitori resource.

Creates a ContrattiFornitori resource.

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

Document to preserve.

Responses
201

ContrattiFornitori resource created

400

Invalid input

422

Unprocessable entity

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

Retrieves a ContrattiFornitori resource.

Retrieves a ContrattiFornitori resource.

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

ContrattiFornitori resource

404

Resource not found

get/preserved-documents/it/contratti-fornitori/{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/contratti-fornitori/{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/contratti-fornitori/{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/contratti-fornitori/{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 ContrattiFornitori 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.

required
object (SoggettoInput)
required
object (PersonaFisicaWithTaxCodeInput)
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

ContrattiFornitori resource created

400

Invalid input

422

Unprocessable entity

post/preserved-documents/it/contratti-fornitori/{uuid}/send
Request samples
{
  • "data_registrazione_documento": "string",
  • "numero_registrazione_documento": "string",
  • "versione_del_documento": "string",
  • "soggetto_che_effettua_la_registrazione": {
    },
  • "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"
}