curl --request POST \
--url https://api2.rhombussystems.com/api/upload/guestManagement/document \
--header 'Content-Type: multipart/form-data' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--form 'bodyParts={
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"parent": {
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
},
"providers": {}
}' \
--form 'contentDisposition={
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
}' \
--form 'entity={}' \
--form 'fields={}' \
--form 'headers={
"empty": true
}' \
--form 'mediaType={
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
}' \
--form 'messageBodyWorkers={}' \
--form 'parameterizedHeaders={
"empty": true
}' \
--form 'parent={
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
}' \
--form 'providers={}'import requests
url = "https://api2.rhombussystems.com/api/upload/guestManagement/document"
payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"bodyParts\"\r\n\r\n{\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"parent\": {\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contentDisposition\"\r\n\r\n{\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"entity\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"fields\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"headers\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"mediaType\"\r\n\r\n{\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"messageBodyWorkers\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parameterizedHeaders\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parent\"\r\n\r\n{\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"providers\"\r\n\r\n{}\r\n-----011000010111000001101001--"
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "multipart/form-data"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const form = new FormData();
form.append('bodyParts', '{
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"parent": {
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
},
"providers": {}
}');
form.append('contentDisposition', '{
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
}');
form.append('entity', '{}');
form.append('fields', '{}');
form.append('headers', '{
"empty": true
}');
form.append('mediaType', '{
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
}');
form.append('messageBodyWorkers', '{}');
form.append('parameterizedHeaders', '{
"empty": true
}');
form.append('parent', '{
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
}');
form.append('providers', '{}');
const options = {
method: 'POST',
headers: {'x-auth-scheme': '<x-auth-scheme>', 'x-auth-apikey': '<api-key>'}
};
options.body = form;
fetch('https://api2.rhombussystems.com/api/upload/guestManagement/document', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/upload/guestManagement/document")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"bodyParts\"\r\n\r\n{\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"parent\": {\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contentDisposition\"\r\n\r\n{\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"entity\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"fields\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"headers\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"mediaType\"\r\n\r\n{\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"messageBodyWorkers\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parameterizedHeaders\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parent\"\r\n\r\n{\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"providers\"\r\n\r\n{}\r\n-----011000010111000001101001--")
.asString();{
"allowedMethods": [
"<string>"
],
"closed": true,
"cookies": {},
"date": "2023-11-07T05:31:56Z",
"entity": {},
"entityTag": {
"value": "<string>",
"weak": true
},
"headers": {
"empty": true
},
"language": {
"country": "<string>",
"displayCountry": "<string>",
"displayLanguage": "<string>",
"displayName": "<string>",
"displayScript": "<string>",
"displayVariant": "<string>",
"extensionKeys": [
"<string>"
],
"iso3Country": "<string>",
"iso3Language": "<string>",
"language": "<string>",
"script": "<string>",
"unicodeLocaleAttributes": [
"<string>"
],
"unicodeLocaleKeys": [
"<string>"
],
"variant": "<string>"
},
"lastModified": "2023-11-07T05:31:56Z",
"length": 123,
"links": [
{
"params": {},
"rel": "<string>",
"rels": [
"<string>"
],
"title": "<string>",
"type": "<string>",
"uri": "<string>",
"uriBuilder": {}
}
],
"location": "<string>",
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"metadata": {
"empty": true
},
"status": 123,
"statusInfo": {
"reasonPhrase": "<string>",
"statusCode": 123
},
"stringHeaders": {
"empty": true
}
}Upload guest management document
Uploads a PDF or DOCX document for guest management (e.g. for e-signature via SignatureAPI), storing it in S3 and recording it on the org’s guest management settings.
curl --request POST \
--url https://api2.rhombussystems.com/api/upload/guestManagement/document \
--header 'Content-Type: multipart/form-data' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--form 'bodyParts={
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"parent": {
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
},
"providers": {}
}' \
--form 'contentDisposition={
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
}' \
--form 'entity={}' \
--form 'fields={}' \
--form 'headers={
"empty": true
}' \
--form 'mediaType={
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
}' \
--form 'messageBodyWorkers={}' \
--form 'parameterizedHeaders={
"empty": true
}' \
--form 'parent={
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
}' \
--form 'providers={}'import requests
url = "https://api2.rhombussystems.com/api/upload/guestManagement/document"
payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"bodyParts\"\r\n\r\n{\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"parent\": {\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contentDisposition\"\r\n\r\n{\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"entity\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"fields\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"headers\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"mediaType\"\r\n\r\n{\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"messageBodyWorkers\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parameterizedHeaders\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parent\"\r\n\r\n{\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"providers\"\r\n\r\n{}\r\n-----011000010111000001101001--"
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "multipart/form-data"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const form = new FormData();
form.append('bodyParts', '{
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"parent": {
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
},
"providers": {}
}');
form.append('contentDisposition', '{
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
}');
form.append('entity', '{}');
form.append('fields', '{}');
form.append('headers', '{
"empty": true
}');
form.append('mediaType', '{
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
}');
form.append('messageBodyWorkers', '{}');
form.append('parameterizedHeaders', '{
"empty": true
}');
form.append('parent', '{
"bodyParts": "<array>",
"contentDisposition": {
"attachment": true,
"charset": {
"registered": true
},
"creationDate": "2023-11-07T05:31:56Z",
"filename": "<string>",
"formData": true,
"inline": true,
"modificationDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"readDate": "2023-11-07T05:31:56Z",
"size": 123,
"type": "<string>"
},
"entity": {},
"headers": {
"empty": true
},
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"messageBodyWorkers": {},
"parameterizedHeaders": {
"empty": true
},
"providers": {}
}');
form.append('providers', '{}');
const options = {
method: 'POST',
headers: {'x-auth-scheme': '<x-auth-scheme>', 'x-auth-apikey': '<api-key>'}
};
options.body = form;
fetch('https://api2.rhombussystems.com/api/upload/guestManagement/document', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/upload/guestManagement/document")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"bodyParts\"\r\n\r\n{\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"parent\": {\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"contentDisposition\"\r\n\r\n{\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"entity\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"fields\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"headers\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"mediaType\"\r\n\r\n{\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"messageBodyWorkers\"\r\n\r\n{}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parameterizedHeaders\"\r\n\r\n{\r\n \"empty\": true\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"parent\"\r\n\r\n{\r\n \"bodyParts\": \"<array>\",\r\n \"contentDisposition\": {\r\n \"attachment\": true,\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"creationDate\": \"2023-11-07T05:31:56Z\",\r\n \"filename\": \"<string>\",\r\n \"formData\": true,\r\n \"inline\": true,\r\n \"modificationDate\": \"2023-11-07T05:31:56Z\",\r\n \"name\": \"<string>\",\r\n \"readDate\": \"2023-11-07T05:31:56Z\",\r\n \"size\": 123,\r\n \"type\": \"<string>\"\r\n },\r\n \"entity\": {},\r\n \"headers\": {\r\n \"empty\": true\r\n },\r\n \"mediaType\": {\r\n \"charset\": {\r\n \"registered\": true\r\n },\r\n \"concrete\": true,\r\n \"parameters\": {},\r\n \"qualityValue\": 123,\r\n \"subtype\": \"<string>\",\r\n \"subtypeSuffix\": \"<string>\",\r\n \"type\": \"<string>\",\r\n \"wildcardSubtype\": true,\r\n \"wildcardType\": true\r\n },\r\n \"messageBodyWorkers\": {},\r\n \"parameterizedHeaders\": {\r\n \"empty\": true\r\n },\r\n \"providers\": {}\r\n}\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"providers\"\r\n\r\n{}\r\n-----011000010111000001101001--")
.asString();{
"allowedMethods": [
"<string>"
],
"closed": true,
"cookies": {},
"date": "2023-11-07T05:31:56Z",
"entity": {},
"entityTag": {
"value": "<string>",
"weak": true
},
"headers": {
"empty": true
},
"language": {
"country": "<string>",
"displayCountry": "<string>",
"displayLanguage": "<string>",
"displayName": "<string>",
"displayScript": "<string>",
"displayVariant": "<string>",
"extensionKeys": [
"<string>"
],
"iso3Country": "<string>",
"iso3Language": "<string>",
"language": "<string>",
"script": "<string>",
"unicodeLocaleAttributes": [
"<string>"
],
"unicodeLocaleKeys": [
"<string>"
],
"variant": "<string>"
},
"lastModified": "2023-11-07T05:31:56Z",
"length": 123,
"links": [
{
"params": {},
"rel": "<string>",
"rels": [
"<string>"
],
"title": "<string>",
"type": "<string>",
"uri": "<string>",
"uriBuilder": {}
}
],
"location": "<string>",
"mediaType": {
"charset": {
"registered": true
},
"concrete": true,
"parameters": {},
"qualityValue": 123,
"subtype": "<string>",
"subtypeSuffix": "<string>",
"type": "<string>",
"wildcardSubtype": true,
"wildcardType": true
},
"metadata": {
"empty": true
},
"status": 123,
"statusInfo": {
"reasonPhrase": "<string>",
"statusCode": 123
},
"stringHeaders": {
"empty": true
}
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes