POST api/Common/SaveAllImage

Request Information

URI Parameters

None.

Body Parameters

Collection of Gallery
NameDescriptionTypeAdditional information
GalleryID

integer

None.

CompanyID

integer

None.

GalleryURL

string

None.

NewsID

integer

None.

TypeID

integer

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

OriginalName

string

None.

EncryptedName

string

None.

IsSelected

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "GalleryID": 1,
    "CompanyID": 1,
    "GalleryURL": "sample string 1",
    "NewsID": 1,
    "TypeID": 1,
    "IsDeleted": true,
    "CreatedBy": 1,
    "CreatedOn": "2024-11-21T12:37:33.3863999+03:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-11-21T12:37:33.3863999+03:00",
    "OriginalName": "sample string 2",
    "EncryptedName": "sample string 3",
    "IsSelected": true
  },
  {
    "GalleryID": 1,
    "CompanyID": 1,
    "GalleryURL": "sample string 1",
    "NewsID": 1,
    "TypeID": 1,
    "IsDeleted": true,
    "CreatedBy": 1,
    "CreatedOn": "2024-11-21T12:37:33.3863999+03:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-11-21T12:37:33.3863999+03:00",
    "OriginalName": "sample string 2",
    "EncryptedName": "sample string 3",
    "IsSelected": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfGallery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <Gallery>
    <CompanyID>1</CompanyID>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-11-21T12:37:33.3863999+03:00</CreatedOn>
    <EncryptedName>sample string 3</EncryptedName>
    <GalleryID>1</GalleryID>
    <GalleryURL>sample string 1</GalleryURL>
    <IsDeleted>true</IsDeleted>
    <IsSelected>true</IsSelected>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-11-21T12:37:33.3863999+03:00</ModifiedOn>
    <NewsID>1</NewsID>
    <OriginalName>sample string 2</OriginalName>
    <TypeID>1</TypeID>
  </Gallery>
  <Gallery>
    <CompanyID>1</CompanyID>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-11-21T12:37:33.3863999+03:00</CreatedOn>
    <EncryptedName>sample string 3</EncryptedName>
    <GalleryID>1</GalleryID>
    <GalleryURL>sample string 1</GalleryURL>
    <IsDeleted>true</IsDeleted>
    <IsSelected>true</IsSelected>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-11-21T12:37:33.3863999+03:00</ModifiedOn>
    <NewsID>1</NewsID>
    <OriginalName>sample string 2</OriginalName>
    <TypeID>1</TypeID>
  </Gallery>
</ArrayOfGallery>

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.