Add Files

post

Add Files

Add a file to the document

Resource URL

https://test-apis.ap-southeast-1.libertymutual.com/api/th/claims /file

Header Parameters

Name Values Description
x-api-key
(required)

Api key to access the API

x-auth-token
(required)

Authentication token to access the API (Get from user service resource /auth/login)

Body Parameters

Name Values Description
documentId
(required)

Document id

fileType
(required)

File type

Attachments


Name Value Description
file
(required)

File

Request Body

Definitions


Name Type Description

documentId

(required)

string

Document id

fileType

(required)

string

File type

file

(required)

file

File

Responses

Code Examples

Try it out !!

Add a file to the document

HTTP Basic

OAuth 2.0

API Key

RESET

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Content Type

multipart/form-data

Category

Document

Schema:

HTTP Code Description

401

Unauthorized

403

Forbidden

404

Not Found

Working...