POST api/MembershipDetails

Request Information

URI Parameters

None.

Body Parameters

MembershipDetail
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

Amount

decimal number

None.

Date

date

None.

Month

string

None.

TransactionId

string

None.

UserType

string

None.

Status

string

None.

Days

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "Amount": 1.1,
  "Date": "2018-09-25T18:27:27.7835319-04:00",
  "Month": "sample string 3",
  "TransactionId": "sample string 4",
  "UserType": "sample string 5",
  "Status": "sample string 6",
  "Days": 7
}

application/xml, text/xml

Sample:
<MembershipDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <Amount>1.1</Amount>
  <Date>2018-09-25T18:27:27.7835319-04:00</Date>
  <Days>7</Days>
  <Id>1</Id>
  <Month>sample string 3</Month>
  <Status>sample string 6</Status>
  <TransactionId>sample string 4</TransactionId>
  <UserId>2</UserId>
  <UserType>sample string 5</UserType>
</MembershipDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MembershipDetail
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

Amount

decimal number

None.

Date

date

None.

Month

string

None.

TransactionId

string

None.

UserType

string

None.

Status

string

None.

Days

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "Amount": 1.1,
  "Date": "2018-09-25T18:27:27.7991823-04:00",
  "Month": "sample string 3",
  "TransactionId": "sample string 4",
  "UserType": "sample string 5",
  "Status": "sample string 6",
  "Days": 7
}

application/xml, text/xml

Sample:
<MembershipDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <Amount>1.1</Amount>
  <Date>2018-09-25T18:27:27.7991823-04:00</Date>
  <Days>7</Days>
  <Id>1</Id>
  <Month>sample string 3</Month>
  <Status>sample string 6</Status>
  <TransactionId>sample string 4</TransactionId>
  <UserId>2</UserId>
  <UserType>sample string 5</UserType>
</MembershipDetail>