Upload a CV, cover letter or document
Uploads a new CV, cover letter or document.
URL: | https://api.trademe.co.nz/v1/mytrademe/SavedDocuments.{file_format} |
---|---|
HTTP Method: | POST |
Requires Authentication? | Yes |
Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
file_format | Enumeration (required) | The format of the response. | ||||
---|---|---|---|---|---|---|
|
POST Data
<SavedDocument>
SavedDocumentId | Integer (optional) |
The unique identifier of the document. Not required when uploading a document. |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FileName | String (optional) |
The file name of the document. When uploading a new document, this can be the full path or just the file name, with or without a file extension. |
||||||||||||
DocumentType | Enumeration (required) |
The type of document. |
||||||||||||
|
||||||||||||||
SavedDocumentData | String (optional) |
The actual document data (base64 encoded). |
||||||||||||
UploadDate | DateTime (optional) |
The date the document was uploaded |
Returns
<MemberSavedDocumentResponse>
Details on whether the operation was successful.
Success | Boolean |
Indicates whether the operation was successful. |
---|---|---|
Description | String or null |
The description of the error, if the operation failed. |
SavedDocumentId | Integer |
The unique identifier of the document. |