GET api/CustomerAssessments/CustomerCategoriesWithAssessments?customerID={customerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerAssessmentCategoryWithAssessmentsDTOName | Description | Type | Additional information |
---|---|---|---|
AssessmentCategory | CustomerAssessmentCategoryDTO |
None. |
|
Assessments | Collection of CustomerAssessmentDTO |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AssessmentCategory": { "ID": 1, "CustomerID": 2, "CustomerVenueID": 3, "Name": "sample string 4", "IsDeleted": true }, "Assessments": [ { "ID": 1, "CustomerAssessmentCategoryID": 2, "Name": "sample string 3", "IsDeleted": true, "CustomerAssessmentName": "sample string 5", "Completed": true }, { "ID": 1, "CustomerAssessmentCategoryID": 2, "Name": "sample string 3", "IsDeleted": true, "CustomerAssessmentName": "sample string 5", "Completed": true } ] }, { "AssessmentCategory": { "ID": 1, "CustomerID": 2, "CustomerVenueID": 3, "Name": "sample string 4", "IsDeleted": true }, "Assessments": [ { "ID": 1, "CustomerAssessmentCategoryID": 2, "Name": "sample string 3", "IsDeleted": true, "CustomerAssessmentName": "sample string 5", "Completed": true }, { "ID": 1, "CustomerAssessmentCategoryID": 2, "Name": "sample string 3", "IsDeleted": true, "CustomerAssessmentName": "sample string 5", "Completed": true } ] } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerAssessmentCategoryWithAssessmentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerAssessmentCategoryWithAssessmentsDTO> <AssessmentCategory> <CustomerID>2</CustomerID> <CustomerVenueID>3</CustomerVenueID> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 4</Name> </AssessmentCategory> <Assessments> <CustomerAssessmentDTO> <Completed>true</Completed> <CustomerAssessmentCategoryID>2</CustomerAssessmentCategoryID> <CustomerAssessmentName>sample string 5</CustomerAssessmentName> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> </CustomerAssessmentDTO> <CustomerAssessmentDTO> <Completed>true</Completed> <CustomerAssessmentCategoryID>2</CustomerAssessmentCategoryID> <CustomerAssessmentName>sample string 5</CustomerAssessmentName> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> </CustomerAssessmentDTO> </Assessments> </CustomerAssessmentCategoryWithAssessmentsDTO> <CustomerAssessmentCategoryWithAssessmentsDTO> <AssessmentCategory> <CustomerID>2</CustomerID> <CustomerVenueID>3</CustomerVenueID> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 4</Name> </AssessmentCategory> <Assessments> <CustomerAssessmentDTO> <Completed>true</Completed> <CustomerAssessmentCategoryID>2</CustomerAssessmentCategoryID> <CustomerAssessmentName>sample string 5</CustomerAssessmentName> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> </CustomerAssessmentDTO> <CustomerAssessmentDTO> <Completed>true</Completed> <CustomerAssessmentCategoryID>2</CustomerAssessmentCategoryID> <CustomerAssessmentName>sample string 5</CustomerAssessmentName> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> </CustomerAssessmentDTO> </Assessments> </CustomerAssessmentCategoryWithAssessmentsDTO> </ArrayOfCustomerAssessmentCategoryWithAssessmentsDTO>