POST api/Card/ShareCardToMultipleUsers

Request Information

URI Parameters

None.

Body Parameters

BusinessCardShareMultipleModel
NameDescriptionTypeAdditional information
CardId

integer

None.

ToUserIds

Collection of integer

None.

Status

boolean

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,
  "ToUserIds": [
    1,
    2
  ],
  "Status": true,
  "LoggedInUserId": 3,
  "DeviceId": "sample string 4",
  "DeviceOS": "sample string 5",
  "UserId": 6,
  "Model": "sample string 7",
  "Brand": "sample string 8",
  "FCMToken": "sample string 9"
}

application/xml, text/xml

Sample:
<BusinessCardShareMultipleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
  <Brand>sample string 8</Brand>
  <DeviceId>sample string 4</DeviceId>
  <DeviceOS>sample string 5</DeviceOS>
  <FCMToken>sample string 9</FCMToken>
  <Model>sample string 7</Model>
  <UserId>6</UserId>
  <LoggedInUserId>3</LoggedInUserId>
  <CardId>1</CardId>
  <Status>true</Status>
  <ToUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ToUserIds>
</BusinessCardShareMultipleModel>

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.