Cmdlets for Greenhouse

Build 24.0.9062

AddAttachmentTo

Post an attachment to an application.

Input

Name Type Required Description
ApplicationId Int64 False Application ID.
CandidateId Int64 False Candidate ID.
FileName String True Name of the file.
Type String True One of: resume, cover_letter, admin_only.

使用できる値は次のとおりです。resume, cover_letter, admin_only

Content String False Base64 encoded content of the attachment (if you are providing content, you do not need to provide url).
ContentType String False The content-type of the document you are sending. When using a URL, this generally isn�t needed.

使用できる値は次のとおりです。application/atom+xml, application/javascript, application/json, application/msgpack, application/msword, application/pdf, application/rss+xml, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/xml, application/x-www-form-urlencoded, application/x-yaml, application/zip, multipart/form-data, image/bmp, image/gif, image/jpeg, image/png, image/tiff, text/calendar, text/css, text/csv, text/html, text/javascript, text/plain, text/vcard, video/mpeg

Url String False Url of the attachment (if you are providing the url, you do not need to provide the content.).
Visibility String False One of: public, private, admin_only.

使用できる値は次のとおりです。public, private, admin_only

Result Set Columns

Name Type Description
Success Bool Outputs true if the procedure succeeded.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062