POST api/Card/ShareCard

Request Information

URI Parameters

None.

Body Parameters

BusinessCardShareModel
NameDescriptionTypeAdditional information
CardId

integer

None.

ToUserId

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

application/xml, text/xml

Sample:
<BusinessCardShareModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO">
  <Brand>sample string 9</Brand>
  <DeviceId>sample string 5</DeviceId>
  <DeviceOS>sample string 6</DeviceOS>
  <FCMToken>sample string 10</FCMToken>
  <Model>sample string 8</Model>
  <UserId>7</UserId>
  <LoggedInUserId>4</LoggedInUserId>
  <CardId>1</CardId>
  <Status>true</Status>
  <ToUserId>2</ToUserId>
</BusinessCardShareModel>

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.