curl --request POST \
--url https://api.spacebring.com/benefits/applications/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"application": {
"benefitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment": "<string>"
}
}
'{
"application": {
"benefit": {
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mediaUrl": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"comment": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"user": {
"about": "<string>",
"blocked": true,
"createDate": "2023-11-07T05:31:56Z",
"deleteDate": "2023-11-07T05:31:56Z",
"email": "jsmith@example.com",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"restricted": true,
"surname": "<string>"
}
}
}Apply for a benefit.
benefitscurl --request POST \
--url https://api.spacebring.com/benefits/applications/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"application": {
"benefitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comment": "<string>"
}
}
'{
"application": {
"benefit": {
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mediaUrl": "<string>",
"subtitle": "<string>",
"title": "<string>"
},
"comment": "<string>",
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"user": {
"about": "<string>",
"blocked": true,
"createDate": "2023-11-07T05:31:56Z",
"deleteDate": "2023-11-07T05:31:56Z",
"email": "jsmith@example.com",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"restricted": true,
"surname": "<string>"
}
}
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Show child attributes
OK
Show child attributes