POST api/member/PurchaseGifts

Request Information

URI Parameters

None.

Body Parameters

Collection of MlGiftPurchase
NamedescriptionTypeAdditional information
GiftBoardSyID

integer

None.

TotalSlots

integer

None.

SlotValue

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "GiftBoardSyID": 1,
    "SlotValue": 3,
    "TotalSlots": 2
  },
  {
    "GiftBoardSyID": 1,
    "SlotValue": 3,
    "TotalSlots": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfMlGiftPurchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Member">
  <MlGiftPurchase>
    <GiftBoardSyID>1</GiftBoardSyID>
    <SlotValue>3</SlotValue>
    <TotalSlots>2</TotalSlots>
  </MlGiftPurchase>
  <MlGiftPurchase>
    <GiftBoardSyID>1</GiftBoardSyID>
    <SlotValue>3</SlotValue>
    <TotalSlots>2</TotalSlots>
  </MlGiftPurchase>
</ArrayOfMlGiftPurchase>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.