Upload document (Synchronous)

Uploads a document to the DMS for a specific policy. Supports file uploads to designated locations within the policy’s DMS folder structure.

Response timing

Expected API response time is two minutes or less, subject to XFI availability and performance.

put
https://apinonprod.mosaicinsurance.com/uploaddocument

Query Parameters

policyKeystringrequired

Unique identifier of the policy

Example:20740

locationstring

Folder location within the DMS structure where the document should be uploaded. Spaces and special characters (%20 for space, %26 for &) are URL-encoded and will be decoded.

Example:Supporting Documents

policyReferencestring

Reference identifier for the policy (e.g., quote reference)

Example:F0022390

Headers

X-Origination-Sourcestringrequired

Identifies the calling system or channel that originated this request. Used for traceability and auditing across the platform.

Example:S01x

X-Audit-UserIdstringrequired

Identifier of the end user on whose behalf this request is made, recorded for audit trail purposes.

Example:jsmith

Body

multipart/form-data

File to be uploaded to the DMS

filestringrequired

File to be uploaded

Response

text/plain

Document uploaded successfully

string
put/uploaddocument

Body

No file selected
 
Error initializing code snippet
text/plain

Agreement

object

Agreement information

agreementstringrequired

Agreement code e.g., ‘AGR0000159’

agreementActivitystringrequired

Agreement activity code e.g., ‘AGR0000159-22-01’

agreementSectionstringrequired

Agreement section code e.g., ‘1’

solvencyIIClassstringrequired

Solvency II class code e.g., ‘ZX’

aggregateLimitnumberrequired

Aggregate limit amount e.g., ‘1000’

gELRnumber(double)required

gELR amount at section level e.g., ‘50’

100%Limitnumberrequired

100% Limit amount e.g., ‘1000’

Example

CodeSplit

object

Code split information

percentagenumber

Percentage value

riskCodestring

Risk code

regulatoryCodestringrequired

regulatory Code

codeSplitPcnumber(double)required

codeSplitPc value

Example

Coverage

object

Coverage information

premiumnumberrequired

Premium amount e.g., ‘15000’

coveragestring

coverage description e.g., ‘50’

limitOccurrenceinteger(int32)required

limitOccurrence e.g., ‘100’

limitAggregateinteger(int32)required

limitAggregate e.g., ‘100’

deductibleinteger(int32)
100%Limitnumberrequired

100% Limit amount e.g., ‘500000’

ratedPremium(100%)integer(int32)required

ratedPremium100 e.g., ‘15000’

Example

Deduction

object

Deduction information

deductionTypestring

Deduction type code

deductionstringrequired

Deduction code e.g., ‘BK’

deductibleBasisstring

Deduction basis code

deductionRatenumber(double)required

Deduction Rate e.g., ‘20’

rate%number

Rate percentage

Example