POST api/Card/UpdateCardImages

Request Information

URI Parameters

None.

Body Parameters

BusinessCardImageModel
NameDescriptionTypeAdditional information
CardId

integer

None.

Images

Collection of BusinessCardImagesInputList

None.

LoggedInUserId

integer

None.

DeviceId

string

None.

DeviceOS

string

None.

UserId

integer

None.

Model

string

None.

Brand

string

None.

FCMToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardId": 1,
  "Images": [
    {
      "ImageBase64": "sample string 1",
      "ImageIndex": 2,
      "ImageName": "sample string 3"
    },
    {
      "ImageBase64": "sample string 1",
      "ImageIndex": 2,
      "ImageName": "sample string 3"
    }
  ],
  "LoggedInUserId": 2,
  "DeviceId": "sample string 3",
  "DeviceOS": "sample string 4",
  "UserId": 5,
  "Model": "sample string 6",
  "Brand": "sample string 7",
  "FCMToken": "sample string 8"
}

application/xml, text/xml

Sample:
<BusinessCardImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
  <Brand>sample string 7</Brand>
  <DeviceId>sample string 3</DeviceId>
  <DeviceOS>sample string 4</DeviceOS>
  <FCMToken>sample string 8</FCMToken>
  <Model>sample string 6</Model>
  <UserId>5</UserId>
  <CardId>1</CardId>
  <Images>
    <BusinessCardImagesInputList>
      <ImageBase64>sample string 1</ImageBase64>
      <ImageIndex>2</ImageIndex>
      <ImageName>sample string 3</ImageName>
    </BusinessCardImagesInputList>
    <BusinessCardImagesInputList>
      <ImageBase64>sample string 1</ImageBase64>
      <ImageIndex>2</ImageIndex>
      <ImageName>sample string 3</ImageName>
    </BusinessCardImagesInputList>
  </Images>
  <LoggedInUserId>2</LoggedInUserId>
</BusinessCardImageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.