Download OpenAPI specification:Download
Documentation and interface contract for the upload API, the API responsible for file management.
Upload a file.
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a file upload object. |
| fileLink | string HTTP link to the file on the FTP server. |
| resources required | string Enum: "PERSON" "PARTNER" "HOST" "TRIP" Business resource concerned by the file upload. |
| type required | string Enum: "PHOTO" "ID" "SUPPORTING_DOCUMENT" File type. |
| file required | string <binary> |
{- "id": "string",
- "fileLink": "string",
- "resources": "PERSON",
- "type": "PHOTO",
- "file": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Update a file.
| upload-id required | string Technical id of the file. |
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a file upload object. |
| fileLink | string HTTP link to the file on the FTP server. |
| resources required | string Enum: "PERSON" "PARTNER" "HOST" "TRIP" Business resource concerned by the file upload. |
| type required | string Enum: "PHOTO" "ID" "SUPPORTING_DOCUMENT" File type. |
| file required | string <binary> |
{- "id": "string",
- "fileLink": "string",
- "resources": "PERSON",
- "type": "PHOTO",
- "file": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}