POST api/Bajaj/UploadDocument

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
mediaUploads
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "intimationNumber": "sample string 1",
    "documentClass": "sample string 2",
    "documentType": "sample string 3",
    "fileFormat": "sample string 4",
    "bytes": "QEBA"
  },
  {
    "intimationNumber": "sample string 1",
    "documentClass": "sample string 2",
    "documentType": "sample string 3",
    "fileFormat": "sample string 4",
    "bytes": "QEBA"
  },
  {
    "intimationNumber": "sample string 1",
    "documentClass": "sample string 2",
    "documentType": "sample string 3",
    "fileFormat": "sample string 4",
    "bytes": "QEBA"
  }
]

text/html

Sample:
[{"intimationNumber":"sample string 1","documentClass":"sample string 2","documentType":"sample string 3","fileFormat":"sample string 4","bytes":"QEBA"},{"intimationNumber":"sample string 1","documentClass":"sample string 2","documentType":"sample string 3","fileFormat":"sample string 4","bytes":"QEBA"},{"intimationNumber":"sample string 1","documentClass":"sample string 2","documentType":"sample string 3","fileFormat":"sample string 4","bytes":"QEBA"}]

application/xml, text/xml

Sample:
<ArrayOfMediaUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <MediaUpload>
    <bytes>QEBA</bytes>
    <documentClass>sample string 2</documentClass>
    <documentType>sample string 3</documentType>
    <fileFormat>sample string 4</fileFormat>
    <intimationNumber>sample string 1</intimationNumber>
  </MediaUpload>
  <MediaUpload>
    <bytes>QEBA</bytes>
    <documentClass>sample string 2</documentClass>
    <documentType>sample string 3</documentType>
    <fileFormat>sample string 4</fileFormat>
    <intimationNumber>sample string 1</intimationNumber>
  </MediaUpload>
  <MediaUpload>
    <bytes>QEBA</bytes>
    <documentClass>sample string 2</documentClass>
    <documentType>sample string 3</documentType>
    <fileFormat>sample string 4</fileFormat>
    <intimationNumber>sample string 1</intimationNumber>
  </MediaUpload>
</ArrayOfMediaUpload>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MediaUpload[]'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Error_Code": 1,
  "Error_Message": "sample string 2",
  "intimateStatus": "sample string 3"
}

text/html

Sample:
{"Error_Code":1,"Error_Message":"sample string 2","intimateStatus":"sample string 3"}

application/xml, text/xml

Sample:
<IntimationStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <Error_Code>1</Error_Code>
  <Error_Message>sample string 2</Error_Message>
  <intimateStatus>sample string 3</intimateStatus>
</IntimationStatusResponse>