Support Request
Create support request
POST https://api.podkrepi.localhost/api/v1/support-request
Request Body
Name
Type
Description
person
object
support_data
object
{
"id": "d1451c92-0e86-463a-bf1c-2e4554a77f30",
"person": {
"email": "[email protected]",
"name": "John Doe",
"phone": "+3598777777777",
"address": "6 John Doe Str",
"terms": true,
"newsletter": true
},
"support_data": {
"roles": {
"benefactor": true,
"partner": true,
"associationMember": false,
"promoter": false,
"volunteer": true
},
"benefactor": {
"campaignBenefactor": true,
"platformBenefactor": false
},
"partner": {
"npo": false,
"bussiness": true,
"other": false,
"otherText": "aaaaa"
},
"volunteer": {
"backend": false,
"frontend": true,
"marketing": false,
"designer": true,
"projectManager": false,
"devOps": true,
"financesAndAccounts": true,
"lawyer": false,
"qa": false
},
"associationMember": {
"isMember": true
},
"promoter": {
"mediaPartner": false,
"ambassador": false,
"other": true,
"otherText": "bbbbb"
}
},
"createdAt": "2021-04-07T12:57:09.42898025Z",
"updatedAt": "2021-04-07T12:57:09.42898025Z",
"deletedAt": null
}Fetch support requests
GET https://api.podkrepi.localhost/api/v1/support-request
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
Fetch specific support request
GET https://api.podkrepi.localhost/api/v1/support-request/:id
Path Parameters
Name
Type
Description
ID
string
Headers
Name
Type
Description
Authentication
string
Delete support request
DELETE https://api.podkrepi.localhost/api/v1/support-request/:id
Path Parameters
Name
Type
Description
id
string
Headers
Name
Type
Description
Authentication
string
Last updated
Was this helpful?