Messaging API (1.0)

Download OpenAPI specification:Download

Introduction

Messaging API allows managing messaging and notification settings.

Contact

If you have any questions, comments or feedback regarding our APIs, please contact developer@ovipro.fi.

Agencies' messaging settings

Manage messaging and notification settings for agencies

Get agency messaging settings

Get messaging and notification settings for the agency office. If no settings for the agency office exists default settings are returned.

Authorizations:
bearerAuth
query Parameters
agencyOfficeId
required
string <uuid> (AgencyOfficeId)
Example: agencyOfficeId=7bdffe48-0077-4de0-acd4-d9b9b1ab49f8

Unique identifier for the agency office in the UUID format.

header Parameters
Request-ID
required
string <uuid>
Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9

A unique id which identifies the HTTP request. The value of this header must be created by the client. This identifier is used for troubleshooting purposes.

Responses

Response samples

Content type
application/json
{
  • "agencyOfficeId": "123e4567-e89b-12d3-a456-426655440000",
  • "messageSettings": {
    }
}

Save agency messaging settings

Save messaging and notification settings for the agency office

Authorizations:
bearerAuth
header Parameters
Request-ID
required
string <uuid>
Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9

A unique id which identifies the HTTP request. The value of this header must be created by the client. This identifier is used for troubleshooting purposes.

Request Body schema: application/json
required

Messaging and notification settings for the agency office

agencyOfficeId
required
string <uuid> (AgencyOfficeId)

Unique identifier for the agency office in the UUID format.

required
object (MessageTypeSettings)

Settings for different message types

Responses

Request samples

Content type
application/json
{
  • "agencyOfficeId": "123e4567-e89b-12d3-a456-426655440000",
  • "messageSettings": {
    }
}

Response samples

Content type
application/json
{ }

Message survey settings

Manage settings for surveys used in messages

Get agency messaging survey settings

Get messaging survey settings for the agency office. If no settings for the agency office exists default settings are returned.

Authorizations:
bearerAuth
query Parameters
agencyOfficeId
required
string <uuid> (AgencyOfficeId)
Example: agencyOfficeId=7bdffe48-0077-4de0-acd4-d9b9b1ab49f8

Unique identifier for the agency office in the UUID format.

header Parameters
Request-ID
required
string <uuid>
Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9

A unique id which identifies the HTTP request. The value of this header must be created by the client. This identifier is used for troubleshooting purposes.

Responses

Response samples

Content type
application/json
{
  • "agencyOfficeId": "123e4567-e89b-12d3-a456-426655440000",
  • "surveySettings": {
    }
}

Save agency messaging survey settings

Save messaging survey settings for the agency office

Authorizations:
bearerAuth
header Parameters
Request-ID
required
string <uuid>
Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9

A unique id which identifies the HTTP request. The value of this header must be created by the client. This identifier is used for troubleshooting purposes.

Request Body schema: application/json
required

Messaging survey settings for the agency office

agencyOfficeId
required
string <uuid> (AgencyOfficeId)

Unique identifier for the agency office in the UUID format.

required
object (SurveyTypeSettings)

Settings for different survey types

Responses

Request samples

Content type
application/json
{
  • "agencyOfficeId": "123e4567-e89b-12d3-a456-426655440000",
  • "surveySettings": {
    }
}

Response samples

Content type
application/json
{ }

Parties' messaging settings

Manage messaging and notification settings for parties

Get party messaging settings

Get messaging and notification settings for the party. If no settings for the party exists default settings are returned.

Authorizations:
bearerAuth
query Parameters
partyId
required
string <uuid> (PartyId)
Example: partyId=6d8fcc0d-4a1c-4d7c-84f8-5dd871c12a33

Unique identifier for the party in the UUID format.

header Parameters
Request-ID
required
string <uuid>
Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9

A unique id which identifies the HTTP request. The value of this header must be created by the client. This identifier is used for troubleshooting purposes.

Responses

Response samples

Content type
application/json
{
  • "partyId": "6d8fcc0d-4a1c-4d7c-84f8-5dd871c12a33",
  • "isEmailSendingEnabled": true
}

Save party messaging settings

Save messaging and notification settings for the party

Authorizations:
bearerAuth
header Parameters
Request-ID
required
string <uuid>
Example: 9031d1c5-7d40-41dd-b2b8-7919a2fc4fe9

A unique id which identifies the HTTP request. The value of this header must be created by the client. This identifier is used for troubleshooting purposes.

Request Body schema: application/json
required

Messaging and notification settings for the party

partyId
required
string <uuid> (PartyId)

Unique identifier for the party in the UUID format.

isEmailSendingEnabled
required
boolean

Indicates whether email sending is enabled or disabled for this party.

Responses

Request samples

Content type
application/json
{
  • "partyId": "6d8fcc0d-4a1c-4d7c-84f8-5dd871c12a33",
  • "isEmailSendingEnabled": true
}

Response samples

Content type
application/json
{ }