GET api/ytd/GetYTDComparisonBetweenCategoryItems?id={id}&date={date}&CategoryId={CategoryId}&Rank={Rank}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
date | date |
Required |
|
CategoryId | globally unique identifier |
None. |
|
Rank | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ReportsCategoryWiseYTDDTOName | Description | Type | Additional information |
---|---|---|---|
Month | string |
None. |
|
Sections | Collection of ReportsLocationSectionScoresDTO |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Month": "sample string 1", "Sections": [ { "SectionName": "sample string 1", "Title": "sample string 2", "Score": 1.1, "ScoreWithPercentage": "sample string 3", "YESNUM": 1, "NONUM": 1, "NANUM": 1 }, { "SectionName": "sample string 1", "Title": "sample string 2", "Score": 1.1, "ScoreWithPercentage": "sample string 3", "YESNUM": 1, "NONUM": 1, "NANUM": 1 } ] }, { "Month": "sample string 1", "Sections": [ { "SectionName": "sample string 1", "Title": "sample string 2", "Score": 1.1, "ScoreWithPercentage": "sample string 3", "YESNUM": 1, "NONUM": 1, "NANUM": 1 }, { "SectionName": "sample string 1", "Title": "sample string 2", "Score": 1.1, "ScoreWithPercentage": "sample string 3", "YESNUM": 1, "NONUM": 1, "NANUM": 1 } ] } ]
text/html, multipart/form-data
Sample:
[{"Month":"sample string 1","Sections":[{"SectionName":"sample string 1","Title":"sample string 2","Score":1.1,"ScoreWithPercentage":"sample string 3","YESNUM":1,"NONUM":1,"NANUM":1},{"SectionName":"sample string 1","Title":"sample string 2","Score":1.1,"ScoreWithPercentage":"sample string 3","YESNUM":1,"NONUM":1,"NANUM":1}]},{"Month":"sample string 1","Sections":[{"SectionName":"sample string 1","Title":"sample string 2","Score":1.1,"ScoreWithPercentage":"sample string 3","YESNUM":1,"NONUM":1,"NANUM":1},{"SectionName":"sample string 1","Title":"sample string 2","Score":1.1,"ScoreWithPercentage":"sample string 3","YESNUM":1,"NONUM":1,"NANUM":1}]}]
application/xml, text/xml
Sample:
<ArrayOfReportsCategoryWiseYTDDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <ReportsCategoryWiseYTDDTO> <Month>sample string 1</Month> <Sections> <ReportsLocationSectionScoresDTO> <NANUM>1</NANUM> <NONUM>1</NONUM> <Score>1.1</Score> <ScoreWithPercentage>sample string 3</ScoreWithPercentage> <SectionName>sample string 1</SectionName> <Title>sample string 2</Title> <YESNUM>1</YESNUM> </ReportsLocationSectionScoresDTO> <ReportsLocationSectionScoresDTO> <NANUM>1</NANUM> <NONUM>1</NONUM> <Score>1.1</Score> <ScoreWithPercentage>sample string 3</ScoreWithPercentage> <SectionName>sample string 1</SectionName> <Title>sample string 2</Title> <YESNUM>1</YESNUM> </ReportsLocationSectionScoresDTO> </Sections> </ReportsCategoryWiseYTDDTO> <ReportsCategoryWiseYTDDTO> <Month>sample string 1</Month> <Sections> <ReportsLocationSectionScoresDTO> <NANUM>1</NANUM> <NONUM>1</NONUM> <Score>1.1</Score> <ScoreWithPercentage>sample string 3</ScoreWithPercentage> <SectionName>sample string 1</SectionName> <Title>sample string 2</Title> <YESNUM>1</YESNUM> </ReportsLocationSectionScoresDTO> <ReportsLocationSectionScoresDTO> <NANUM>1</NANUM> <NONUM>1</NONUM> <Score>1.1</Score> <ScoreWithPercentage>sample string 3</ScoreWithPercentage> <SectionName>sample string 1</SectionName> <Title>sample string 2</Title> <YESNUM>1</YESNUM> </ReportsLocationSectionScoresDTO> </Sections> </ReportsCategoryWiseYTDDTO> </ArrayOfReportsCategoryWiseYTDDTO>