GET osapuolitiedot/yhteydenotot/viestiketjut/{viestiketjuId}
!!!Vain sisäiseen käyttöön!!! Palauttaa listan yhteudenotoista viestiketjuid:n perusteella
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| viestiketjuId | Viestiketjun parentin id | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ApiOsapuoliYhteydenottoResponse
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | Yhteydenoton yksilöllinen id | integer | Required |
| ViestiketjuId | Yhteydenoton viestiketjun id. | integer | Required |
| Pvm | Yhteydenoton ajankohta | date | Required |
| OsapuoliId | Asiakkaan osapuoliId | integer | Required |
| Lahde | Lähde, josta otettu yhteyttä | string | None. |
| SoittoId | Puhelun id | string | None. |
| LuokitteluId | string | None. | |
| Yhteydenottotapa | Yhteydenottotapa | ApiYhteydenottotapaInt | Required |
| Aihe | Yhteydenoton aihe | string | None. |
| Kuvaus | Kuvaus yhteydenotosta | string | None. |
| Lahetetty | Järjestelmästä ulospäin osapuolelle lähetty viesti | boolean | Required |
| Tila | Yhteydenoton tila. | ApiOsapuoliYhteydenottoTila | Required |
| Luokittelut | Yhteydenoton luokittelut. | Collection of ApiOsapuoliYhteydenottoLuokitteluResponse | Required |
| Lisatty | Kertoo koska yhteydenotto on lisätty järjestelmään. | ApiOsapuoliYhteydenottoTapahtumaResponse | Required |
| Luettu | Kertoo koska yhteydenotto on luettu. | ApiOsapuoliYhteydenottoTapahtumaResponse | Required |
| Kasitelty | Kertoo koska yhteydenotto on käsitelty. | ApiOsapuoliYhteydenottoTapahtumaResponse | Required |
| Liitteet | Yhteydenoton liitteet. | Collection of ApiOsapuoliYhteydenottoLiite | None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ViestiketjuId": 2,
"Pvm": "2025-10-24T07:22:17.2546148+03:00",
"OsapuoliId": 4,
"Lahde": "sample string 5",
"SoittoId": "sample string 6",
"LuokitteluId": "sample string 7",
"Yhteydenottotapa": 0,
"Aihe": "sample string 8",
"Kuvaus": "sample string 9",
"Lahetetty": true,
"Tila": 0,
"Luokittelut": [
{
"Id": 1,
"SeliteFI": "sample string 2",
"SeliteEN": "sample string 3",
"SeliteSE": "sample string 4"
},
{
"Id": 1,
"SeliteFI": "sample string 2",
"SeliteEN": "sample string 3",
"SeliteSE": "sample string 4"
}
],
"Lisatty": {
"Tunnus": "sample string 1",
"Aikaleima": "2025-10-24T07:22:17.2546148+03:00"
},
"Luettu": {
"Tunnus": "sample string 1",
"Aikaleima": "2025-10-24T07:22:17.2546148+03:00"
},
"Kasitelty": {
"Tunnus": "sample string 1",
"Aikaleima": "2025-10-24T07:22:17.2546148+03:00"
},
"Liitteet": [
{
"LiiteId": 1,
"MimeType": "sample string 2",
"Koko": 3.1,
"Nimi": "sample string 4",
"URL": "sample string 5"
},
{
"LiiteId": 1,
"MimeType": "sample string 2",
"Koko": 3.1,
"Nimi": "sample string 4",
"URL": "sample string 5"
}
]
},
{
"Id": 1,
"ViestiketjuId": 2,
"Pvm": "2025-10-24T07:22:17.2546148+03:00",
"OsapuoliId": 4,
"Lahde": "sample string 5",
"SoittoId": "sample string 6",
"LuokitteluId": "sample string 7",
"Yhteydenottotapa": 0,
"Aihe": "sample string 8",
"Kuvaus": "sample string 9",
"Lahetetty": true,
"Tila": 0,
"Luokittelut": [
{
"Id": 1,
"SeliteFI": "sample string 2",
"SeliteEN": "sample string 3",
"SeliteSE": "sample string 4"
},
{
"Id": 1,
"SeliteFI": "sample string 2",
"SeliteEN": "sample string 3",
"SeliteSE": "sample string 4"
}
],
"Lisatty": {
"Tunnus": "sample string 1",
"Aikaleima": "2025-10-24T07:22:17.2546148+03:00"
},
"Luettu": {
"Tunnus": "sample string 1",
"Aikaleima": "2025-10-24T07:22:17.2546148+03:00"
},
"Kasitelty": {
"Tunnus": "sample string 1",
"Aikaleima": "2025-10-24T07:22:17.2546148+03:00"
},
"Liitteet": [
{
"LiiteId": 1,
"MimeType": "sample string 2",
"Koko": 3.1,
"Nimi": "sample string 4",
"URL": "sample string 5"
},
{
"LiiteId": 1,
"MimeType": "sample string 2",
"Koko": 3.1,
"Nimi": "sample string 4",
"URL": "sample string 5"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfApiOsapuoliYhteydenottoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agenteq.Tampuuri.ApplicationServiceApi.Contract.Asiakaspalvelu">
<ApiOsapuoliYhteydenottoResponse>
<Aihe>sample string 8</Aihe>
<Id>1</Id>
<Kasitelty>
<Aikaleima>2025-10-24T07:22:17.2546148+03:00</Aikaleima>
<Tunnus>sample string 1</Tunnus>
</Kasitelty>
<Kuvaus>sample string 9</Kuvaus>
<Lahde>sample string 5</Lahde>
<Lahetetty>true</Lahetetty>
<Liitteet>
<ApiOsapuoliYhteydenottoLiite>
<Koko>3.1</Koko>
<LiiteId>1</LiiteId>
<MimeType>sample string 2</MimeType>
<Nimi>sample string 4</Nimi>
<URL>sample string 5</URL>
</ApiOsapuoliYhteydenottoLiite>
<ApiOsapuoliYhteydenottoLiite>
<Koko>3.1</Koko>
<LiiteId>1</LiiteId>
<MimeType>sample string 2</MimeType>
<Nimi>sample string 4</Nimi>
<URL>sample string 5</URL>
</ApiOsapuoliYhteydenottoLiite>
</Liitteet>
<Lisatty>
<Aikaleima>2025-10-24T07:22:17.2546148+03:00</Aikaleima>
<Tunnus>sample string 1</Tunnus>
</Lisatty>
<Luettu>
<Aikaleima>2025-10-24T07:22:17.2546148+03:00</Aikaleima>
<Tunnus>sample string 1</Tunnus>
</Luettu>
<LuokitteluId>sample string 7</LuokitteluId>
<Luokittelut>
<ApiOsapuoliYhteydenottoLuokitteluResponse>
<Id>1</Id>
<SeliteEN>sample string 3</SeliteEN>
<SeliteFI>sample string 2</SeliteFI>
<SeliteSE>sample string 4</SeliteSE>
</ApiOsapuoliYhteydenottoLuokitteluResponse>
<ApiOsapuoliYhteydenottoLuokitteluResponse>
<Id>1</Id>
<SeliteEN>sample string 3</SeliteEN>
<SeliteFI>sample string 2</SeliteFI>
<SeliteSE>sample string 4</SeliteSE>
</ApiOsapuoliYhteydenottoLuokitteluResponse>
</Luokittelut>
<OsapuoliId>4</OsapuoliId>
<Pvm>2025-10-24T07:22:17.2546148+03:00</Pvm>
<SoittoId>sample string 6</SoittoId>
<Tila>Koskematon</Tila>
<ViestiketjuId>2</ViestiketjuId>
<Yhteydenottotapa>Soitto</Yhteydenottotapa>
</ApiOsapuoliYhteydenottoResponse>
<ApiOsapuoliYhteydenottoResponse>
<Aihe>sample string 8</Aihe>
<Id>1</Id>
<Kasitelty>
<Aikaleima>2025-10-24T07:22:17.2546148+03:00</Aikaleima>
<Tunnus>sample string 1</Tunnus>
</Kasitelty>
<Kuvaus>sample string 9</Kuvaus>
<Lahde>sample string 5</Lahde>
<Lahetetty>true</Lahetetty>
<Liitteet>
<ApiOsapuoliYhteydenottoLiite>
<Koko>3.1</Koko>
<LiiteId>1</LiiteId>
<MimeType>sample string 2</MimeType>
<Nimi>sample string 4</Nimi>
<URL>sample string 5</URL>
</ApiOsapuoliYhteydenottoLiite>
<ApiOsapuoliYhteydenottoLiite>
<Koko>3.1</Koko>
<LiiteId>1</LiiteId>
<MimeType>sample string 2</MimeType>
<Nimi>sample string 4</Nimi>
<URL>sample string 5</URL>
</ApiOsapuoliYhteydenottoLiite>
</Liitteet>
<Lisatty>
<Aikaleima>2025-10-24T07:22:17.2546148+03:00</Aikaleima>
<Tunnus>sample string 1</Tunnus>
</Lisatty>
<Luettu>
<Aikaleima>2025-10-24T07:22:17.2546148+03:00</Aikaleima>
<Tunnus>sample string 1</Tunnus>
</Luettu>
<LuokitteluId>sample string 7</LuokitteluId>
<Luokittelut>
<ApiOsapuoliYhteydenottoLuokitteluResponse>
<Id>1</Id>
<SeliteEN>sample string 3</SeliteEN>
<SeliteFI>sample string 2</SeliteFI>
<SeliteSE>sample string 4</SeliteSE>
</ApiOsapuoliYhteydenottoLuokitteluResponse>
<ApiOsapuoliYhteydenottoLuokitteluResponse>
<Id>1</Id>
<SeliteEN>sample string 3</SeliteEN>
<SeliteFI>sample string 2</SeliteFI>
<SeliteSE>sample string 4</SeliteSE>
</ApiOsapuoliYhteydenottoLuokitteluResponse>
</Luokittelut>
<OsapuoliId>4</OsapuoliId>
<Pvm>2025-10-24T07:22:17.2546148+03:00</Pvm>
<SoittoId>sample string 6</SoittoId>
<Tila>Koskematon</Tila>
<ViestiketjuId>2</ViestiketjuId>
<Yhteydenottotapa>Soitto</Yhteydenottotapa>
</ApiOsapuoliYhteydenottoResponse>
</ArrayOfApiOsapuoliYhteydenottoResponse>