Creates an attachment belonging to the user by their ID.
643 matches
35 actions
PocketSmith
35 actions
- Assigns attachment to transactionPOSTv1.0.0
- Create an account in userPOSTv1.0.0
- Create attachment in userPOSTv1.0.0
- Create institution in userPOSTv1.0.0
- Delete accountDELETEv1.0.0
- Delete attachmentDELETEv1.0.0
- Delete categoryDELETEv1.0.0
- Delete eventDELETEv1.0.0
- Delete forecast cache for userDELETEv1.0.0
- Delete institutionDELETEv1.0.0
- Delete transactionDELETEv1.0.0
- Get accountGETv1.0.0
- Get attachmentGETv1.0.0
- Get currencyGETv1.0.0
- Get institutionGETv1.0.0
- Get the authorised userGETv1.0.0
- Get transaction accountGETv1.0.0
- Get userGETv1.0.0
- List accounts in institutionGETv1.0.0
- List accounts in userGETv1.0.0
- List attachments in transactionGETv1.0.0
- List currenciesGETv1.0.0
- List institutions in userGETv1.0.0
- List labels in userGETv1.0.0
- List saved searches in userGETv1.0.0
- List time zonesGETv1.0.0
- List transaction accounts in userGETv1.0.0
- Lists attachments in userGETv1.0.0
- Unassigns attachment in transactionDELETEv1.0.0
- Update accountPUTv1.0.0
- Update attachmentPUTv1.0.0
- Update institutionPUTv1.0.0
- Update the display order of accounts in userPUTv1.0.0
- Update transaction accountPUTv1.0.0
- Update userPUTv1.0.0
Finance/PocketSmith
Create attachment in user
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
{
"type": "object",
"properties": {
"file_data": {
"type": "string",
"format": "base64",
"description": "The base64-encoded contents of the source file. The supported file types are png, jpg, pdf, xls, xlsx, doc, docx."
},
"file_name": {
"type": "string",
"description": "The file name of the attachment."
},
"id": {
"type": "integer"
},
"title": {
"type": "string",
"description": "The title of the attachment. If the title is blank or not provided, the title will derived from the file name."
}
},
"required": [
"id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
{
"type": "object",
"properties": {
"content_type": {
"type": "string",
"description": "The content type of the attachment."
},
"content_type_meta": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The content type description of the attachment."
},
"extension": {
"type": "string",
"description": "The extension type of the attachment."
},
"title": {
"type": "string",
"description": "The content type title of the attachment."
}
}
},
"created_at": {
"type": "string",
"format": "ISO 8601 timestamp",
"description": "When the attachment was created."
},
"file_name": {
"type": "string",
"description": "The file name of the attachment."
},
"id": {
"type": "integer",
"description": "The unique identifier of the attachment"
},
"original_url": {
"type": "string",
"description": "The url of the attachment."
},
"title": {
"type": "string",
"description": "The title of the attachment. If blank or not provided, the title will be derived from the file name."
},
"type": {
"type": "string",
"description": "The type of attachment."
},
"updated_at": {
"type": "string",
"format": "ISO 8601 timestamp",
"description": "When the attachment was last updated."
},
"variants": {
"type": "object",
"properties": {
"large_url": {
"type": "string",
"description": "The url of the large version of the attachment."
},
"thumb_url": {
"type": "string",
"description": "The url of the thumb version of the attachment."
}
}
}
}
}