GET api/Village/{village}/Checklist/{checklistId}/Answers
Returns a list of the village's checklist answers for the specified checklist
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
checklistId |
The checklist for which to retrieve answers |
globally unique identifier |
Required |
village | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ChecklistItemStatusModelName | Description | Type | Additional information |
---|---|---|---|
VillageId |
Village ID |
globally unique identifier |
None. |
ChecklistItemId |
Checklist Item ID |
globally unique identifier |
None. |
Status |
Completion status of this item |
ChecklistItemStatus |
None. |
Response Formats
application/json, text/json
Sample:
[ { "VillageId": "fac2ebff-b953-4ea7-ac83-7a595ed0463c", "ChecklistItemId": "2ceb0963-de05-4ab8-8ef5-6b76bb1bf13a", "Status": 0 }, { "VillageId": "fac2ebff-b953-4ea7-ac83-7a595ed0463c", "ChecklistItemId": "2ceb0963-de05-4ab8-8ef5-6b76bb1bf13a", "Status": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfChecklistItemStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <ChecklistItemStatusModel> <ChecklistItemId>2ceb0963-de05-4ab8-8ef5-6b76bb1bf13a</ChecklistItemId> <Status>NA</Status> <VillageId>fac2ebff-b953-4ea7-ac83-7a595ed0463c</VillageId> </ChecklistItemStatusModel> <ChecklistItemStatusModel> <ChecklistItemId>2ceb0963-de05-4ab8-8ef5-6b76bb1bf13a</ChecklistItemId> <Status>NA</Status> <VillageId>fac2ebff-b953-4ea7-ac83-7a595ed0463c</VillageId> </ChecklistItemStatusModel> </ArrayOfChecklistItemStatusModel>