@api = http://localhost:5001/api @accessToken = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiZGlsbGFuIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZWlkZW50aWZpZXIiOiIwODkyNWFkZS05MjQ5LTQ3NmItODc4Ny1iM2RkOGY1ZGJjMTMiLCJQZXJzb25JZCI6IjEiLCJUZW5hbnQiOiJUZW5hbnQxIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiQWRtaW4iLCJleHAiOjE2MjY2ODUwODUsImlzcyI6Imh0dHA6Ly9jb2RlYm9zcy50ZWNoIiwiYXVkIjoiaHR0cDovL2NvZGVib3NzLnRlY2gifQ.7oildEOTOtZ4JGEl0L5_bPZQdMQEf3PUlVegIn2iu0c # Ensure this is in the Countries Table @countryId = 1 # From AWS Cognito @userLoginId = 08925ade-9249-476b-8787-b3dd8f5dbc13 # This is me @personId = 1
# ============== IDENTITY ==================== # POST {{api}}/v1/auth/login Content-Type: application/json
- {
- "username": "dillan", "password": "pancake"
}
# ============== UTILITY / TESTS ==================== # GET {{api}}/ GET {{api}}/db GET {{api}}/auth Authorization: Bearer {{accessToken}}
# ============== CHURCHES ==================== # # GET ALL GET {{api}}/v1/churches Content-Type: application/json Authorization: Bearer {{accessToken}}
# ============== GROUPS ==================== # # Get All Persons Groups @personId = 1 GET {{api}}/v1/groups/person/{{personId}} Authorization: Bearer {{accessToken}}
# Get All Current Users Groups POST {{api}}/v1/groups/browse/current-user Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
"searchTerm": "",
"page": 1, "results": 20, "orderBy": "Name", "sortOrder": "DESC"
}
# BrowseGroups @personId = 1 POST {{api}}/v1/groups/browse/person/{{personId}} Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
- "searchTerm": "", "page": 1, "results": 20, "orderBy": "Name", "sortOrder": "DESC"
}
# Get Group With Children Tree By Parent @parentGroupId = 1 GET {{api}}/v1/groups/parent/{{parentGroupId}}/tree Authorization: Bearer {{accessToken}}
# Group With Children Query @groupId = 15 GET {{api}}/v1/groups/{{groupId}}/tree Authorization: Bearer {{accessToken}}
# Get Group types GET {{api}}/v1/groups/types Authorization: Bearer {{accessToken}}
# Get Group Member @groupMemberId = 1 GET {{api}}/v1/groups/members/{{groupMemberId}} Authorization: Bearer {{accessToken}}
# ============== PEOPLE ==================== # # New Family POST {{api}}/v1/people/family/new Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
"familyName": "Cagnetta", "members": [{
"churchId": 1, "connectionStatus": "New Convert", "source": "Outreach", "person": {
"firstName": "Dillan", "middleName": "Dillan", "lastName": "Cagnetta", "gender": "Male", "ageClassification": "Adult", "occupation": "Software", "birthDate": {
"day" : 6, "month" : 11, "year" : 1908
}, "receivedHolySpirit": false
}
}], "address": {
"street": "4283 Express LanenSuite 6432-188", "city": "Sarasota", "country": "United States of America", "province": "FLORIDA", "postalCode": "34249"
}
}
# Person autocomplete GET {{api}}/v1/people/autocomplete?searchTerm=Dan Content-Type: application/json Authorization: Bearer {{accessToken}}
# Browse People POST {{api}}/v1/people/browse Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
"searchTerm": "",
"page": 1, "results": 2, "orderBy": "FullName.FirstName", "sortOrder": "ASC"
}
# ============== PROFILES ==================== # # GetCurrentUserProfileByUserLogin GET {{api}}/v1/profiles/current-user Content-Type: application/json Authorization: Bearer {{accessToken}}
# GetUserProfileByUserLogin GET {{api}}/v1/profiles/userlogin/{{userLoginId}} Content-Type: application/json Authorization: Bearer {{accessToken}}
# GetUserProfileByPerson GET {{api}}/v1/profiles/person/{{personId}} Content-Type: application/json Authorization: Bearer {{accessToken}}
# ============== DASHBOARD ==================== # # CHURCH ATTENDANCE GET {{api}}/v1/dashboard/church-attendance?from=2019-01-01&to=2022-01-01 Content-Type: application/json Authorization: Bearer {{accessToken}}
# CHURCH ATTENDANCE BREAKDOWN GET {{api}}/v1/dashboard/church-attendance-breakdown?from=2019-01-01&to=2022-01-01 Content-Type: application/json Authorization: Bearer {{accessToken}}
# ============== CELL MINISTRY ==================== # # Browse Attendance POST {{api}}/v1/cellministry/attendance/browse Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
- "groupTypeId": 1, "page": 1, "results": 20, "orderBy": "AttendanceDate", "sortOrder": "DESC"
}
# Charts GET {{api}}/v1/cellministry/charts Content-Type: application/json Authorization: Bearer {{accessToken}}
# ============== GROUPS ==================== # # Groups with Children GET {{api}}/v1/groups/tree Content-Type: application/json Authorization: Bearer {{accessToken}}
# Get Group Members @groupId = 3 GET {{api}}/v1/groups/{{groupId}}/members?recordStatus=Active Content-Type: application/json Authorization: Bearer {{accessToken}}
# ============== DISCIPLESHIP ==================== # # Discipleship for Person POST {{api}}/v1/discipleship/person/programs Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
- "personId": 1
}
# Discipleship Step Info for Person (Foundation School) POST {{api}}/v1/discipleship/person/step Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
- "personId": 1,
- "DiscipleshipStepDefinitionId" : 1
}
# People in Discipleship Step @definitionId = 1 GET {{api}}/v1/discipleship/steps/{{definitionId}}/people Content-Type: application/json Authorization: Bearer {{accessToken}}
# ============== COMMUNICATIONS ==================== # POST {{api}}/v1/webpush/send Content-Type: application/json Authorization: Bearer {{accessToken}}
- {
- "personId": 8,
- "payload" : "testing webpush!"
}