POST api/AddToCartDetails

Request Information

URI Parameters

None.

Body Parameters

AddToCartDetail
NameDescriptionTypeAdditional information
CardId

integer

None.

BookId

integer

None.

UserId

integer

None.

Date

date

None.

Status

integer

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardId": 1,
  "BookId": 2,
  "UserId": 3,
  "Date": "2018-09-24T17:06:21.2544633-04:00",
  "Status": 4,
  "Type": "sample string 5"
}

application/xml, text/xml

Sample:
<AddToCartDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <BookId>2</BookId>
  <CardId>1</CardId>
  <Date>2018-09-24T17:06:21.2544633-04:00</Date>
  <Status>4</Status>
  <Type>sample string 5</Type>
  <UserId>3</UserId>
</AddToCartDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddToCartDetail
NameDescriptionTypeAdditional information
CardId

integer

None.

BookId

integer

None.

UserId

integer

None.

Date

date

None.

Status

integer

None.

Type

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardId": 1,
  "BookId": 2,
  "UserId": 3,
  "Date": "2018-09-24T17:06:21.2544633-04:00",
  "Status": 4,
  "Type": "sample string 5"
}

application/xml, text/xml

Sample:
<AddToCartDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <BookId>2</BookId>
  <CardId>1</CardId>
  <Date>2018-09-24T17:06:21.2544633-04:00</Date>
  <Status>4</Status>
  <Type>sample string 5</Type>
  <UserId>3</UserId>
</AddToCartDetail>