Messaggi IO

Risorse per la spedizione, ricerca e consultazione dei messaggi

Send a new message.

post

Send a message through the service template. The service_instance parameter identifies the IO service through which the message is sent, and it's a configuration parameter provided by the service administrator. The placeholder list is also provided by the service administrator, and the API user has to provide the values. Upon receiving a call to this endpoint, GovIO builds the actual message to be sent to the IO services. In the process, the placeholders values are substituted in the message body and message subject by a template engine. A 201 response status denotes that the final message is built and scheduled by GovIO for the expedition to the IO services.

Authorizations
GovHub-Consumer-PrincipalstringRequired
Query parameters
service_instanceinteger · int64Required

Govio Service Instance Id.

Example: 1
idempotency_keystring · uuidRequired
Body
Responses
post
/messages

List Govio Messages

get

Read and Filter the Govio Messages.

Authorizations
GovHub-Consumer-PrincipalstringRequired
Query parameters
scheduled_expedition_date_fromstring · date-timeOptional
scheduled_expedition_date_tostring · date-timeOptional
expedition_date_fromstring · date-timeOptional
expedition_date_tostring · date-timeOptional
tax_codestring · min: 1 · max: 99999999OptionalPattern: [\s\S]*
service_idinteger · int64 · max: 9223372036854776000Optional

Service identifier.

Example: 1
organization_idinteger · int64 · max: 9223372036854776000Optional

Organization identifier.

Example: 1
service_qstring · max: 255OptionalExample: user_1Pattern: ^[^\u0000]*$
organization_qstring · max: 255OptionalExample: user_1Pattern: ^[^\u0000]*$
statusstring · enumOptional

Filters by message state.

Possible values:
sortstring · enumRequired

Sorting field.

Default: idPossible values:
sort_directionstring · enumRequired

Direction Sorting field.

Default: descPossible values:
limitinteger · int32 · min: 1 · max: 100Optional

Max number of provided items.

offsetinteger · int64 · max: 9223372036854776000Optional

offset (zero-based) of indexed results.

Default: 0
Responses
200

Successful operation.

application/hal+json
get
/messages

Reads a Govio Message

get

Read the message with the provided id.

Authorizations
GovHub-Consumer-PrincipalstringRequired
Path parameters
idinteger · int64Required

GovIO Message Id.

Example: 1
Responses
200

Successful operation.

application/hal+json
get
/messages/{id}

Last updated