ResponseAttachment

Create ResponseAttachment

Creates a new ResponseAttachment

SecurityapiKeyAuth
Request
path Parameters
Response_Key
required
integer <int32>

Response Key

header Parameters
vbagateway-client-id
required
string

Client ID

vbagateway-client-code
required
string

Client code

vbagateway-user-id
required
string

User ID

vbagateway-database
required
string

Target database

Request Body schema:
required
responseAttachment_Key
required
integer <int32>

Note: This field is marked as NOT NULL in the database and therefore required by the API.

file_Name
string or null <= 128 characters
file_Type
string or null <= 32 characters
response_Attachment
string or null <byte>
response_Key
required
integer <int32>

Note: This field is marked as NOT NULL in the database and therefore required by the API.

Responses
200

Success

401

Unauthorized

post/responses/{Response_Key}/attachments
Request samples
{
  • "responseAttachment_Key": 0,
  • "file_Name": "string",
  • "file_Type": "string",
  • "response_Attachment": "string",
  • "response_Key": 0
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

List ResponseAttachment

Lists all ResponseAttachment for the given Response_Key

SecurityapiKeyAuth
Request
path Parameters
Response_Key
required
integer <int32>

Response Key

query Parameters
sortBy
string

Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., 'Property1:desc,Property2:asc,Property3:asc' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.

page
integer <int32>
Default: 1

Page

pageSize
integer <int32>
Default: 100

Page Size

header Parameters
vbagateway-client-id
required
string

Client ID

vbagateway-client-code
required
string

Client code

vbagateway-user-id
required
string

User ID

vbagateway-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/responses/{Response_Key}/attachments
Request samples
Response samples
No sample

Get ResponseAttachment

Gets ResponseAttachment

SecurityapiKeyAuth
Request
path Parameters
Response_Key
required
integer <int32>

Response Key

ResponseAttachment_Key
required
integer <int32>

ResponseAttachment Key

header Parameters
vbagateway-client-id
required
string

Client ID

vbagateway-client-code
required
string

Client code

vbagateway-user-id
required
string

User ID

vbagateway-database
required
string

Target database

Responses
200

Success

401

Unauthorized

get/responses/{Response_Key}/attachments/{ResponseAttachment_Key}
Request samples
Response samples
No sample

Update ResponseAttachment

Updates a specific ResponseAttachment.

SecurityapiKeyAuth
Request
path Parameters
Response_Key
required
integer <int32>

Response Key

ResponseAttachment_Key
required
integer <int32>

ResponseAttachment Key

header Parameters
vbagateway-client-id
required
string

Client ID

vbagateway-client-code
required
string

Client code

vbagateway-user-id
required
string

User ID

vbagateway-database
required
string

Target database

Request Body schema:
required
responseAttachment_Key
required
integer <int32>

Note: This field is marked as NOT NULL in the database and therefore required by the API.

file_Name
string or null <= 128 characters
file_Type
string or null <= 32 characters
response_Attachment
string or null <byte>
response_Key
required
integer <int32>

Note: This field is marked as NOT NULL in the database and therefore required by the API.

Responses
200

Success

401

Unauthorized

put/responses/{Response_Key}/attachments/{ResponseAttachment_Key}
Request samples
{
  • "responseAttachment_Key": 0,
  • "file_Name": "string",
  • "file_Type": "string",
  • "response_Attachment": "string",
  • "response_Key": 0
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

Delete ResponseAttachment

Deletes an ResponseAttachment

SecurityapiKeyAuth
Request
path Parameters
Response_Key
required
integer <int32>

Response Key

ResponseAttachment_Key
required
integer <int32>

ResponseAttachment Key

header Parameters
vbagateway-client-id
required
string

Client ID

vbagateway-client-code
required
string

Client code

vbagateway-user-id
required
string

User ID

vbagateway-database
required
string

Target database

Responses
204

Success

401

Unauthorized

delete/responses/{Response_Key}/attachments/{ResponseAttachment_Key}
Request samples

Create or Update Batch ResponseAttachment

Create or Update multiple ResponseAttachment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.

SecurityapiKeyAuth
Request
path Parameters
Response_Key
required
integer <int32>

Response Key

header Parameters
vbagateway-client-id
required
string

Client ID

vbagateway-client-code
required
string

Client code

vbagateway-user-id
required
string

User ID

vbagateway-database
required
string

Target database

Request Body schema:
required
Array
responseAttachment_Key
required
integer <int32>

Note: This field is marked as NOT NULL in the database and therefore required by the API.

file_Name
string or null <= 128 characters
file_Type
string or null <= 32 characters
response_Attachment
string or null <byte>
response_Key
required
integer <int32>

Note: This field is marked as NOT NULL in the database and therefore required by the API.

Responses
207

Success

401

Unauthorized

put/responses/{Response_Key}/attachments-batch
Request samples
[
  • {
    }
]
Response samples
{
  • "data": [
    ],
  • "error": {
    },
  • "debug": {
    }
}