RequestAttachment

Create RequestAttachment

Creates a new RequestAttachment

SecurityapiKeyAuth
Request
path Parameters
Request_Key
required
integer <int32>

Request 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
requestAttachment_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
request_Attachment
string or null <byte>
request_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/requests/{Request_Key}/attachments
Request samples
{
  • "requestAttachment_Key": 0,
  • "file_Name": "string",
  • "file_Type": "string",
  • "request_Attachment": "string",
  • "request_Key": 0
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

List RequestAttachment

Lists all RequestAttachment for the given Request_Key

SecurityapiKeyAuth
Request
path Parameters
Request_Key
required
integer <int32>

Request 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/requests/{Request_Key}/attachments
Request samples
Response samples
No sample

Get RequestAttachment

Gets RequestAttachment

SecurityapiKeyAuth
Request
path Parameters
Request_Key
required
integer <int32>

Request Key

RequestAttachment_Key
required
integer <int32>

RequestAttachment 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/requests/{Request_Key}/attachments/{RequestAttachment_Key}
Request samples
Response samples
No sample

Update RequestAttachment

Updates a specific RequestAttachment.

SecurityapiKeyAuth
Request
path Parameters
Request_Key
required
integer <int32>

Request Key

RequestAttachment_Key
required
integer <int32>

RequestAttachment 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
requestAttachment_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
request_Attachment
string or null <byte>
request_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/requests/{Request_Key}/attachments/{RequestAttachment_Key}
Request samples
{
  • "requestAttachment_Key": 0,
  • "file_Name": "string",
  • "file_Type": "string",
  • "request_Attachment": "string",
  • "request_Key": 0
}
Response samples
{
  • "data": {
    },
  • "error": {
    },
  • "debug": {
    }
}

Delete RequestAttachment

Deletes an RequestAttachment

SecurityapiKeyAuth
Request
path Parameters
Request_Key
required
integer <int32>

Request Key

RequestAttachment_Key
required
integer <int32>

RequestAttachment 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/requests/{Request_Key}/attachments/{RequestAttachment_Key}
Request samples

Create or Update Batch RequestAttachment

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

SecurityapiKeyAuth
Request
path Parameters
Request_Key
required
integer <int32>

Request 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
requestAttachment_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
request_Attachment
string or null <byte>
request_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/requests/{Request_Key}/attachments-batch
Request samples
[
  • {
    }
]
Response samples
{
  • "data": [
    ],
  • "error": {
    },
  • "debug": {
    }
}