Get all consent associated with a borrower.
Success
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "consent",
- "name": "electronicComms",
- "value": "consented"
}
]
}
Update the consents
Success
[- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "name": "electronicComms",
- "value": "consented"
}
]
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "consent",
- "name": "electronicComms",
- "value": "consented"
}
]
}