POST api/Common/SaveBranchImages

Request Information

URI Parameters

None.

Body Parameters

Collection of BranchImage
NameDescriptionTypeAdditional information
BranchImageID

integer

None.

BranchID

integer

None.

ImageURL

string

None.

ImageDescription

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

ModifiedOn

date

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

IsNewInsert

boolean

None.

OriginalName

string

None.

IsSelected

boolean

None.

IsHeadOffice

boolean

None.

Description

string

None.

BranchDescriptionID

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BranchImageID": 1,
    "BranchID": 1,
    "ImageURL": "sample string 1",
    "ImageDescription": "sample string 2",
    "CreatedOn": "2024-11-21T12:54:46.0944653+03:00",
    "CreatedBy": 1,
    "ModifiedOn": "2024-11-21T12:54:46.0944653+03:00",
    "ModifiedBy": 1,
    "IsDeleted": true,
    "IsNewInsert": true,
    "OriginalName": "sample string 3",
    "IsSelected": true,
    "IsHeadOffice": true,
    "Description": "sample string 4",
    "BranchDescriptionID": 1
  },
  {
    "BranchImageID": 1,
    "BranchID": 1,
    "ImageURL": "sample string 1",
    "ImageDescription": "sample string 2",
    "CreatedOn": "2024-11-21T12:54:46.0944653+03:00",
    "CreatedBy": 1,
    "ModifiedOn": "2024-11-21T12:54:46.0944653+03:00",
    "ModifiedBy": 1,
    "IsDeleted": true,
    "IsNewInsert": true,
    "OriginalName": "sample string 3",
    "IsSelected": true,
    "IsHeadOffice": true,
    "Description": "sample string 4",
    "BranchDescriptionID": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfBranchImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <BranchImage>
    <BranchDescriptionID>1</BranchDescriptionID>
    <BranchID>1</BranchID>
    <BranchImageID>1</BranchImageID>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-11-21T12:54:46.0944653+03:00</CreatedOn>
    <Description>sample string 4</Description>
    <ImageDescription>sample string 2</ImageDescription>
    <ImageURL>sample string 1</ImageURL>
    <IsDeleted>true</IsDeleted>
    <IsHeadOffice>true</IsHeadOffice>
    <IsNewInsert>true</IsNewInsert>
    <IsSelected>true</IsSelected>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-11-21T12:54:46.0944653+03:00</ModifiedOn>
    <OriginalName>sample string 3</OriginalName>
  </BranchImage>
  <BranchImage>
    <BranchDescriptionID>1</BranchDescriptionID>
    <BranchID>1</BranchID>
    <BranchImageID>1</BranchImageID>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-11-21T12:54:46.0944653+03:00</CreatedOn>
    <Description>sample string 4</Description>
    <ImageDescription>sample string 2</ImageDescription>
    <ImageURL>sample string 1</ImageURL>
    <IsDeleted>true</IsDeleted>
    <IsHeadOffice>true</IsHeadOffice>
    <IsNewInsert>true</IsNewInsert>
    <IsSelected>true</IsSelected>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-11-21T12:54:46.0944653+03:00</ModifiedOn>
    <OriginalName>sample string 3</OriginalName>
  </BranchImage>
</ArrayOfBranchImage>

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.