3. Upload Media Attachment
Op name:
scgrids.uploadMediaAttachment
This uploads media attachments for a given entity and of a given type
Endpoint:
Method: POST
Type: FORMDATA
URL: /v1/actions
Headers:
| Key | Value | Description |
|---|---|---|
| Authorization | (Required) The Acccess Token or HMAC Signature | |
| x-sc-identity | external | (Required) |
Query params:
| Key | Value | Description |
|---|---|---|
| op | scgrids.uploadMediaAttachment | (Required) Operation Name |
| org | scnoop | (Required) Organisation Name |
| pid | scnoop | (Required) Project ID |
Body:
| Key | Value | Description |
|---|---|---|
| Type | excel | (Required) Supports image/video |
| Entity | incident | (Required) Supports incident/audits |
| File | (Required) File to upload |
Error codes: