POST api/Affiliate/SaveUpdateAdjustment

Request Information

URI Parameters

None.

Body Parameters

SaveUpdateAffiliateAdjustmentRequestVM
NameDescriptionTypeAdditional information
Id

string

None.

AffiliateId

string

Required

AdminUserId

string

Required

Type

AdjustmentType

Required

Amount

decimal number

Required

EnteredBy

string

Required

Description

string

None.

AdjustmentMonth

integer

None.

AdjustmentYear

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "AffiliateId": "sample string 2",
  "AdminUserId": "sample string 3",
  "Type": "Credit",
  "Amount": 4.0,
  "EnteredBy": "sample string 5",
  "Description": "sample string 6",
  "AdjustmentMonth": 7,
  "AdjustmentYear": 8
}

application/xml, text/xml

Sample:
<SaveUpdateAffiliateAdjustmentRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AffiliateAndCommissions">
  <AdjustmentMonth>7</AdjustmentMonth>
  <AdjustmentYear>8</AdjustmentYear>
  <AdminUserId>sample string 3</AdminUserId>
  <AffiliateId>sample string 2</AffiliateId>
  <Amount>4</Amount>
  <Description>sample string 6</Description>
  <EnteredBy>sample string 5</EnteredBy>
  <Id>sample string 1</Id>
  <Type>Credit</Type>
</SaveUpdateAffiliateAdjustmentRequestVM>

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.