POST 360/CommentContainer
Builds a CommentContainer
Request Information
URI Parameters
None.
Body Parameters
The request model used to retrieve the collection
SMG.Rosetta.Contracts.Comments.CommentContainerRequestRequest Formats
application/json, text/json
Sample:
{ "DateRange": { "StartDate": "2025-05-06T06:53:02.3448731-05:00", "EndDate": "2025-05-06T06:53:02.3448731-05:00", "BenchmarkStartDate": "2025-05-06T06:53:02.3448731-05:00", "BenchmarkEndDate": "2025-05-06T06:53:02.3448731-05:00" }, "SourceOffsets": [ { "SourceId": "sample string 1", "Offset": 2 }, { "SourceId": "sample string 1", "Offset": 2 } ], "Filter": { "Text": "sample string 1", "SourceIds": [ "sample string 1", "sample string 2" ], "UnitIds": [ "sample string 1", "sample string 2" ], "Sentiments": [ 1, 2 ], "AttributeMeasures": [ { "Id": "sample string 1", "AnswerValues": [ "sample string 1", "sample string 2" ] }, { "Id": "sample string 1", "AnswerValues": [ "sample string 1", "sample string 2" ] } ], "RatingIds": [ "sample string 1", "sample string 2" ], "OpenEndIds": [ "sample string 1", "sample string 2" ], "UnreadOnly": true } }
application/xml, text/xml
Sample:
<CommentContainerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMG.Rosetta.Contracts.Comments"> <DateRange xmlns:d2p1="http://schemas.datacontract.org/2004/07/SMG.Rosetta.Contracts.Dates"> <d2p1:BenchmarkEndDate>2025-05-06T06:53:02.3448731-05:00</d2p1:BenchmarkEndDate> <d2p1:BenchmarkStartDate>2025-05-06T06:53:02.3448731-05:00</d2p1:BenchmarkStartDate> <d2p1:EndDate>2025-05-06T06:53:02.3448731-05:00</d2p1:EndDate> <d2p1:StartDate>2025-05-06T06:53:02.3448731-05:00</d2p1:StartDate> </DateRange> <Filter> <AttributeMeasures> <AttributeMeasure> <AnswerValues xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </AnswerValues> <Id>sample string 1</Id> </AttributeMeasure> <AttributeMeasure> <AnswerValues xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </AnswerValues> <Id>sample string 1</Id> </AttributeMeasure> </AttributeMeasures> <OpenEndIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </OpenEndIds> <RatingIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </RatingIds> <Sentiments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </Sentiments> <SourceIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </SourceIds> <Text>sample string 1</Text> <UnitIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </UnitIds> <UnreadOnly>true</UnreadOnly> </Filter> <SourceOffsets xmlns:d2p1="http://schemas.datacontract.org/2004/07/SMG.Rosetta.Contracts.Report.CommentReport"> <d2p1:SourceOffset> <d2p1:Offset>2</d2p1:Offset> <d2p1:SourceId>sample string 1</d2p1:SourceId> </d2p1:SourceOffset> <d2p1:SourceOffset> <d2p1:Offset>2</d2p1:Offset> <d2p1:SourceId>sample string 1</d2p1:SourceId> </d2p1:SourceOffset> </SourceOffsets> </CommentContainerRequest>
Response Information
Resource Description
Collection of SMG.Rosetta.Contracts.Comments.CommentContainerResponse Formats
application/json, text/json
Sample:
[ { "Details": [ { "ReceivedDate": "2025-05-06T06:53:02.3598752-05:00", "EventDate": "2025-05-06T06:53:02.3598752-05:00", "UnitName": "sample string 3", "UnitId": 1, "Comments": [ { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" }, { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" } ], "SourceType": "sample string 4", "SourceName": "sample string 5", "SurveyId": 6, "SourceId": "sample string 7", "Attributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "HeaderAttributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "ResponseId": "sample string 8", "HasBeenRead": true, "ZoneContinent": 1, "Zone0": 1, "Zone1": 1, "Zone2": 1 }, { "ReceivedDate": "2025-05-06T06:53:02.3598752-05:00", "EventDate": "2025-05-06T06:53:02.3598752-05:00", "UnitName": "sample string 3", "UnitId": 1, "Comments": [ { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" }, { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" } ], "SourceType": "sample string 4", "SourceName": "sample string 5", "SurveyId": 6, "SourceId": "sample string 7", "Attributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "HeaderAttributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "ResponseId": "sample string 8", "HasBeenRead": true, "ZoneContinent": 1, "Zone0": 1, "Zone1": 1, "Zone2": 1 } ], "SourceOffsets": [ { "SourceId": "sample string 1", "Offset": 2 }, { "SourceId": "sample string 1", "Offset": 2 } ] }, { "Details": [ { "ReceivedDate": "2025-05-06T06:53:02.3598752-05:00", "EventDate": "2025-05-06T06:53:02.3598752-05:00", "UnitName": "sample string 3", "UnitId": 1, "Comments": [ { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" }, { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" } ], "SourceType": "sample string 4", "SourceName": "sample string 5", "SurveyId": 6, "SourceId": "sample string 7", "Attributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "HeaderAttributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "ResponseId": "sample string 8", "HasBeenRead": true, "ZoneContinent": 1, "Zone0": 1, "Zone1": 1, "Zone2": 1 }, { "ReceivedDate": "2025-05-06T06:53:02.3598752-05:00", "EventDate": "2025-05-06T06:53:02.3598752-05:00", "UnitName": "sample string 3", "UnitId": 1, "Comments": [ { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" }, { "Tags": [ { "PropertyType": "Theme", "Text": "sample string 1" }, { "PropertyType": "Theme", "Text": "sample string 1" } ], "Language": "sample string 1", "Text": "sample string 2", "Measure": "sample string 3", "Sentiment": 1, "AudioFilePath": "sample string 4" } ], "SourceType": "sample string 4", "SourceName": "sample string 5", "SurveyId": 6, "SourceId": "sample string 7", "Attributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "HeaderAttributes": [ { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" }, { "MeasureName": "sample string 1", "Value": {}, "DisplayType": "NotSpecified", "DisplayValue": "sample string 3" } ], "ResponseId": "sample string 8", "HasBeenRead": true, "ZoneContinent": 1, "Zone0": 1, "Zone1": 1, "Zone2": 1 } ], "SourceOffsets": [ { "SourceId": "sample string 1", "Offset": 2 }, { "SourceId": "sample string 1", "Offset": 2 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfCommentContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMG.Rosetta.Contracts.Comments"> <CommentContainer> <Details> <CommentDetail> <Attributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </Attributes> <Comments> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> </Comments> <EventDate>2025-05-06T06:53:02.3598752-05:00</EventDate> <HasBeenRead>true</HasBeenRead> <HeaderAttributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </HeaderAttributes> <ReceivedDate>2025-05-06T06:53:02.3598752-05:00</ReceivedDate> <ResponseId>sample string 8</ResponseId> <SourceId>sample string 7</SourceId> <SourceName>sample string 5</SourceName> <SourceType>sample string 4</SourceType> <SurveyId>6</SurveyId> <UnitId>1</UnitId> <UnitName>sample string 3</UnitName> <Zone0>1</Zone0> <Zone1>1</Zone1> <Zone2>1</Zone2> <ZoneContinent>1</ZoneContinent> </CommentDetail> <CommentDetail> <Attributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </Attributes> <Comments> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> </Comments> <EventDate>2025-05-06T06:53:02.3598752-05:00</EventDate> <HasBeenRead>true</HasBeenRead> <HeaderAttributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </HeaderAttributes> <ReceivedDate>2025-05-06T06:53:02.3598752-05:00</ReceivedDate> <ResponseId>sample string 8</ResponseId> <SourceId>sample string 7</SourceId> <SourceName>sample string 5</SourceName> <SourceType>sample string 4</SourceType> <SurveyId>6</SurveyId> <UnitId>1</UnitId> <UnitName>sample string 3</UnitName> <Zone0>1</Zone0> <Zone1>1</Zone1> <Zone2>1</Zone2> <ZoneContinent>1</ZoneContinent> </CommentDetail> </Details> <SourceOffsets xmlns:d3p1="http://schemas.datacontract.org/2004/07/SMG.Rosetta.Contracts.Report.CommentReport"> <d3p1:SourceOffset> <d3p1:Offset>2</d3p1:Offset> <d3p1:SourceId>sample string 1</d3p1:SourceId> </d3p1:SourceOffset> <d3p1:SourceOffset> <d3p1:Offset>2</d3p1:Offset> <d3p1:SourceId>sample string 1</d3p1:SourceId> </d3p1:SourceOffset> </SourceOffsets> </CommentContainer> <CommentContainer> <Details> <CommentDetail> <Attributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </Attributes> <Comments> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> </Comments> <EventDate>2025-05-06T06:53:02.3598752-05:00</EventDate> <HasBeenRead>true</HasBeenRead> <HeaderAttributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </HeaderAttributes> <ReceivedDate>2025-05-06T06:53:02.3598752-05:00</ReceivedDate> <ResponseId>sample string 8</ResponseId> <SourceId>sample string 7</SourceId> <SourceName>sample string 5</SourceName> <SourceType>sample string 4</SourceType> <SurveyId>6</SurveyId> <UnitId>1</UnitId> <UnitName>sample string 3</UnitName> <Zone0>1</Zone0> <Zone1>1</Zone1> <Zone2>1</Zone2> <ZoneContinent>1</ZoneContinent> </CommentDetail> <CommentDetail> <Attributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </Attributes> <Comments> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> <Comment> <AudioFilePath>sample string 4</AudioFilePath> <Language>sample string 1</Language> <Measure>sample string 3</Measure> <Sentiment>1</Sentiment> <Tags> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> <Tag> <PropertyType>Theme</PropertyType> <Text>sample string 1</Text> </Tag> </Tags> <Text>sample string 2</Text> </Comment> </Comments> <EventDate>2025-05-06T06:53:02.3598752-05:00</EventDate> <HasBeenRead>true</HasBeenRead> <HeaderAttributes> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> <Attribute> <DisplayType>NotSpecified</DisplayType> <DisplayValue>sample string 3</DisplayValue> <MeasureName>sample string 1</MeasureName> <Value /> </Attribute> </HeaderAttributes> <ReceivedDate>2025-05-06T06:53:02.3598752-05:00</ReceivedDate> <ResponseId>sample string 8</ResponseId> <SourceId>sample string 7</SourceId> <SourceName>sample string 5</SourceName> <SourceType>sample string 4</SourceType> <SurveyId>6</SurveyId> <UnitId>1</UnitId> <UnitName>sample string 3</UnitName> <Zone0>1</Zone0> <Zone1>1</Zone1> <Zone2>1</Zone2> <ZoneContinent>1</ZoneContinent> </CommentDetail> </Details> <SourceOffsets xmlns:d3p1="http://schemas.datacontract.org/2004/07/SMG.Rosetta.Contracts.Report.CommentReport"> <d3p1:SourceOffset> <d3p1:Offset>2</d3p1:Offset> <d3p1:SourceId>sample string 1</d3p1:SourceId> </d3p1:SourceOffset> <d3p1:SourceOffset> <d3p1:Offset>2</d3p1:Offset> <d3p1:SourceId>sample string 1</d3p1:SourceId> </d3p1:SourceOffset> </SourceOffsets> </CommentContainer> </ArrayOfCommentContainer>