Company Files Resource
post
Authorizations
SessionIdstringRequired
SessionId
Query parameters
filestring · binary[]Required
Responses
200
OK
idstringOptional
namestringOptional
fileTypestringOptional
filePathstringOptional
fileSizenumber · doubleOptional
post/api/v1/company/files
POST /api/v1/company/files?file=binary HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
[
{
"id": "text",
"name": "text",
"fileType": "text",
"filePath": "text",
"fileSize": 1
}
]delete
Authorizations
SessionIdstringRequired
SessionId
Query parameters
attachmentIdstringRequired
Responses
200
OK
*/*
idstringOptional
namestringOptional
fileTypestringOptional
filePathstringOptional
fileSizenumber · doubleOptional
delete/api/v1/company/files
DELETE /api/v1/company/files?attachmentId=text HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"id": "text",
"name": "text",
"fileType": "text",
"filePath": "text",
"fileSize": 1
}Last updated