Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
entityId | body | yes | entity ID | - | string |
entityType | body | yes | entityType | - | string |
start | body | yes | start index of records | - | integer |
limit | body | yes | number of records per page | - | integer |
page | body | yes | page number to be displayed | - | integer |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Linked attachments shown successfully | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
body | body | no | - | string |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Attachment downloaded successfully | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
file[] | formData | yes | file to upload | - | string |
entityType | body | yes | Entity type of the attachment. | - | string |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Attachment added successfully | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
Content-Type: multipart/form-data
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
entityId | formData | yes | entityId | - | integer |
type | formData | yes | type | - | string |
file[] | formData | yes | file to upload | - | string |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Testlog upload successfull | |
400 | Invalid file type or file size exceeds the limit | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
entityId | body | yes | Unique Identifier of Entity | - | integer |
attachmentIds | body | yes | Id of attachments to upload | - | string |
entityType | body | yes | Abbreviated EntityType | - | string |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Attachment(s) linked successfully | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
entityId | body | yes | Unique Identifier of Entity | - | integer |
attachmentIds | body | yes | Id of attachments to upload | - | string |
entityType | body | yes | Abbreviated EntityType | - | string |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Attachment(s) unlinked successfully. | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
API to list attachments linked with an entity.
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
entityId | body | Yes | Id of an entity to list the associated attachments | - | string |
entityType | body | Yes | entity type | - | string |
limit | body | No | Number of records per page | - | integer |
page | body | No | page number to be displayed | - | integer |
start | body | No | Start index of records | - | integer |
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Linked attachments shown successfully | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
name | type | required | description | example |
---|---|---|---|---|
headers | object | optional | - | |
body | object | optional | - | |
statusCode | string | optional | - |