curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/recordUpload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "5",
"status": 5,
"hys_slug": "file_slug",
"hys_ext": "jpg",
"file_id": "821da627-08eb-458d-a119",
"box_url": "",
"name": "file_name",
"hys_type": "donor",
"hys_id": "1",
"type": "image/jpeg"
}'
{
"message": "Successfully posted to Box"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data for the record upload
The body is of type object
.
Successfully posted to Box
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/recordUpload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "5",
"status": 5,
"hys_slug": "file_slug",
"hys_ext": "jpg",
"file_id": "821da627-08eb-458d-a119",
"box_url": "",
"name": "file_name",
"hys_type": "donor",
"hys_id": "1",
"type": "image/jpeg"
}'
{
"message": "Successfully posted to Box"
}