GET api/CommonDiscussion/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
CommonDiscussion| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Subject | string |
None. |
|
| IsOpened | boolean |
None. |
|
| Messages | Collection of CommonMessage |
None. |
|
| LastMessage | CommonMessage |
None. |
|
| FirstMessage | CommonMessage |
None. |
|
| Contact | CommonUser |
None. |
|
| Members | Collection of CommonUser |
None. |
|
| CompanyMember | CommonCompany |
None. |
|
| LastMessageElapsedTime | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "3c842abc-fb4e-4c39-a29a-5b57966d21db",
"Subject": "sample string 1",
"IsOpened": true,
"Messages": [
{
"From": "29d9cdb4-e9ff-4d05-984a-058b835f80eb",
"DiscussionId": "14f10789-13b6-4552-9dcc-d591fdf185fe",
"Date": "2025-12-11T00:19:39.8996891+01:00",
"Content": "sample string 4"
},
{
"From": "29d9cdb4-e9ff-4d05-984a-058b835f80eb",
"DiscussionId": "14f10789-13b6-4552-9dcc-d591fdf185fe",
"Date": "2025-12-11T00:19:39.8996891+01:00",
"Content": "sample string 4"
}
],
"LastMessage": {
"From": "29d9cdb4-e9ff-4d05-984a-058b835f80eb",
"DiscussionId": "14f10789-13b6-4552-9dcc-d591fdf185fe",
"Date": "2025-12-11T00:19:39.8996891+01:00",
"Content": "sample string 4"
},
"FirstMessage": {
"From": "29d9cdb4-e9ff-4d05-984a-058b835f80eb",
"DiscussionId": "14f10789-13b6-4552-9dcc-d591fdf185fe",
"Date": "2025-12-11T00:19:39.8996891+01:00",
"Content": "sample string 4"
},
"Contact": {
"Id": "9efec2a9-bd23-4574-8a0e-601092586a0d",
"Nom": "sample string 2",
"Prenom": "sample string 3",
"Email": "sample string 4",
"EmailConfirmed": true,
"PhoneNumber": "sample string 6",
"PhoneNumberConfirmed": true,
"TwoFactorEnabled": true,
"LockoutEndDateUtc": "2025-12-11T00:19:39.8996891+01:00",
"LockoutEnabled": true,
"AccessFailedCount": 10,
"UserName": "sample string 11",
"ProfileImageContent": "sample string 12",
"ProfileImageName": "sample string 13",
"NewProfileImageContent": "sample string 14",
"Roles": [
{
"Id": "9e3d2582-364e-4bee-8435-ddc224831d05",
"Nom": "sample string 2"
},
{
"Id": "9e3d2582-364e-4bee-8435-ddc224831d05",
"Nom": "sample string 2"
}
],
"ProfileImageUrl": "sample string 15"
},
"Members": [
{
"Id": "9efec2a9-bd23-4574-8a0e-601092586a0d",
"Nom": "sample string 2",
"Prenom": "sample string 3",
"Email": "sample string 4",
"EmailConfirmed": true,
"PhoneNumber": "sample string 6",
"PhoneNumberConfirmed": true,
"TwoFactorEnabled": true,
"LockoutEndDateUtc": "2025-12-11T00:19:39.8996891+01:00",
"LockoutEnabled": true,
"AccessFailedCount": 10,
"UserName": "sample string 11",
"ProfileImageContent": "sample string 12",
"ProfileImageName": "sample string 13",
"NewProfileImageContent": "sample string 14",
"Roles": [
{
"Id": "9e3d2582-364e-4bee-8435-ddc224831d05",
"Nom": "sample string 2"
},
{
"Id": "9e3d2582-364e-4bee-8435-ddc224831d05",
"Nom": "sample string 2"
}
],
"ProfileImageUrl": "sample string 15"
},
{
"Id": "9efec2a9-bd23-4574-8a0e-601092586a0d",
"Nom": "sample string 2",
"Prenom": "sample string 3",
"Email": "sample string 4",
"EmailConfirmed": true,
"PhoneNumber": "sample string 6",
"PhoneNumberConfirmed": true,
"TwoFactorEnabled": true,
"LockoutEndDateUtc": "2025-12-11T00:19:39.8996891+01:00",
"LockoutEnabled": true,
"AccessFailedCount": 10,
"UserName": "sample string 11",
"ProfileImageContent": "sample string 12",
"ProfileImageName": "sample string 13",
"NewProfileImageContent": "sample string 14",
"Roles": [
{
"Id": "9e3d2582-364e-4bee-8435-ddc224831d05",
"Nom": "sample string 2"
},
{
"Id": "9e3d2582-364e-4bee-8435-ddc224831d05",
"Nom": "sample string 2"
}
],
"ProfileImageUrl": "sample string 15"
}
],
"CompanyMember": {
"Id": "sample string 1",
"CorporateName": "sample string 2",
"Siret": "sample string 3",
"AdressRoad": "sample string 4",
"AdressComp": "sample string 5",
"AdressPostalCode": "sample string 6",
"AdressCity": "sample string 7",
"Resume": "sample string 8",
"LogoName": "sample string 9",
"LogoContent": "sample string 10",
"NewLogoContent": "sample string 11",
"ImageName": "sample string 12",
"ImageContent": "sample string 13",
"NewImageContent": "sample string 14",
"LogoUrl": "sample string 15",
"VitrineUrl": "sample string 16",
"Accepted": true,
"Activity": "sample string 18",
"AcceptedPaymentTypes": [
{
"Id": "16766bab-66e1-41aa-9183-0f195d08bc8c",
"ShortName": "sample string 2",
"FullName": "sample string 3",
"LogoName": "sample string 4",
"LogoContent": "sample string 5",
"ImageUrl": "sample string 6"
},
{
"Id": "16766bab-66e1-41aa-9183-0f195d08bc8c",
"ShortName": "sample string 2",
"FullName": "sample string 3",
"LogoName": "sample string 4",
"LogoContent": "sample string 5",
"ImageUrl": "sample string 6"
}
],
"AvailableMerchantServices": [
{
"Id": "bce57dcf-d424-4212-a77b-67c1d3771f6a",
"ShortName": "sample string 2",
"FullName": "sample string 3",
"LogoName": "sample string 4",
"LogoContent": "sample string 5",
"ImageUrl": "sample string 6"
},
{
"Id": "bce57dcf-d424-4212-a77b-67c1d3771f6a",
"ShortName": "sample string 2",
"FullName": "sample string 3",
"LogoName": "sample string 4",
"LogoContent": "sample string 5",
"ImageUrl": "sample string 6"
}
],
"WorkingPlaces": [
{
"CompanyId": "de902cd8-2be2-4e36-836d-975b4495fb47",
"Id": "sample string 2",
"Name": "sample string 3",
"AdressRoad": "sample string 4",
"AdressComp": "sample string 5",
"AdressPostalCode": "sample string 6",
"AdressCity": "sample string 7",
"GPS_Latitude": 8.1,
"GPS_Longitude": 9.1
},
{
"CompanyId": "de902cd8-2be2-4e36-836d-975b4495fb47",
"Id": "sample string 2",
"Name": "sample string 3",
"AdressRoad": "sample string 4",
"AdressComp": "sample string 5",
"AdressPostalCode": "sample string 6",
"AdressCity": "sample string 7",
"GPS_Latitude": 8.1,
"GPS_Longitude": 9.1
}
],
"Openings": {
"Monday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"Tuesday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"Wednesday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"Thursday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"Friday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"Saturday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"Sunday": {
"DayOfWeek": 1,
"P1Opened": true,
"P1From": "00:00:00.1234567",
"P1FromStr": "00:00",
"P1To": "00:00:00.1234567",
"P1ToStr": "00:00",
"P2Opened": true,
"P2From": "00:00:00.1234567",
"P2FromStr": "00:00",
"P2To": "00:00:00.1234567",
"P2ToStr": "00:00",
"P1WorkingPlaceId": "sample string 8",
"P2WorkingPlaceId": "sample string 9"
},
"CompanyId": "05e3379e-4d12-4923-b1a1-fd538ff69e36",
"HasOpening": true,
"CurrentOpeningState": false
},
"FavoritesCount": 19,
"PendingBasketsCount": 20,
"IsDelegatedToMe": true,
"IsOwnedByMe": true
},
"LastMessageElapsedTime": "Maintenant"
}
application/xml, text/xml
Sample:
<CommonDiscussion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MesHalles.Common.Objects">
<CompanyMember>
<Accepted>true</Accepted>
<AcceptedPaymentTypes>
<CommonPaymentType>
<FullName>sample string 3</FullName>
<Id>16766bab-66e1-41aa-9183-0f195d08bc8c</Id>
<ImageUrl>sample string 6</ImageUrl>
<LogoContent>sample string 5</LogoContent>
<LogoName>sample string 4</LogoName>
<ShortName>sample string 2</ShortName>
</CommonPaymentType>
<CommonPaymentType>
<FullName>sample string 3</FullName>
<Id>16766bab-66e1-41aa-9183-0f195d08bc8c</Id>
<ImageUrl>sample string 6</ImageUrl>
<LogoContent>sample string 5</LogoContent>
<LogoName>sample string 4</LogoName>
<ShortName>sample string 2</ShortName>
</CommonPaymentType>
</AcceptedPaymentTypes>
<Activity>sample string 18</Activity>
<AdressCity>sample string 7</AdressCity>
<AdressComp>sample string 5</AdressComp>
<AdressPostalCode>sample string 6</AdressPostalCode>
<AdressRoad>sample string 4</AdressRoad>
<AvailableMerchantServices>
<CommonMerchantService>
<FullName>sample string 3</FullName>
<Id>bce57dcf-d424-4212-a77b-67c1d3771f6a</Id>
<ImageUrl>sample string 6</ImageUrl>
<LogoContent>sample string 5</LogoContent>
<LogoName>sample string 4</LogoName>
<ShortName>sample string 2</ShortName>
</CommonMerchantService>
<CommonMerchantService>
<FullName>sample string 3</FullName>
<Id>bce57dcf-d424-4212-a77b-67c1d3771f6a</Id>
<ImageUrl>sample string 6</ImageUrl>
<LogoContent>sample string 5</LogoContent>
<LogoName>sample string 4</LogoName>
<ShortName>sample string 2</ShortName>
</CommonMerchantService>
</AvailableMerchantServices>
<CorporateName>sample string 2</CorporateName>
<FavoritesCount>19</FavoritesCount>
<Id>sample string 1</Id>
<ImageContent>sample string 13</ImageContent>
<ImageName>sample string 12</ImageName>
<IsDelegatedToMe>true</IsDelegatedToMe>
<IsOwnedByMe>true</IsOwnedByMe>
<LogoContent>sample string 10</LogoContent>
<LogoName>sample string 9</LogoName>
<LogoUrl>sample string 15</LogoUrl>
<NewImageContent>sample string 14</NewImageContent>
<NewLogoContent>sample string 11</NewLogoContent>
<Openings>
<CompanyId>05e3379e-4d12-4923-b1a1-fd538ff69e36</CompanyId>
<Friday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Friday>
<Monday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Monday>
<Saturday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Saturday>
<Sunday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Sunday>
<Thursday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Thursday>
<Tuesday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Tuesday>
<Wednesday>
<DayOfWeek>1</DayOfWeek>
<P1From>PT0.1234567S</P1From>
<P1Opened>true</P1Opened>
<P1To>PT0.1234567S</P1To>
<P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
<P2From>PT0.1234567S</P2From>
<P2Opened>true</P2Opened>
<P2To>PT0.1234567S</P2To>
<P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
</Wednesday>
</Openings>
<PendingBasketsCount>20</PendingBasketsCount>
<Resume>sample string 8</Resume>
<Siret>sample string 3</Siret>
<VitrineUrl>sample string 16</VitrineUrl>
<WorkingPlaces>
<CommonCompanyWorkingPlace>
<AdressCity>sample string 7</AdressCity>
<AdressComp>sample string 5</AdressComp>
<AdressPostalCode>sample string 6</AdressPostalCode>
<AdressRoad>sample string 4</AdressRoad>
<CompanyId>de902cd8-2be2-4e36-836d-975b4495fb47</CompanyId>
<GPS_Latitude>8.1</GPS_Latitude>
<GPS_Longitude>9.1</GPS_Longitude>
<Id>sample string 2</Id>
<Name>sample string 3</Name>
</CommonCompanyWorkingPlace>
<CommonCompanyWorkingPlace>
<AdressCity>sample string 7</AdressCity>
<AdressComp>sample string 5</AdressComp>
<AdressPostalCode>sample string 6</AdressPostalCode>
<AdressRoad>sample string 4</AdressRoad>
<CompanyId>de902cd8-2be2-4e36-836d-975b4495fb47</CompanyId>
<GPS_Latitude>8.1</GPS_Latitude>
<GPS_Longitude>9.1</GPS_Longitude>
<Id>sample string 2</Id>
<Name>sample string 3</Name>
</CommonCompanyWorkingPlace>
</WorkingPlaces>
</CompanyMember>
<Contact>
<AccessFailedCount>10</AccessFailedCount>
<Email>sample string 4</Email>
<EmailConfirmed>true</EmailConfirmed>
<Id>9efec2a9-bd23-4574-8a0e-601092586a0d</Id>
<LockoutEnabled>true</LockoutEnabled>
<LockoutEndDateUtc>2025-12-11T00:19:39.8996891+01:00</LockoutEndDateUtc>
<NewProfileImageContent>sample string 14</NewProfileImageContent>
<Nom>sample string 2</Nom>
<PhoneNumber>sample string 6</PhoneNumber>
<PhoneNumberConfirmed>true</PhoneNumberConfirmed>
<Prenom>sample string 3</Prenom>
<ProfileImageContent>sample string 12</ProfileImageContent>
<ProfileImageName>sample string 13</ProfileImageName>
<ProfileImageUrl>sample string 15</ProfileImageUrl>
<Roles>
<CommonRole>
<Id>9e3d2582-364e-4bee-8435-ddc224831d05</Id>
<Nom>sample string 2</Nom>
</CommonRole>
<CommonRole>
<Id>9e3d2582-364e-4bee-8435-ddc224831d05</Id>
<Nom>sample string 2</Nom>
</CommonRole>
</Roles>
<TwoFactorEnabled>true</TwoFactorEnabled>
<UserName>sample string 11</UserName>
</Contact>
<Id>3c842abc-fb4e-4c39-a29a-5b57966d21db</Id>
<IsOpened>true</IsOpened>
<Members>
<CommonUser>
<AccessFailedCount>10</AccessFailedCount>
<Email>sample string 4</Email>
<EmailConfirmed>true</EmailConfirmed>
<Id>9efec2a9-bd23-4574-8a0e-601092586a0d</Id>
<LockoutEnabled>true</LockoutEnabled>
<LockoutEndDateUtc>2025-12-11T00:19:39.8996891+01:00</LockoutEndDateUtc>
<NewProfileImageContent>sample string 14</NewProfileImageContent>
<Nom>sample string 2</Nom>
<PhoneNumber>sample string 6</PhoneNumber>
<PhoneNumberConfirmed>true</PhoneNumberConfirmed>
<Prenom>sample string 3</Prenom>
<ProfileImageContent>sample string 12</ProfileImageContent>
<ProfileImageName>sample string 13</ProfileImageName>
<ProfileImageUrl>sample string 15</ProfileImageUrl>
<Roles>
<CommonRole>
<Id>9e3d2582-364e-4bee-8435-ddc224831d05</Id>
<Nom>sample string 2</Nom>
</CommonRole>
<CommonRole>
<Id>9e3d2582-364e-4bee-8435-ddc224831d05</Id>
<Nom>sample string 2</Nom>
</CommonRole>
</Roles>
<TwoFactorEnabled>true</TwoFactorEnabled>
<UserName>sample string 11</UserName>
</CommonUser>
<CommonUser>
<AccessFailedCount>10</AccessFailedCount>
<Email>sample string 4</Email>
<EmailConfirmed>true</EmailConfirmed>
<Id>9efec2a9-bd23-4574-8a0e-601092586a0d</Id>
<LockoutEnabled>true</LockoutEnabled>
<LockoutEndDateUtc>2025-12-11T00:19:39.8996891+01:00</LockoutEndDateUtc>
<NewProfileImageContent>sample string 14</NewProfileImageContent>
<Nom>sample string 2</Nom>
<PhoneNumber>sample string 6</PhoneNumber>
<PhoneNumberConfirmed>true</PhoneNumberConfirmed>
<Prenom>sample string 3</Prenom>
<ProfileImageContent>sample string 12</ProfileImageContent>
<ProfileImageName>sample string 13</ProfileImageName>
<ProfileImageUrl>sample string 15</ProfileImageUrl>
<Roles>
<CommonRole>
<Id>9e3d2582-364e-4bee-8435-ddc224831d05</Id>
<Nom>sample string 2</Nom>
</CommonRole>
<CommonRole>
<Id>9e3d2582-364e-4bee-8435-ddc224831d05</Id>
<Nom>sample string 2</Nom>
</CommonRole>
</Roles>
<TwoFactorEnabled>true</TwoFactorEnabled>
<UserName>sample string 11</UserName>
</CommonUser>
</Members>
<Messages>
<CommonMessage>
<Content>sample string 4</Content>
<Date>2025-12-11T00:19:39.8996891+01:00</Date>
<DiscussionId>14f10789-13b6-4552-9dcc-d591fdf185fe</DiscussionId>
<From>29d9cdb4-e9ff-4d05-984a-058b835f80eb</From>
</CommonMessage>
<CommonMessage>
<Content>sample string 4</Content>
<Date>2025-12-11T00:19:39.8996891+01:00</Date>
<DiscussionId>14f10789-13b6-4552-9dcc-d591fdf185fe</DiscussionId>
<From>29d9cdb4-e9ff-4d05-984a-058b835f80eb</From>
</CommonMessage>
</Messages>
<Subject>sample string 1</Subject>
</CommonDiscussion>