POST api/upload/SaveAllPDF

Request Information

URI Parameters

None.

Body Parameters

Collection of SetupDocument
NameDescriptionTypeAdditional information
DocumentID

integer

None.

CompanyID

integer

None.

DocumentURL

string

None.

OriginalName

string

None.

EncryptedName

string

None.

EntityID

integer

None.

FileName1

string

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "DocumentID": 1,
    "CompanyID": 1,
    "DocumentURL": "sample string 1",
    "OriginalName": "sample string 2",
    "EncryptedName": "sample string 3",
    "EntityID": 1,
    "FileName1": "sample string 4",
    "IsDeleted": true,
    "CreatedBy": 1,
    "CreatedOn": "2024-11-21T13:14:19.8771213+03:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-11-21T13:14:19.8771213+03:00"
  },
  {
    "DocumentID": 1,
    "CompanyID": 1,
    "DocumentURL": "sample string 1",
    "OriginalName": "sample string 2",
    "EncryptedName": "sample string 3",
    "EntityID": 1,
    "FileName1": "sample string 4",
    "IsDeleted": true,
    "CreatedBy": 1,
    "CreatedOn": "2024-11-21T13:14:19.8771213+03:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-11-21T13:14:19.8771213+03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSetupDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <SetupDocument>
    <CompanyID>1</CompanyID>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-11-21T13:14:19.8771213+03:00</CreatedOn>
    <DocumentID>1</DocumentID>
    <DocumentURL>sample string 1</DocumentURL>
    <EncryptedName>sample string 3</EncryptedName>
    <EntityID>1</EntityID>
    <FileName1>sample string 4</FileName1>
    <IsDeleted>true</IsDeleted>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-11-21T13:14:19.8771213+03:00</ModifiedOn>
    <OriginalName>sample string 2</OriginalName>
  </SetupDocument>
  <SetupDocument>
    <CompanyID>1</CompanyID>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-11-21T13:14:19.8771213+03:00</CreatedOn>
    <DocumentID>1</DocumentID>
    <DocumentURL>sample string 1</DocumentURL>
    <EncryptedName>sample string 3</EncryptedName>
    <EntityID>1</EntityID>
    <FileName1>sample string 4</FileName1>
    <IsDeleted>true</IsDeleted>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-11-21T13:14:19.8771213+03:00</ModifiedOn>
    <OriginalName>sample string 2</OriginalName>
  </SetupDocument>
</ArrayOfSetupDocument>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.