POST
/
admin
/
recordUpload
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Data for the record upload
client_id
string
Example:

"5"

status
integer
Example:

5

hys_slug
string
Example:

"file_slug"

hys_ext
string
Example:

"jpg"

file_id
string
Example:

"821da627-08eb-458d-a119"

box_url
string
Example:

""

name
string
Example:

"file_name"

hys_type
string
Example:

"donor"

hys_id
string
Example:

"1"

type
string
Example:

"image/jpeg"

Response

200
application/json
Successfully posted to Box
message
string
Example:

"Successfully posted to Box"