restricted

UpsertUserDataProcessing

Upsert a user data processing

post/user-data-processing/{fiscal_code}

Request

  • Base URL: https://api.cd.italia.it/api/v1
  • URL: https://api.cd.italia.it/api/v1/user-data-processing/{fiscal_code}
  • Auth: API key in header X-Functions-Key

Path parameters

fiscal_codestring required

The fiscal code of the user, all upper case.

Request body

choice'DOWNLOAD' | 'DELETE' required

User's choice to delete or download his own data.

Example request

{
  "choice": "DOWNLOAD"
}

Response

UserDataProcessing created

choice'DOWNLOAD' | 'DELETE' required

User's choice to delete or download his own data.

status'PENDING' | 'WIP' | 'CLOSED' | 'FAILED' | 'ABORTED' required

The status of a user data processing request

created_atstring UTCISODateFromString

A date-time field in ISO-8601 format and UTC timezone.

updated_atstring UTCISODateFromString

A date-time field in ISO-8601 format and UTC timezone.

versioninteger required

Example response

{
  "choice": "DOWNLOAD",
  "status": "PENDING",
  "created_at": "2018-10-13T00:00:00.000Z",
  "updated_at": "2018-10-13T00:00:00.000Z"
}

Changes

No recorded changes to this operation across all 8 revisions of this API.