Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

...

Status Code

Reason

Response Model

200

Linked attachments shown successfully

API for Attachment#ResponseEntityResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

...

Status Code

Reason

Response Model

200

Attachment added successfully

API for Attachment#ResponseEntityResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

...

Status Code

Reason

Response Model

200

Testlog upload successfull

API for Attachment#ResponseEntityResponseEntity

400

Invalid file type or file size exceeds the limit

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

Attach URL

POST /rest/attachments

Request

Content-Type: application/json

...

Status Code

Reason

Response Model

200

Attachment added successfully

API for Attachment#ResponseEntityResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

...

Name

Located in

Required

Description

Default

Schema

entityId

body

yes

Unique Identifier of Entity

-

integer

attachmentIds

body

yes

Id of attachments to upload. This is available by executing the API to API for Attachment#Upload Upload Attachment.

-

string

entityType

body

yes

Abbreviated EntityType

-

string

...

Status Code

Reason

Response Model

200

Attachment(s) linked successfully

API for Attachment#ResponseEntityResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

...

Status Code

Reason

Response Model

200

Attachment(s) unlinked successfully.

API for Attachment#ResponseEntityResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

...